You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Angela Fabregues (Jira)" <ji...@apache.org> on 2022/06/16 14:04:00 UTC

[jira] [Created] (OAK-9806) oak-search-elastic: optimising index use

Angela Fabregues created OAK-9806:
-------------------------------------

             Summary: oak-search-elastic: optimising index use
                 Key: OAK-9806
                 URL: https://issues.apache.org/jira/browse/OAK-9806
             Project: Jackrabbit Oak
          Issue Type: Improvement
            Reporter: Angela Fabregues


The oak index properties that are meant to only be used in excerpts shouldn't be indexed into Elasticsearch but only stored. Similarly happens with properties that are meant to only be used for sorting or term aggregating (facets). They should be added to doc-values (defined in the mapping properties) but not indexed (inverted index).

This task consists on reviewing the ElasticIndexHelper.mapIndexRules() and creating the Elasticsearch fields trying to generate the minimal impact on the index size.

AllProps are out of the scope of this task. They are related to [https://jira.corp.adobe.com/browse/GRANITE-35968] and require customised dynamic mappings.

*Acceptance Criteria*

All tests are passed and the resulting index sizes are reduced when there are fields with only excerpts or ordered.
h4.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)