Creating custom search result by mapping query to a specific doc

So I see that you can get a JSON document based on it's id. However is it possible to also map certain queries to specific documents.

Or even search a different index based on the query. I know that it could be setup in the code that can then access the API but I am wondering if it is possible to setup some rules that would automatically trigger that in elasticsearch or if there is a plugin available to do so.

This happens to be critical for certain queries that may potentially require a workflow even though other documents happen to be a good match.


1 Like

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