Hi David,

Doc values are a way to compute field data at indexing time, and to store
it on disk. It can do everything that "uninverted" field data can do:
aggregations, sorting, etc. However, it never kicks in automatically: it
needs to be configured explicitely, and can only be set at index creation
time, you cannot enable it afterwards.

Regarding fielddata filtering, it is a way to trade accuracy for memory by
only loading "important" terms into memory and doesn't work with doc values
since it's not useful given that they are stored on disk anyway (and thus
don't require much memory).

Does it clarify?





On Mon, Jul 14, 2014 at 7:26 PM, David K Smith <[email protected]>
wrote:

> When you map fields to use doc values for field data, does that limit the
> functionality afforded to those fields to merely sorting and
> aggregations/faceting?
>
> The documentation mentions that filtering is not supported by numeric or
> string types when stored as doc values. Yikes, I thought that doc values is
> intended for working with field data when it's too large to load into
> memory. Is that not the case?
>
> I read both of the following pages but I'm not sure I quite understand
> where the usefulness of field data fields kick in.
>
> http://www.elasticsearch.org/blog/disk-based-field-data-a-k-a-doc-values/
>
> http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-core-types.html
>
> Can someone please clarify?
>
> --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/FC9E6ECA-B869-4B40-B2C8-F55CE6AB6790%40gmail.com
> <https://groups.google.com/d/msgid/elasticsearch/FC9E6ECA-B869-4B40-B2C8-F55CE6AB6790%40gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Adrien Grand

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j7a68-vDManD3C_TUXhB6jQxePhNcYx5VeFfku5AxuO2A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to