You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2014/05/20 21:06:38 UTC

[jira] [Updated] (LUCENE-5691) DocTermsOrds lookupTerm is wrong in some cases

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

Robert Muir updated LUCENE-5691:
--------------------------------

    Attachment: LUCENE-5691.patch

patch with a test. We should backport to 4.x too

> DocTermsOrds lookupTerm is wrong in some cases
> ----------------------------------------------
>
>                 Key: LUCENE-5691
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5691
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-5691.patch
>
>
> needs the following two conditions:
> * underlying termsenum supports ord()
> * the term you lookup would be inserted at the end (e.g. seek returns END)
> the fix is simple, it just needs to handle SeekStatus.END properly.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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