Bulk search through elastic search


(sborar) #1

I am using perl Elastic Search API to to bulk searching. I use msearch method and arrayref of query strings . However I am getting following error

'SearchPhaseExecutionException[Failed to execute phase [query], total failure; shardFailures {[WbKG7TpyS8OkaocxYaFW3Q][site_0][7]: RemoteTransportException[[Rick Jones][inet[/X.X.X.X:9300]][search/phase/query]]; nested: SearchParseException[[site_0][7]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":"silverstone htpc case","size":90}]]]; nested: QueryParsingException[[site_0] [_na] query malformed, must start with start_object]; }

Any suggestions ?

Also Is there a way to specify analyzer during bulk search ?


(system) #2