It would be a good feature in Lucene to be able to sort, or perhaps
store the postings in term frequency sorted order.  Thoughts?

On Wed, Sep 17, 2008 at 9:33 AM, Andrzej Bialecki <[EMAIL PROTECTED]> wrote:
> Renaud Delbru wrote:
>>
>> Hi all,
>>
>> I am wondering if Lucene implements the query optimisation that consists
>> of ordering the posting lists based on the term frequency before
>> intersection ?
>> If yes, could somebody point me to the java class / method that implements
>> such strategy ?
>
> Lucene trunk: ConjunctionScorer, lines 85-103 - pay attention to the
> comments there, it's not strictly a sort by frequency, rather by the sampled
> "sparseness".
>
> --
> Best regards,
> Andrzej Bialecki     <><
>  ___. ___ ___ ___ _ _   __________________________________
> [__ || __|__/|__||\/|  Information Retrieval, Semantic Web
> ___|||__||  \|  ||  |  Embedded Unix, System Integration
> http://www.sigram.com  Contact: info at sigram dot com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to