jackpark
(Jack Park)
July 12, 2014, 2:06am
1
This query
{"query":{"field":{"url":"http://google.com/ "}
seems to fail.
It represents a stringified JSON object without any processing on the
simple url itself.
A snippet of the giant error message is below.
Thanks in advance for ideas.
Jack
DataProvider.getNodeByURL Error: {"error":"SearchPhaseExecutionException[Failed
to execute phase [query], all shards failed; shardFailures {[p6M6zWBxReGkMx_qcCV
PDg][topics][2]: SearchParseException[[topics][2]: from[-1],size[-1]: Parse Fail
ure [Failed to parse source [{"query":{"field":{"url":"http://google.com/
"}}}]]]; nested: QueryParsingException[[topics] Failed to parse query [http://g
oogle.com/ ]]; nested: ParseException[Cannot parse 'http://google.com/ ': Lexical
error at line 1, column 19. Encountered: after : ""]; nested: TokenMgrE
rror[Lexical error at line 1, column 19. Encountered: after : ""]; }{[p
6M6zWBxReGkMx_qcCVPDg][topics][3]: SearchParseException[[topics][3]: from[-1],si
ze[-1]: Parse Failure [Failed to parse source [{"query":{"field":{"url":"
http://google.com/ "}}}]]]; nested: QueryParsingException[[topics] Failed to par
--
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/CAH6s0fyga%2BveZH2cpbi_gZN75ycSYdKwtw9xChoQHi0C71STFQ%40mail.gmail.com .
For more options, visit https://groups.google.com/d/optout .
jackpark
(Jack Park)
July 12, 2014, 4:47am
2
Exploring the web, I started applying a cleanup for special
characters, plus hints from various answers, trying these queries:
{"term":{"url":"http\:\/\/google.com\/"}}
{"term":{"field":{"url":"http\:\/\/google.com\/"}}}
{"term":{"search_string":{"url":"http\:\/\/google.com\/"}}}
with no real difference.
On Fri, Jul 11, 2014 at 7:06 PM, Jack Park jackpark@topicquests.org wrote:
This query
{"query":{"field":{"url":"http://google.com/\ "}
seems to fail.
It represents a stringified JSON object without any processing on the
simple url itself.
A snippet of the giant error message is below.
Thanks in advance for ideas.
Jack
DataProvider.getNodeByURL Error: {"error":"SearchPhaseExecutionException[Failed
to execute phase [query], all shards failed; shardFailures {[p6M6zWBxReGkMx_qcCV
PDg][topics][2]: SearchParseException[[topics][2]: from[-1],size[-1]: Parse Fail
ure [Failed to parse source [{"query":{"field":{"url":"http://google.com/
"}}}]]]; nested: QueryParsingException[[topics] Failed to parse query [http://g
oogle.com/ ]]; nested: ParseException[Cannot parse 'http://google.com/ ': Lexical
error at line 1, column 19. Encountered: after : ""]; nested: TokenMgrE
rror[Lexical error at line 1, column 19. Encountered: after : ""]; }{[p
6M6zWBxReGkMx_qcCVPDg][topics][3]: SearchParseException[[topics][3]: from[-1],si
ze[-1]: Parse Failure [Failed to parse source [{"query":{"field":{"url":"
http://google.com/\ "}}}]]]; nested: QueryParsingException[[topics] Failed to par
--
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/CAH6s0fzew26GDbXvgYUz%2BQoRmrB-Hok-V7eZwxBMFCrph3kcnQ%40mail.gmail.com .
For more options, visit https://groups.google.com/d/optout .