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

2014-05-20 Thread Michael McCandless (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-5691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14003836#comment-14003836
 ] 

Michael McCandless commented on LUCENE-5691:


+1, nice catch!

 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



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

2014-05-20 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-5691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14003851#comment-14003851
 ] 

ASF subversion and git services commented on LUCENE-5691:
-

Commit 1596370 from [~rcmuir] in branch 'dev/trunk'
[ https://svn.apache.org/r1596370 ]

LUCENE-5691: DocTermOrds lookupTerm is wrong in some cases

 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



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

2014-05-20 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-5691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14003855#comment-14003855
 ] 

ASF subversion and git services commented on LUCENE-5691:
-

Commit 1596371 from [~rcmuir] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1596371 ]

LUCENE-5691: DocTermOrds lookupTerm is wrong in some cases

 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
 Fix For: 4.9, 5.0

 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org