[
https://issues.apache.org/jira/browse/LUCENE-3684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13186310#comment-13186310
]
Robert Muir commented on LUCENE-3684:
-------------------------------------
Actually: just looking at FieldInfos i think i found another annoyance, we have
this assertion everywhere (not just that class either):
{noformat}
assert this.indexOptions == IndexOptions.DOCS_AND_FREQS_AND_POSITIONS ||
!this.storePayloads;
{noformat}
But i think this is wrong, we must use compareTo >= 0?
> Add offsets to postings (D&PEnum)
> ---------------------------------
>
> Key: LUCENE-3684
> URL: https://issues.apache.org/jira/browse/LUCENE-3684
> Project: Lucene - Java
> Issue Type: Improvement
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Fix For: 4.0
>
> Attachments: LUCENE-3684.patch, LUCENE-3684.patch
>
>
> I think should explore making start/end offsets a first-class attr in the
> postings APIs, and fixing the indexer to index them into postings.
> This will make term vector access cleaner (we now have to jump through
> hoops w/ non-first-class offset attr). It can also enable efficient
> highlighting without term vectors / reanalyzing, if the app indexes
> offsets into the postings.
--
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: [email protected]
For additional commands, e-mail: [email protected]