lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Teruhiko Kurosaka <K...@basistech.com>
Subject RE: Lucene performance: is search time linear to the index size?
Date Wed, 17 Jun 2009 17:18:18 GMT
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
View raw message