Add score to the fl parameter.
fl=*,score
On 7/4/11 11:09 PM, Romi romijain3...@gmail.com wrote:
I am not returning score for the queries. as i suppose it should be
reflected
in search results. means doc having query string in description field come
higher than the doc having query string in
will merely adding fl=score make difference in search results, i mean will i
get desired results now???
-
Thanks Regards
Romi
--
View this message in context:
http://lucene.472066.n3.nabble.com/configure-dismax-requesthandlar-for-boost-a-field-tp3137239p3139814.html
Sent from the Solr -
On Tue, Jul 5, 2011 at 08:46, Romi romijain3...@gmail.com wrote:
will merely adding fl=score make difference in search results, i mean will i
get desired results now???
The fl parameter stands for field list and allows you to configure
in a request which result fields should be returned.
If
I got the point that to boost search result i have to sort by score.
But as in solrconfig for dismax request handler i use
*str name=qf
text^0.5 name^1.0 description^1.5
/str*
because i want docs having querystring in description field come upper in
search results.
but what i am
I got the point that to boost search
result i have to sort by score.
But as in solrconfig for dismax request handler i use
*str name=qf
text^0.5 name^1.0
description^1.5
/str*
because i want docs having querystring in description field
come upper in
search results.
but
: But i am not finding any effect in my search results. do i need to do some
: more configuration to see the effect.
posting the solrcofing.xml section for your dismax handler is helpful,
start, but to provide any meaninful assistance to you we need a lot more
info then just that...
* an
On Mon, Jul 4, 2011 at 13:11, Romi romijain3...@gmail.com wrote:
I want to apply boost for searching. i want that if a query term occur both
in description,name than docs having query term in description field come
high in search results. for this i configure dismax request handler as:
I am not returning score for the queries. as i suppose it should be reflected
in search results. means doc having query string in description field come
higher than the doc having query string in name field.
And yes i restarted solr after making changes in configuration.
-
Thanks Regards