lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom <solr-l...@zvents.com>
Subject Re: boosts?
Date Sun, 31 Dec 2006 05:17:50 GMT
At 06:03 PM 12/28/2006, you wrote:
>maybe i'm missing something, but it sounds like what you want is a simple
>sort on a numeric field -- whatever value you are tyring to use as the
>index time boost, you can just set as a field value instead and then sort
>on it right?

Yes.

I had been just been thinking about it in terms of how to use the 
info I already had in the index. But making another field works, too, 
and is probably simpler.


>: I was looking at how I would write a modified version of
>: MatchAllDocsQuery that would simply return the documents boost as the
>: score. But I haven't really figured out Lucene scoring.
>
>document boosts aren't maintained in the index ... they are multiplied by
>the various field boosts and lengthNorms and stored on a per field basis.

Thanks! I had seen comments that the doc boost wasn't stored, but 
didn't know how it worked.

Tom


Mime
View raw message