On Fri, 2012-09-21 at 19:52 +0200, Robin Verlangen wrote:
Hmm, my page just hangs. But I understand the problem with the colons
now. Thank you for pointing that out I'll just have to quote them.
Or use the query DSL instead
It's a lot easier to have malformed query-string queries than with the
Disclaimer: The information contained in this message and attachments
is intended solely for the attention and use of the named addressee
and may be confidential. If you are not the intended recipient, you
are reminded that the information remains the property of the sender.
You must not use, disclose, distribute, copy, print or rely on this
e-mail. If you have received this message in error, please contact the
sender immediately and irrevocably delete this message and any copies.
2012/9/21 Clinton Gormley email@example.com
> I don't think such a complex thing is necessary, just these
All I was asking for was a recreation, which you have provided
However, for anything more complex, I'd want to be able to
paste it in order to test it out.
> 1. Create an index
> 2. Insert "[DEBUG] Fri Sep 21 19:38:58 CEST 2012"
> 3. Search for " Fri Sep 21 19:38:58 CEST 2012" (using a
> localhost: http://localhost:9200/2012-09-21/_search?q=Fri%
> 2019:38:58 )
The ?q= search corresponds to the query string query
which uses the Lucene query parser syntax
so your search string is being parsed according to the syntax
above. Colons are used to introduce field names. But
FOO:FOO:FOO is a
syntax error, so you should have received an error in response
ParseException[Cannot parse 'Fri Sep 21 19:38:58': Encountered
" ":" ": ""