[ 
https://issues.apache.org/jira/browse/LUCENE-4230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael McCandless updated LUCENE-4230:
---------------------------------------

    Attachment: LUCENE-4230.patch

Initial patch, just with a rote cutover of the current boolean
needsOffsets to bit wise flags instead; next I'll at a flag for
payloads and (carefully) fix all places that pull D&PEnum to state
whether they need payloads...

                
> When pulling DocsAndPositionsEnum you should state whether you need payloads
> ----------------------------------------------------------------------------
>
>                 Key: LUCENE-4230
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4230
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 5.0
>
>         Attachments: LUCENE-4230.patch
>
>
> Payloads are extra-costly today because when pulling a
> DocsAndPositionsEnum, the codec has no way to know if you need access
> to the payloads.  Tracking the payloads, even if the app never
> retrieves them, is often costly...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to