Going through
https://www.elastic.co/guide/en/elasticsearch/guide/current/_deep_dive_on_doc_values.html
,
is it possible to enable only docValues and disable stored/indexed
attributes for a field?

In that case, the field will become only sortable/facetable/pivotable but
it cannot be searched nor can it be retrieved?
I am guessing that stored comes naturally when a field has docValues
enabled.
Is that a correct understanding?

Thanks
SG



On Thu, Nov 16, 2017 at 11:48 PM, S G <sg.online.em...@gmail.com> wrote:

> Hi,
>
> I am trying to understand docValues.
>
> Almost every link I have gone through says that enable docValues if you
> want to sort/facet/pivot.
> Does that mean I should enable docValues even if I just want to index and
> store simple integer-type fields?
> If that is true, then the default numeric fields will not work for me as
> they have docValues=true.
>
> Is it recommended to create my own fields when I do not want to
> sort/facet/pivot but only want to index and store?
>
> Thanks
> SG
>

Reply via email to