On Mon, Mar 2, 2015 at 9:13 AM, Shalin Shekhar Mangar <
[email protected]> wrote:

> The problem with fetching from DocValue automatically is that it may cause
> as many number of disk seeks as the number of doc value fields being
> retrieved.


True in the worst-case (cold disk cache).  If you have warm-up and only use
this technique judiciously (on a few docvalues fields), then one can assume
the data is cached.  And you can explicitly use a memory based DV format
too, which puts all the values in a memory-efficient FST assuming
string/text data.

~ David Smiley
Freelance Apache Lucene/Solr Search Consultant/Developer
http://www.linkedin.com/in/davidwsmiley

Reply via email to