Created
June 25, 2013 05:36
-
-
Save JEEN/5856167 to your computer and use it in GitHub Desktop.
I have a problem my code using your Great module ElasticSearch. but a test w/ Devel::Cover occurs error like below. but, wo/ Devel::Cover was fine. How can I solve this problem?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ HARNESS_PERL_SWITCHES=-MDevel::Cover=+ignore,local,+ignore,root \ | |
carton exec -Ilib -- prove -lv --timer --formatter TAP::Formatter::JUnit t/* | |
..... | |
[Tue Jun 25 14:26:33 2013] [error] [ERROR] ** ElasticSearch::Error::Request at local/lib/perl5/ElasticSearch/Transport/HTTP.pm line 67 : | |
SearchPhaseExecutionException[Failed to execute phase [query], total failure; shardFailures {[X2QKjOXGSHykChFtJCtGPA][2013-06-10][3]: SearchParseException[[2013-06-10][3]: query[sort:[*],from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"prefix":{"sort":["publish_date:desc"],"title":"ì¤ë¦¬"}}}]]]; nested: SearchParseException[[2013-06-10][3]: query[sort:[*],from[-1],size[-1]: Parse Failure [No parser for element [title]]]; }{[X2QKjOXGSHykChFtJCtGPA][2013-06-10][2]: SearchParseException[[2013-06-10][2]: query[sort:[*],from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"prefix":{"sort":["publish_date:desc"],"title":"ì¤ë¦¬"}}}]]]; nested: SearchParseException[[2013-06-10][2]: query[sort:[*],from[-1],size[-1]: Parse Failure [No parser for element [title]]]; }{[X2QKjOXGSHykChFtJCtGPA][2013-06-10][1]: SearchParseException[[2013-06-10][1]: query[sort:[*],from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"prefix":{"sort":["publish_date:desc"],"title":"ì¤ë¦¬"}}}]]]; nested: SearchParseException[[2013-06-10][1]: query[sort:[*],from[-1],size[-1]: Parse Failure [No parser for element [title]]]; }{[X2QKjOXGSHykChFtJCtGPA][2013-06-10][4]: SearchParseException[[2013-06-10][4]: query[sort:[*],from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"prefix":{"sort":["publish_date:desc"],"title":"ì¤ë¦¬"}}}]]]; nested: SearchParseException[[2013-06-10][4]: query[sort:[*],from[-1],size[-1]: Parse Failure [No parser for element [title]]]; }{[X2QKjOXGSHykChFtJCtGPA][2013-06-10][0]: SearchParseException[[2013-06-10][0]: query[sort:[*],from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"prefix":{"sort":["publish_date:desc"],"title":"ì¤ë¦¬"}}}]]]; nested: SearchParseException[[2013-06-10][0]: query[sort:[*],from[-1],size[-1]: Parse Failure [No parser for element [title]]]; }] | |
With vars:{ | |
'server' => '222.122.224.44:9200', | |
'status_code' => 500, | |
'request' => { | |
'data' => { | |
'query' => { | |
'prefix' => { | |
'sort' => [ | |
'publish_date:desc' | |
], | |
'title' => "\x{ec}\x{98}\x{a4}\x{eb}\x{a6}\x{ac}" | |
} | |
} | |
}, | |
'qs' => {}, | |
'post_process' => undef, | |
'as_json' => undef, | |
'method' => 'GET', | |
'cmd' => '/_all/_search' | |
}, | |
'status_msg' => 'Internal Server Error' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My code using elasticsearch is below...