lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] [Updated] (LUCENE-2048) Omit positions but keep termFreq
Date Sun, 10 Jul 2011 07:23:00 GMT


Robert Muir updated LUCENE-2048:

    Attachment: LUCENE-2048.patch

This is pretty close i think, but needs some rounding out: e.g. improve checkIndex to check
freqs/stats when positions are omitted, beast the tests / search the code to see if there
is any more "hasProx abuse" where code assumes hasProx means no freqs, etc.

> Omit positions but keep termFreq
> --------------------------------
>                 Key: LUCENE-2048
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/index
>    Affects Versions: 3.1
>            Reporter: Andrzej Bialecki 
>             Fix For: 4.0
>         Attachments: LUCENE-2048.patch
> it would be useful to have an option to discard positional information but still keep
the term frequency - currently setOmitTermFreqAndPositions discards both. Even though position-dependent
queries wouldn't work in such case, still any other queries would work fine and we would get
the right scoring.

This message is automatically generated by JIRA.
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message