For the solr example(exampleDIH),  how do i achieve the following with
standard queryparser?

search all docs which name field contains "memory" (primary query logic), 
Within that resultset, boost the doc matches features:battery  (boosting
logic).    


Note that I have to use standard queryparser in my project (for the sake of
fuzzy prefix query and etc).  


I tried using the following query, but it returns result that does not match
name:memory:

query:
<str name="rawquerystring">name:memory features:battery^100 </str>
<str name="querystring">name:memory features:battery^100 </str>
<str name="parsedquery">name:memori features:batteri^100.0</str>
<str name="parsedquery_toString">name:memori features:batteri^100.0</str>

genreate result:
<result name="response" numFound="4" start="0" maxScore="0.23815624">
The top result only contains "features:battery", but does not have "memory"
in name field  <--  "unexpected result.  I don't want such doc as part of
the result."



-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Help-on-query-time-boosting-effect-using-standardQueryParser-tp2579763p2579763.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to