Remove TODO around aggregating on _index.

The _index field can in fact be used in aggregations.
This commit is contained in:
Julie Tibshirani 2020-04-24 17:03:45 -07:00
parent 70b499b7aa
commit 4bfd65a375
1 changed files with 0 additions and 1 deletions

View File

@ -115,7 +115,6 @@ public class IndexFieldMapper extends MetadataFieldMapper {
@Override
public ValuesSourceType getValuesSourceType() {
// TODO: Should Index fields be aggregatable? What even is an IndexField?
return CoreValuesSourceType.BYTES;
}
}