Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by adriancole
, 1 year ago
too_many_clauses: maxClauseCount is set to 1024
via GitHub by tramchamploo
, 1 year ago
too_many_clauses: maxClauseCount is set to 1024
org.elasticsearch.common.io.stream.NotSerializableExceptionWrapper: too_many_clauses: maxClauseCount is set to 1024	at org.apache.lucene.search.BooleanQuery$Builder.add(BooleanQuery.java:137)	at org.elasticsearch.index.query.TermsQueryParser.parse(TermsQueryParser.java:200)	at org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:250)	at org.elasticsearch.index.query.IndexQueryParserService.innerParse(IndexQueryParserService.java:320)	at org.elasticsearch.index.query.IndexQueryParserService.parse(IndexQueryParserService.java:223)	at org.elasticsearch.index.query.IndexQueryParserService.parse(IndexQueryParserService.java:218)	at org.elasticsearch.search.query.QueryParseElement.parse(QueryParseElement.java:33)	at org.elasticsearch.search.SearchService.parseSource(SearchService.java:856)	at org.elasticsearch.search.SearchService.createContext(SearchService.java:667)	at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:633)	at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:377)	at org.elasticsearch.search.action.SearchServiceTransportAction$SearchQueryTransportHandler.messageReceived(SearchServiceTransportAction.java:368)	at org.elasticsearch.search.action.SearchServiceTransportAction$SearchQueryTransportHandler.messageReceived(SearchServiceTransportAction.java:365)	at org.elasticsearch.transport.TransportRequestHandler.messageReceived(TransportRequestHandler.java:33)	at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:77)	at org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.doRun(MessageChannelHandler.java:293)	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at java.lang.Thread.run(Thread.java:745)