lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markharw00d <>
Subject Term.compareTerm and MemoryIndex
Date Wed, 29 Jun 2005 20:26:55 GMT
Anyone have any objections to committing this addition to


It's a simple addition to avoid fieldName.intern() overheads by safely 
constructing new Term objects from existing Term objects and re-using 
it's pre-interned field name. The alternative solution would be to make 
the existing Term(field, value, isInterned) constructor public with a 
suitable javadoc warning about the caller ensuring use pre-interned 

The latest version of MemoryIndex is lingering in BugZilla waiting for 
the above change. I'd like to update the contrib area with this too if 
everyone is OK with this.
The MemoryIndex's justification for the Term change is here  


Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message