lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Keegan <peterlkee...@gmail.com>
Subject Re: Lucene performance: is search time linear to the index size?
Date Wed, 17 Jun 2009 20:01:57 GMT
There is a similar discussion on this topic here:

http://www.gossamer-threads.com/lists/lucene/java-user/42824?search_string=Lucene%20search%20performance%3A%20linear%3F;#42824

or: *http://tinyurl.com/lpp3hf*

On Wed, Jun 17, 2009 at 1:18 PM, Teruhiko Kurosaka <Kuro@basistech.com>wrote:

> Thank you, Ian and Erick,
>
> This is a stand-alone search application that runs a query
> and exits, as opposed to the typical web-based search program.
>
>
> The query is consists of combination of SpanQuery, TermQuery,
> BooleanClause, SpanNearQuery, and SpanTermQuery.
> I get the top 50 hits at most and no fancy assembly of output is done.
> I'm measuring the time from the start to finish of this application,
> and the profile result shows the most time is spent inside Lucene.
>
>
> -kuro
>
> > -----Original Message-----
> > From: Erick Erickson [mailto:erickerickson@gmail.com]
> > Sent: Wednesday, June 17, 2009 9:09 AM
> > To: java-user@lucene.apache.org
> > Subject: Re: Lucene performance: is search time linear to the
> > index size?
> >
> > Are you measuring search time *only* or are you measuring
> > total response time including assembling whatever you
> > assemble? If you're measuring total response time, everything
> > from network latency to what you're doing with each hit may
> > affect response time.
> >
> > This is especially true if you're iterating over a Hits object.
> >
> > It would be helpful if you showed us the snippet that you use
> > to measure.
> >
> > Best
> > Erick
> >
> > On Wed, Jun 17, 2009 at 4:47 PM, Teruhiko Kurosaka
> > <Kuro@basistech.com>wrote:
> >
> > > I am seeing my Lucene application's search time grows pretty much
> > > linearly to the number of Documents.
> > > Is this how Lucene is supposed to work, or does it depend on the
> > > nature of query?
> > >
> > > I am not using FuzzyQuery that was the subject of the recent
> > > discussion by the way.
> > >
> > > -Kuro
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> > > For additional commands, e-mail: java-user-help@lucene.apache.org
> > >
> > >
> >
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message