I am using a multi word search query used for to find a match for text that 
user is typing. (Im not using Suggesters)

eg. If a doc has a field with the text "... ... ... .. The Moon is a 
part... ..  ....moon is abc ... .. universe is xyz... ...... ..... galaxy 
in the universe ....."
 The user types "*moo* *univers*", the response I need to send in 
suggestions should be *"moon universe" and not -"moon", " universe" which 
is what happens right now coz I am creating map of tokens.*

Currently I am using Highlighting and it returns me the below the matching 
snippet :

1. The <em>*Moon*</em> is a part
2. <em>*moon*</em> is abc
3. <em>*universe*</em> is xyz
4. galaxy in the <em>*universe*</em>


Thanks
 

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/ffc2f74c-e1d2-457f-a530-5886c27e5abc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to