lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Veentjer - Anchor Men" <p.veent...@anchormen.nl>
Subject RE: FW: CVS Lucene 2.0
Date Tue, 26 Apr 2005 14:10:30 GMT
I have checked the documentation if interned.. I didn`t knew it existed
:)  

So my previous post has no value anymore..

-----Oorspronkelijk bericht-----
Van: Yonik Seeley [mailto:yseeley@gmail.com] 
Verzonden: dinsdag 26 april 2005 16:04
Aan: java-user@lucene.apache.org
CC: Lucene Users List
Onderwerp: Re: FW: CVS Lucene 2.0

Term.field is interned, so equals() isn't needed.
-Yonik

On 4/26/05, Peter Veentjer - Anchor Men <p.veentjer@anchormen.nl> wrote:
[...]
>                 Term other = (Term) o;
>                 return field.equals(other.field) && 
> text.equals(other.text);
>         }
> Third: if the field values of refer to the same text but to different 
> object, the result should be the same.

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





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


Mime
View raw message