lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <>
Subject Re: unexpected behavior with reader.terms(term) not folowing contract
Date Tue, 09 Sep 2003 23:30:16 GMT
Bruce Ritchie wrote:
>  From the above debug logging you can see that has returned 
> a TermEnum with a text of '10'. While this is logically greater than or 
> equal to the preceeding text according to String.compareTo(), I'm 
> uncertain as to where the '10' text is coming from. As an example, 
> document #86 returns in another search the following:

Could this be the text from a term in a different field?  From a quick 
glance, it doesn't look like you're checking that your enumeration stays 
within the field.


View raw message