Do not index quotation marks, do not use query_string, do not use regexes. Just use match_phrase to search phrases.
Jörg On Thu, Mar 6, 2014 at 6:25 PM, Hector Sanchez-Pajares < [email protected]> wrote: > > Right now I'm trying to use this query > > POST /posts/_search > { > "query": { > "query_string": { > "query": "text:/(?:.*(\"[^\"]+\")).+/" > } > } > } > -- 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/CAKdsXoEFjDgCL857TLkKV7hxoUpeZagbJw385ZhDS_LAwRDS0A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
