'Prefix query with multiple terms in sequence
I'm looking for a way to make a query with multiple terms with prefix that preserve the order they're showed.
Using match_phrase_prefix only the last term is the prefix.
I can combine prefix with multiple match_phrase but then the order is not guarantee.
What i'm looking for is like, searching for "f bar baz" the first term is the prefix and the others must be in order, so the result would be "fo bar baz" and "foo bar baz"
I don't know if Completion Suggester would fit this behaviour well.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
