Handle doc_values field attribute for Elasticsearch backend

Description

Now the default for the property is true.

We could let the user to set it to false if no projection nor sort is needed.
To save some index space.

Contrarily, my idea would be the one to set it to false whenever a field is not marked projectable or sortable.
It seems that if aggregations or sorts are required we can rely on the inverted index data structure.

Environment

None

Status

Assignee

Fabio Massimo Ercoli

Reporter

Fabio Massimo Ercoli

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Fix versions

Affects versions

Priority

Minor
Configure