lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Miller <markrmil...@gmail.com>
Subject Re: Search performance question
Date Thu, 06 Sep 2007 12:05:20 GMT
Your not expecting too much. On cheap hardware I watch searches on over 
5 mil + docs that match every doc come back in under a second. Able to 
post your search code?

makkhar wrote:
> Hi,
>
>    I have an index which contains more than 20K documents. Each document has
> the following structure :
>
> field : ID (Index and store)                          typical value - "1000"
> field : parameterName(index and store)          typical value -
> "/mcp/data/parent1/parent2/child1/child2/status"
> field : parameterValue(index and not store)    typical value - "draft"
>
> When I search for a term which results in "all" the documents getting
> returned, the search time is more than 1 sec. I have still not done
> hits.doc(), which I understand, would be even worse.
>
> My problem is, I am expecting the search itself to happen in the order of a
> few milliseconds irrespective of the number of documents it matched. Am I
> expecting too much ?
>   

---------------------------------------------------------------------
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