Re: How can Docvalues so efficient

2016-05-31 Thread Ting Yao
ing one, but > those queries that match few documents should be very fast anyway. > > Le lun. 30 mai 2016 à 12:52, Ting Yao a écrit : > > > Thank you very much for answering me. > > But could you explain how Lucene reads the doc values files > sequentially? > > > &

Re: How can Docvalues so efficient

2016-05-30 Thread Ting Yao
ter at sequential > access than random access) and that the filesystem cache helps keep hot > regions of the doc values files in memory usually helps keep perfermance > close to what we would get if the data was stored in memory. > > Le lun. 30 mai 2016 à 12:01, Ting Yao a

How can Docvalues so efficient

2016-05-30 Thread Ting Yao
Hi all, I am reading Lucene source code recently and we also use the Elastic Search as our search engine. As far as I know, the elastic search performance is pretty good. The elastic search is based on Lucene. So I am wondering that how it can search words so fast when the field data (uninve