ElasticSearch - only returns the matched token not of the entire string when requested
How can I get a list of matching tokens and not a whole string when querying the index. Let's say we have to request a field that contains a list of values of type -
'Sunsilk shampoo conditioner'
'Dove Soap'
'Bread Bun Biscuit'
'Sunscreen cream'
When I request s
it should only return -
'Sunsilk'
'shampoo'
'Soap'
'Sunscreen'
+3
source to share
No one has answered this question yet
Check out similar questions: