You could use a edge n gram "analyzer" for this field.

HTH

--
David ;-)
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

> Le 9 mars 2015 à 02:49, Vijayakumari B N <[email protected]> a écrit :
> 
> Hi,
> 
> I am trying to search an text using elastic search server. I am able to get 
> the results only if my input text matches one complete word, not the full 
> text search. Ex : I have 2 matching text "Colors" and "Colorfull" in elastic 
> search server, If i search for "Color", it will not pick any results. Can 
> some one please help me to resolve the issue.
> 
> Here is my query
> {
>   "multi_match" : {
>     "query" : "color",
>     "fields" : [ "keywords", "symptom" ]
>   }
> }
> 
> Thanks,
> Vijaya
> -- 
> 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 [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/elasticsearch/41de2412-cff5-4276-ad9c-a61dc463f67d%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CBF392FF-86DF-49AD-9513-D052812D4A67%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

Reply via email to