I get to see a lot of "Parse Failure [No query specified in search
request]" errors which i did not see with in version 0.8(I'm using 0.9
BTW). The complete stack trace is as follows:
[00:40:18,372][DEBUG][action.search.type ] [Nova, Cassandra]
[tournament][1], node[3c5ec3b2-66b8-4ece-8936-0b6075522360], [P],
s[STARTED]: Failed to execute
[org.elasticsearch.action.search.SearchRequest@23112757]
org.elasticsearch.search.SearchParseException: [tournament][1]:
query[null],from[0],size[10]: Parse Failure [No query specified in
search request]
at
org.elasticsearch.search.query.QueryPhase.preProcess(QueryPhase.java:
67)
at
org.elasticsearch.search.SearchService.createContext(SearchService.java:
311)
at
org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:
166)
at
org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:
129)
at
org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction
$AsyncAction.sendExecuteFirstPhase(TransportSearchQueryThenFetchAction.java:
77)
at org.elasticsearch.action.search.type.TransportSearchTypeAction
$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:194)
at org.elasticsearch.action.search.type.TransportSearchTypeAction
$BaseAsyncAction.access$000(TransportSearchTypeAction.java:80)
at org.elasticsearch.action.search.type.TransportSearchTypeAction
$BaseAsyncAction$1.run(TransportSearchTypeAction.java:153)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
What may be the reason for this error?
P.S: Let me know if you want any more info on this.
Can you send the code you use to execute the search that fails (and the
query)? It means that for some reason, either there was no query element in
the search request, or something is wrong with the parsing.
I get to see a lot of "Parse Failure [No query specified in search
request]" errors which i did not see with in version 0.8(I'm using 0.9
BTW). The complete stack trace is as follows:
[00:40:18,372][DEBUG][action.search.type ] [Nova, Cassandra]
[tournament][1], node[3c5ec3b2-66b8-4ece-8936-0b6075522360], [P],
s[STARTED]: Failed to execute
[org.elasticsearch.action.search.SearchRequest@23112757]
org.elasticsearch.search.SearchParseException: [tournament][1]:
query[null],from[0],size[10]: Parse Failure [No query specified in
search request]
at
org.elasticsearch.search.query.QueryPhase.preProcess(QueryPhase.java:
67)
at
org.elasticsearch.search.SearchService.createContext(SearchService.java:
311)
at
org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:
166)
at
org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:
129)
at
org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction
$AsyncAction.sendExecuteFirstPhase(TransportSearchQueryThenFetchAction.java:
77)
at org.elasticsearch.action.search.type.TransportSearchTypeAction
$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:194)
at org.elasticsearch.action.search.type.TransportSearchTypeAction
$BaseAsyncAction.access$000(TransportSearchTypeAction.java:80)
at org.elasticsearch.action.search.type.TransportSearchTypeAction
$BaseAsyncAction$1.run(TransportSearchTypeAction.java:153)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
What may be the reason for this error?
P.S: Let me know if you want any more info on this.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.