[
https://issues.apache.org/jira/browse/LUCENE-3315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13065473#comment-13065473
]
Michael McCandless commented on LUCENE-3315:
--------------------------------------------
I don't think this is realistically possible: in order to record the positions
we need to know the tf for that term/doc because that tells us how many
positions there are.
> Omit termFreq but keep Positions
> --------------------------------
>
> Key: LUCENE-3315
> URL: https://issues.apache.org/jira/browse/LUCENE-3315
> Project: Lucene - Java
> Issue Type: Improvement
> Components: core/index
> Affects Versions: 3.1
> Reporter: Jibo John
>
> It would be useful to have an option to discard term frequency information
> but still keep the positions. Currently, setOmitTermFreqAndPositions discards
> both. The recent commit LUCENE-2048 adds the flexibility to discard only the
> positions. With the new option to discard frequency, position-dependent
> queries can continue to work, and whoever can afford to ignore the scoring
> based on tf can save a lot on the index size.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]