i want to enable boosting for query and search results. My dismax
queryHandlerConfiguration is as:
*requestHandler name=dismax class=solr.DisMaxRequestHandler
lst name=defaults
str name=echoParamsexplicit/str
str name=defTypedismax/str
float name=tie0.01/float
str
When querystring is q=gold^2.0 ring(boost gold) and
qt=standard i got the
results for gold ring and when qt=dismax i got no result
why so please
explain
q=gold^2.0 ring(boost gold)defType=dismax would return a document that
contains exactly gold^2.0 ring(boost gold) in it.
dismax is
than what should i do to get the required result. ie. if i want to boost gold
than which querytype i should use.
-
Thanks Regards
Romi
--
View this message in context:
http://lucene.472066.n3.nabble.com/How-to-boost-a-querystring-at-query-time-tp3139800p3140703.html
Sent from the Solr -
than what should i do to get the
required result. ie. if i want to boost gold
than which querytype i should use.
If you want to boost the keyword 'gold', you can use bq parameter.
defType=dismaxbq=someField:gold^100
See the other parameters :