Hi,
I'm working on a plugin called Index-Selechttps://github.com/bergetp/elasticsearch-index-select-plugint.
The plugin estimates which indices are most likely to contain relevant
documents to a query-string.
The idea is that when the relevance of the indices has been estimated a
search-query should be performed on the most relevant indices. The
search-query
should be included in the request-body of the index-select request.
The problem I'm having is parsing the search-query. Unfortunately the
methods used to parse a search-query are hidden in the search rest-handler.
A
very bad solution would be to copy this code to my own rest-handler, and
update it for every new version of ElasticSearch.
Is there perhaps a way to forward a request to another rest-handler inside
of ElasticSearch? I should mention that the index-selection operation is
handled on the transport-level.
Thanks!
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.