Remove TODO around aggregating on _index.
The _index field can in fact be used in aggregations.
This commit is contained in:
parent
70b499b7aa
commit
4bfd65a375
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue