[ https://issues.apache.org/jira/browse/LUCENE-1465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658531#action_12658531 ]
Mark Miller commented on LUCENE-1465: ------------------------------------- Hmmm...I think thats true, but thats for finding 'a hit' on a document, not for finding every possible sequence of spans that could cause hit. Spans work by finding a minimum match, not greedily finding every match (which is a different algorithm). > NearSpansOrdered.getPayload does not return the payload from the minimum > match span > ----------------------------------------------------------------------------------- > > Key: LUCENE-1465 > URL: https://issues.apache.org/jira/browse/LUCENE-1465 > Project: Lucene - Java > Issue Type: Bug > Components: Search > Affects Versions: 2.4 > Reporter: Mark Miller > Assignee: Mark Miller > Priority: Minor > Fix For: 2.4.1, 2.9 > > Attachments: LUCENE-1465.patch, LUCENE-1465.patch, LUCENE-1465.patch, > LUCENE-1465.patch, Test.java > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org