[
https://issues.apache.org/jira/browse/LUCENE-1465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12657662#action_12657662
]
Mark Miller commented on LUCENE-1465:
-------------------------------------
This is an odd one Jonathan. Its actually for the unordered case (the others
were for the ordered). I am not exactly clear on whats going on yet.
When I look at the payloads coming back, it would seem we are get 0,7,7 when we
should get 6,7,7. When I look at the offsets for the spans that I get the
payloads from though - they appear correct. Its returning the payloads from the
right offsets it seems, but somehow one of those payloads is from the term at
position 0? Very odd. So when I debug in, it does indeed look like the first
match happens at index 6...but the term offsets are start: 2147483647,
end:-2147483648. What the heck? This is going to take some more time...
> 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: [email protected]
For additional commands, e-mail: [email protected]