I'm trying to perform the following query with the Java API:
"query": {
"bool" : {
"must" : [ {
"field" : {
"space-time-id.timestamp" : "2014-03-17T16:57:47.136-07:00"
}
} ]
}
}
This fails presumably because the value has colons (which are special characters). Can someone point me to the Java API that escapes such characters?
org.apache.lucene.queryparser.classic.QueryParser.escape()