Aggregation on fields


(venkata nagaraju buddarapu) #1

Hi ,

Is it required to have field stored too run the aggregation/facets ?

Regards,
Nagaraju


(Ivan Brusic) #2

The field needs to be indexed. Does not need to be stored.

Cheers,

Ivan


(venkata nagaraju buddarapu) #3

hi ,

am aggregating on field called "FileName" but am getting the aggregated buckets form the field values from other fields .
Not sure what am doing

Regards,
Nagaraju


(Dan Tuffery) #4

Is it possible to show your mapping and query?


(venkata nagaraju buddarapu) #5

Thanks Dan , I figured it out and was giving the same index_name for all the fields


(system) #6