lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Venkat Kranthi Chalasani <kranthi.chalas...@icloud.com.INVALID>
Subject Fetching 1000 documents taking around 30ms
Date Sat, 02 Mar 2019 09:12:16 GMT
Hi,

I have an index of ~4M documents. My queries are running in 1-2ms but fetching the top hits
(~1000 documents) takes around 30ms. Is this expected? 

If it is, I was wondering if maintaining an application cache with docId as a key is ok. I
understand docIds are ephemeral as documents are added/deleted but in our usage of lucene,
we don’t add/delete documents. 

thanks


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