Hits.total in Elasticsearch filter plugin


(Javier) #1

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.


(Javier) #2

Apparently it's not developed this option.

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


(Javier) #3

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


(system) #4

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