How can I do multi queries using SearchDriver?
Hi Rustin,
Could you expand your question a bit? What setup do you have and what are you trying to achieve?
Maybe this is something what you need? Meta Engines Guide | Elastic App Search Documentation [8.2] | Elastic
Also, take a look at Multi search API | Elastic App Search Documentation [8.2] | Elastic
It's not possible to use Multi Search with out-of-the-box Search UI currently, unless you fork a library and implement it yourself. But maybe that's not needed — let me know what use case you have.
Multi Search is what I'm looking for. One of the use cases is trying to search multiple queries by separating each searchterm with whitespace (Documents are in Thai).
e.g.
Searching with "Engineer Computer" through documents with these 2 terms separately and combining the query results.
About implementing this myself, I might need some help, too
One of the use cases is trying to search multiple queries by separating each searchterm with whitespace (Documents are in Thai).
What are you trying to accomplish with that? I'm worried you're going down a bad path here.
You'd need a connector that can query the multi search API endpoint and merges the result. You'd need to create a custom connector (or more simply, implement the onSearch
hook on the Driver): Building a custom connector | Documentation
It's like when you do a google search, you type in 2-3 different words together e.g, "engineer science computer" then multiple results relate to the term showed up. I was thinking that maybe lower the relevance tuning should work, but I'm worried about match qualities. (Haven't test it, yet)
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.