[
https://issues.apache.org/jira/browse/OAK-11712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fabrizio Fortino resolved OAK-11712.
------------------------------------
Fix Version/s: 1.82.0
Resolution: Fixed
> oak-search-elastic: :path does not need to be stored with index=true
> --------------------------------------------------------------------
>
> Key: OAK-11712
> URL: https://issues.apache.org/jira/browse/OAK-11712
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: elastic-search, indexing
> Reporter: Fabrizio Fortino
> Assignee: Fabrizio Fortino
> Priority: Major
> Fix For: 1.82.0
>
>
> :path cannot be used for searches, just for sorting: docValues is more than
> enough. In some cases, this could decrease the space taken for this specific
> field up to 50%.
> From the docs:
> https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/doc-values
> "Doc-value-only fields: Numeric types, date types, the boolean type,... and
> the keyword type can also be queried when they are not indexed but only have
> doc values enabled. Query performance on doc values is much slower than on
> index structures, but offers an interesting tradeoff between disk usage and
> query performance for fields that are only rarely queried..."
--
This message was sent by Atlassian Jira
(v8.20.10#820010)