To perhaps answer my own question, I think I understand the difference.

details:"foo bar"

Would search for the tokens in the same order (implied  by the docs I 
referenced). But 

details:foo-bar

Would not honor the order. The quotes have more meaning than to enclose the 
phrase... if that is true then these two queries are not the same, which is 
different than I thought:

details:foo\ bar
!=
details:"foo bar"

Or am I barking up the wrong tree...

On Tuesday, April 14, 2015 at 1:34:28 PM UTC-7, Dave Reed wrote:
>
> Thanks, though unless I am misunderstanding it, the docs imply otherwise:
>
> For example, from:
>
> http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html
>
> The query string is parsed into a series of *terms* and *operators*. A 
>> term can be a single word — quick or brown — or a phrase, surrounded by 
>> double quotes — "quick brown" — which searches for all the words in the 
>> phrase, in the same order.
>
>
> So what gives? :)
>
>
>>

-- 
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/b28591e3-3818-4b12-8a22-cac466c9ec7c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to