lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Keegan" <peterlkee...@gmail.com>
Subject Re: Sorting by Score
Date Wed, 28 Feb 2007 13:02:04 GMT
>can't you pick any arbitrary "marker" field name (that's not a real field
>name) and use that?

Yes, I could. I guess you're saying that the field name doesn't matter,
except that it's used for caching the comparator, right?

>... he wants the "bucketing" to happen as part of hte scoring so that the
> secondary sort will determine the ordering within the bucket.

Yes, exactly. Couldn't I just do this rounding in the HitCollector, before
inserting it into the FieldSortedHitQueue?



On 2/28/07, Chris Hostetter <hossman_lucene@fucit.org> wrote:
>
>
> : The first part was just to iterate through the TopDocs that's available
> to
> : my and normalize the scores right in the ScoreDocs. Like this...
>
> Won't that be done after the Lucene does the hitcollecting/sorting? ... he
> wants the "bucketing" to happen as part of hte scoring so that the
> secondary sort will determine the ordering within the bucket.
>
> (or am i missing something about your description?)
>
>
>
>
> -Hoss
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message