API get all values of a field, without score

Hi, Im trying to get all the values of hostgroup field, but without score, the following query, returns only the best matches, I have tried using bool, but still the best matches

GET myindex/_search
    "_source": ["hostgroup"],
    "size": 10000

Have a look at the terms aggregation.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.