lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <>
Subject Re: who clears attributes?
Date Tue, 11 Aug 2009 10:50:22 GMT
On Tue, Aug 11, 2009 at 4:28 AM, Michael Busch<> wrote:
> There was a performance test in Solr that apparently ran much slower
> after upgrading to the new Lucene jar. This test is testing a rather
> uncommon scenario: very very short documents.

Actually, its more uncommon than that: its very very short documents,
without implementing reusableTokenStream()
this makes it basically a benchmark of ctor cost... doesn't really
benchmark the token api in my opinion.

we should do some better benchmarks, but in most cases things appear
to be the same to me.
it is only this case where you have very very short documents but
don't implement reuse things,
that there is any difference, and now it is minor.

Robert Muir

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

View raw message