How does Solr process the query string when using edismax qf parameter and specify field in query -


all:

[update]

after reading debug explain, seems qf expand keywords without specifying field.

===================================================================

when learn use edismax query parser, said qf paramter is:

query fields: specifies fields in index on perform query. if absent, defaults df.

and purpose generate fields' combination query terms.

however, if specify field in query( q prameter), wonder happen when specify different fields in qf?

for example:

q=title:epic deftype=edismax qf=content 

could give explanation how solr interpret query?

thanks

when specify qf means want solr search whatever in "q" field in these "qf" fields. so, first , third line contradict each other:

q=title:epic deftype=edismax qf=content 

if want search document content field contains matching search terms, these search terms tokens in "q" separated +or+.

like this...

q=i+or+like+or+books+orand+or+games deftype=edismax qf=content