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 -
"/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 ?
20K docs is not very many. I would expect a simply TermQuery to be
on the order of milliseconds, _after_ the OS has cached the index in
memory. Does the time improve after some warmup?
-MIke
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]