Excluding Terms Using a Minus Sign

2015-01-15 Thread Cindy Conway
Is there a way to exclude a term if the user precedes it with a minus sign; the way google does. For example, if I want to search for the word lovre, but I don't want the museum in France, I can search for: *louve -museum* as my search terms. Does ES support this? I am not finding anything

Re: Excluding Terms Using a Minus Sign

2015-01-15 Thread David Pilato
Yes simple query string query supports this. See http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-simple-query-string-query.html#query-dsl-simple-query-string-query David Le 15 janv. 2015 à 20:37, Cindy Conway cindyanncon...@gmail.com a écrit : Is there a way