You understanding is correct. The former will be translated into a Lucene
phrase query, which uses the term doc positions to find matches.
Both query terms are analyzed, but the latter will simply be a bag-of-words
query, which ignores positions.
Cheers,
Ivan
On Apr 14, 2015 10:38 PM, Dave Reed
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
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