Hi together,
I also get the lucene exception, when I start the daily report script. It causes at this point in the script (first row):
Best regards
Sascha
I also get the lucene exception, when I start the daily report script. It causes at this point in the script (first row):
Code: Select all
and the error message in the log-file:--> for (QueryResult result : OKMSearch.getInstance().findPaginated(sysToken, queryParams, 0, Integer.MAX_VALUE).getResults()) {
if (result.getDocument() != null) {
Document doc = result.getDocument();
// Parent must have role
Map hm = OKMAuth.getInstance().getGrantedRoles(sysToken, Util.getParent(doc.getPath()));
if (hm.keySet().contains(role)) {
docs.add(doc);
}
} else {
sb.append("Error has been selected some results than is not a document" + "\n");
}
}
Code: Select all
I tried to find the config-file to increase the value of "maxClauseCount", but I didn´t find. Did someone knows the file-path or is it more recommendable to optimize the query-filter? I am grateful for any help.Target exception: org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set to 1024Best regards
Sascha
