Asking for significant terms but returns nothing Asking for significant terms but returns nothing elasticsearch elasticsearch

Asking for significant terms but returns nothing


Not sure if it will help. Try to specify

"min_doc_count" : 1


the significant terms aggregation need a certain amount of data to become effective, and I just have 163 documents in my index. Could it be that ?

Using 1 shard not 5 will help if you have a small number of docs.