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 <[EMAIL PRO
nothing in Java to enforce it (thus
> the use of intern()).
>
>
> On Feb 23, 2007, at 12:02 PM, James Kennedy wrote:
>
>>
>> In our case, we're trying to optimize document() retrieval and we
>> found that
>> disabling the String interning in the Fie
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.
For document retrieval, at least for a small of amount of fields, t