Hits.total in Elasticsearch filter plugin

Hi everyone,

I'm trying to enrich an index adding some geodata information, counting the neighbours according to a query.

I'm using the elasticsearch filter to add this query, but I can't find a way to use either the _count query or the hits.total of standard query to store it in a new field.

Any ideas?

Thank you.

Apparently it's not developed this option.

What's the behaviour when the elasticsearch filter finds more than 1 ocurrence, it duplicates the entry?

Just in case someone gets here. There is a last commit in elasticsearch-filter-plugin adding this total.hits to metadata.

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