[ 
https://issues.apache.org/jira/browse/LUCENE-2048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13062806#comment-13062806
 ] 

Michael McCandless commented on LUCENE-2048:
--------------------------------------------

Awesome to finally have progress here!

I agree we should cutover to an enum instead of 2 coupled booleans... I think 
IndexOptions is a good name.

> Omit positions but keep termFreq
> --------------------------------
>
>                 Key: LUCENE-2048
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2048
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/index
>    Affects Versions: 3.1
>            Reporter: Andrzej Bialecki 
>            Assignee: Robert Muir
>             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: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to