lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: Indexing document instances and retrieving instance attributes
Date Thu, 18 Aug 2005 18:13:17 GMT
Chris D wrote:
> Well in my case field order is important, but the order of the
> individual fields isn't. So I can speed up getFields to roughly O(1)
> by implementing Document as follows.

Have you actually found getFields to be a performance bottleneck in your 
application?  I'd be surprised if it was.  If it isn't, then this looks 
like a premature optimization.

Doug



---------------------------------------------------------------------
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