Adding _id to doc_values to help w/ sorting performance

End goal is to have the value set in _id saved w/ doc_values enabled. I'm looking to do this in order to increase sorting performance - where id is used.

Regardless of if the _id values is provided or generated, is there a way to set doc_values on this field?

If not, is it possible to copy the value of _id into another field that does have doc_values enabled?

Other thoughts ?

Running ES version 1.7.5

I was able to do this w/ a transform, setting a newly defined field to the values of _id on insert.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.