Hello,
I am looking for autocomplete functionality for the hierarchical data and was wondering if it's possible to achieve this functionality with elasticsearch. As an example, consider the below data.
"phrase1" / "word1" / "phrase2"
"phrase1" / "word2"
"word2" / "phrase3" / "word3"
.....
where phrasex and wordx are any english words/phrases.
The suggestions should only be from the immediate children of root node until there is a match on the input and one of the top level nodes. The subsequent suggestions should be from the child of the node that had a match.
Is this possible?
Thanks much.
_
mithra