[ https://issues.apache.org/jira/browse/LUCENE-6308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14375566#comment-14375566 ]
Alan Woodward commented on LUCENE-6308: --------------------------------------- Should NO_MORE_POSITIONS be something other than MAX_INTEGER here? On LUCENE-2878 we tried using -1 instead because of possible clashes with documents that genuinely have a position of that value, but that's being used for 'unpositioned' in this patch. > SpansEnum, deprecate Spans > -------------------------- > > Key: LUCENE-6308 > URL: https://issues.apache.org/jira/browse/LUCENE-6308 > Project: Lucene - Core > Issue Type: Bug > Components: core/search > Affects Versions: Trunk > Reporter: Paul Elschot > Priority: Minor > Attachments: LUCENE-6308-changeapi.patch, LUCENE-6308.patch, > LUCENE-6308.patch, LUCENE-6308.patch, LUCENE-6308.patch, LUCENE-6308.patch, > LUCENE-6308.patch > > > An alternative for Spans that looks more like PositionsEnum and adds two > phase doc id iteration -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org