I have tried searching for "?confid", I 've tried the following
[root@node4 logstash]# curl -XGET
'http://localhost:9200/logstash-2014.11.16/_search?pretty' -d '
{
"query": {
"filtered":{
"filter": {
"term": { "message":"?confid"}
}
}
}
}'
OUTPUT:
{
"took" : 1,
"timed_out" : false,
"_shards" : {
"total" : 5,
"successful" : 5,
"failed" : 0
},
"hits" : {
"total" : 0,
"max_score" : null,
"hits" : [ ]
}
}
Tried the following:
[root@node4 logstash]# curl -XGET
'http://localhost:9200/logstash-2014.11.16/_search?pretty' -d '
{
"query": {
"filtered":{
"filter": {
"term": { "message":"\?confid"}
}
}
}
}'
{
"error" : "SearchPhaseExecutionException[Failed to execute phase [query],
all shards failed; shardFailures
{[Wv1luevnSfCUKjlWZjtKaQ][logstash-2014.11.16][0]:
SearchParseException[[logstash-2014.11.16][0]: from[-1],size[-1]: Parse
Failure [Failed to parse source [\n{\n"query": {\n "filtered":{\n
"filter": {\n "term": { "message":"\?confid"}\n }\n
}\n }\n}]]]; nested: QueryParsingException[[logstash-2014.11.16] Failed to
parse]; nested: JsonParseException[Unrecognized character escape '?' (code
63)\n at [Source: [B@6bdb244b; line: 6, column: 31]];
}{[Wv1luevnSfCUKjlWZjtKaQ][logstash-2014.11.16][1]:
SearchParseException[[logstash-2014.11.16][1]: from[-1],size[-1]: Parse
Failure [Failed to parse source [\n{\n"query": {\n "filtered":{\n
"filter": {\n "term": { "message":"\?confid"}\n }\n
}\n }\n}]]]; nested: QueryParsingException[[logstash-2014.11.16] Failed to
parse]; nested: JsonParseException[Unrecognized character escape '?' (code
63)\n at [Source: [B@6bdb244b; line: 6, column: 31]];
}{[Wv1luevnSfCUKjlWZjtKaQ][logstash-2014.11.16][2]:
SearchParseException[[logstash-2014.11.16][2]: from[-1],size[-1]: Parse
Failure [Failed to parse source [\n{\n"query": {\n "filtered":{\n
"filter": {\n "term": { "message":"\?confid"}\n }\n
}\n }\n}]]]; nested: QueryParsingException[[logstash-2014.11.16] Failed to
parse]; nested: JsonParseException[Unrecognized character escape '?' (code
63)\n at [Source: [B@6bdb244b; line: 6, column: 31]];
}{[Wv1luevnSfCUKjlWZjtKaQ][logstash-2014.11.16][3]:
SearchParseException[[logstash-2014.11.16][3]: from[-1],size[-1]: Parse
Failure [Failed to parse source [\n{\n"query": {\n "filtered":{\n
"filter": {\n "term": { "message":"\?confid"}\n }\n
}\n }\n}]]]; nested: QueryParsingException[[logstash-2014.11.16] Failed to
parse]; nested: JsonParseException[Unrecognized character escape '?' (code
63)\n at [Source: [B@6bdb244b; line: 6, column: 31]];
}{[Wv1luevnSfCUKjlWZjtKaQ][logstash-2014.11.16][4]:
SearchParseException[[logstash-2014.11.16][4]: from[-1],size[-1]: Parse
Failure [Failed to parse source [\n{\n"query": {\n "filtered":{\n
"filter": {\n "term": { "message":"\?confid"}\n }\n
}\n }\n}]]]; nested: QueryParsingException[[logstash-2014.11.16] Failed to
parse]; nested: JsonParseException[Unrecognized character escape '?' (code
63)\n at [Source: [B@6bdb244b; line: 6, column: 31]]; }]",
"status" : 400
}
HOW TO GET THE "?" searched? IT SEEMS "?" DOESN't WORK.
I am running: elastic search version: "1.3.4"
--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8b68bd5e-4292-485b-be4b-ccdf62f484e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.