Re: Search performance question

2007-09-06 Thread Mike Klaas
On 6-Sep-07, at 4:41 AM, 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

Re: Search performance question

2007-09-06 Thread Grant Ingersoll
Have a look at http://wiki.apache.org/lucene-java/BasicsOfPerformance Are you opening the IndexSearcher every time you search, even when no documents have changed? -Grant On Sep 6, 2007, at 7:41 AM, makkhar wrote: Hi, I have an index which contains more than 20K documents. Each docu

Re: Search performance question

2007-09-06 Thread Mark Miller
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 : fiel