Hey,

you may have used an analyzer which removed stopwords? Try with another one
and see if that works... side note: The default analyzer of elasticsearch
0.90 removes stopwords, the default one of 1.x does not, so take care of
the version you are trying this iwth.


--Alex


On Tue, Feb 11, 2014 at 11:28 PM, vinamar <[email protected]> wrote:

> Hi Alex,
>
>   I used the multi_match query to query with stop words but the returned
> results doesn't contain the stop words. I used exact match with double
> quotes on the query string. Also the highlighted results - doesn't contain
> the stop words in the results.
>
>   "query": {
>         "multi_match": {
>           "query": "\"not%20received\"",
>           "operator": "AND",
>           "zero_terms_query": "all",
>           "fields": [
>             [
>               "emails.emailBody",
>               "srId",
>               "chatTextArray.text"
>             ]
>           ]
>         }
>       }
>
>
>
> --
> View this message in context:
> http://elasticsearch-users.115913.n3.nabble.com/common-terms-query-with-cutoff-frequency-tp4049060p4049410.html
> Sent from the ElasticSearch Users mailing list archive at Nabble.com.
>
> --
> 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/1392157721335-4049410.post%40n3.nabble.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/CAGCwEM8aomx_f_CkS%2BTK1W52wU%2BXPCHtPdWuzsHqKm5jNTtn4w%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to