: I am trying to test relevancy of results with the q.alt field on a Dismax
: Request Handler. Term level boosting based on bq information in
: solrconfig.xml works fine. However field level boosting based on the qf
: information in solrconfig.xml doesn't seem to work.
: 
: Query
: q=&q.alt=for&rows=1000&qt=dismaxrequest
        ...
: The same thing works as expected when "for" is used in the q field - 
: 
: Query
: q=for&rows=1000&qt=dismaxrequest&


q.alt uses the standard query parser to generate an "alternative' query 
when q is missing ... so qf, pf, tie, etc... aren't used at all.  you're 
just querying tthe word "for" in whatever your defaultSearchField is.

i believe (but i'm not certain) that using the qparsr syntax to override 
the QParser shoudl work for q.alt, so tried soemthing like this...

q=&q.alt={!dismax}for&rows=1000&qt=dismaxrequest



-Hoss

Reply via email to