Another approach is to change the document length normalization formula.
See Similarity.lengthNorm() in Lucene.
wunder
On Oct 15, 2009, at 12:45 AM, Andrea D'Ippolito wrote:
I've read (correct me if I'm wrong)
that a solution to achieve that is overboost all the other fields.
but I guess this
I've read (correct me if I'm wrong)
that a solution to achieve that is overboost all the other fields.
but I guess this works easily only if u have few fields indexed ;)
bye
2009/10/15 Simon Wistow
> Our index has some items in it which basically contain a title and a
> single word body.
>
> If
A multiplicative boost may work better than one added in:
http://lucene.apache.org/solr/api/org/apache/solr/search/BoostQParserPlugin.html
-Yonik
http://www.lucidimagination.com
On Wed, Oct 14, 2009 at 7:21 PM, Simon Wistow wrote:
> Our index has some items in it which basically contain a titl
Our index has some items in it which basically contain a title and a
single word body.
If the user searches for a word in the title (especially if title is of
itself only oen word) then that doc will get scored quite highly,
despite the fact that, in this case, it's not really relevant.
I've t