In 0.90, we use english stopwords by default.

"A" is a stopword.

I guess it´s your issue.

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

Le 17 janv. 2014 à 03:44, Karan Verma <[email protected]> a écrit :

> Hi 
> 
> My field relevancy_tags is index as an array of strings. A document is 
> indexed with relevancy_tags = ["a", "b","c","d"]. I want to return the 
> document if the query is "a". I've tried using the term and terms filter but 
> they don't return any results. 
> 
> Help :( ?
> 
> Mapping: 
> 
>  "relevancy_tags" : {
> 
>           "type" : "string"
> 
>         },
> 
> 
> 
> -- 
> 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/fbb77163-246d-46b4-ba4d-25e98acdd308%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
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/0A41FF2C-E8D6-4893-B7C0-C40B55528978%40pilato.fr.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to