I am creating an elasticSearch-5.6.x query but after 10003 characters (Byte) count, I am unable to append more parameters into my query. Please help to set the query length to a specific number or making it unlimited in java.
The query is in JSON format. It's about the size of query, NOT RESPONSE. We are not hitting max clause count, set default at 1024.
BoolQueryBuilder matchQuery = QueryBuilders.boolQuery();
matchQuery.should(QueryBuilders.matchQuery(//some code));
matchQuery wont add once it has characters count =10003.