I have a situation where a field is only used for aggregation , its never
used for searching.
In such cases , it doesn't make sense for this field to go to lucene
reverse index.
Rather if it can be only maintained in fieldData or docValues alone . that
would save me some good amount of space and might optimize performance.
Yes, you can have a field that is not indexed but has doc values. In that
case, elasticsearch will build columnar storage for that field, but no
inverted index.
I have a situation where a field is only used for aggregation , its never
used for searching.
In such cases , it doesn't make sense for this field to go to lucene
reverse index.
Rather if it can be only maintained in fieldData or docValues alone . that
would save me some good amount of space and might optimize performance.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.