lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Kennedy <jk-pub...@troove.net>
Subject Re: [jira] Field constructor, avoiding String.intern()
Date Fri, 23 Feb 2007 23:00:15 GMT

Roughly search time of 10,000,000 documents (3 fields each) was cut in half.
However, keep in mind that we're using slightly modified lucene document
retrieval code. Using a HitCollector to aggregate search results. 



Mike Klaas wrote:
> 
> On 2/23/07, James Kennedy <jk-public@troove.net> wrote:
>>
>> In our case, we're trying to optimize document() retrieval and we found
>> that
>> disabling the String interning in the Field constructor improved
>> performance
>> dramatically. I agree that interning should be an option on the
>> constructor.
> 
> Out of curiosity, how much is "dramatically"?
> 
> -Mike
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Field-constructor%2C-avoiding-String.intern%28%29-tf1123597.html#a9128529
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.


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


Mime
View raw message