for any damage caused
by any virus transmitted by this email. Main Sequence Technologies, Inc. 4420
Sherwin Rd. Willoughby OH 44094 www.pcrecruiter.net
- Original Message -
To: java-user@lucene.apache.org
From: Michael McCandless
Sent: 12/17/2008 4:46:18 PM
Subject: Re: lucene 2.4 sort
Are you measuring only the time to execute the searcher.search line or
are you measuring the time it takes to iterate the Hits object? The reason
I ask is that something like
for (int idx = 0; idx < hits.length(); ++idx) {
}
will re-execute the query every 100 documents examined or so. For
ex
Are you warming the searcher first, and then testing the sort
performance? (The first query is slow because it populates the
FieldCache, internally, which is then reused for subsequent queries as
long as you don't close that reader/searcher).
Mike
Chris Salem wrote:
Hello,
I have an i