David Smiley <david.w.smi...@gmail.com> wrote:
> I don't think it makes a difference if some people think docValues should
> never be used for value-retrieval.  When that performance drop occurred
> due to those changes, I'm sure it would have affected sorting & faceting
> as well as value-retrieval. Some more than others perhaps.

Yes. The iterative API is fine for relatively small jumps, so it works 
perfectly for sorting on medium- to large result sets. Depending on the type of 
faceting it's the same. Grouping and faceting on small result sets is 
(probably) relatively affected, but as the amount of needed data is small in 
those cases, the (assumed) impact is not that high.

Retrieving documents is different as there are typically more fields involved 
and the amount of documents itself is nearly always small, which means large 
jumps repeated for all the fields.

> I don't see any disagreement about improving docValues in the ways
> you suggest.

You are right about that. I apologize if I was being unclear: It is not the 
concrete patch I am asking about, that's just how this started. I am asking for 
background on why it is considered misuse to use Doc Values for document 
retrieval.

- Toke Eskildsen

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to