Dawid Weiss created LUCENE-10399: ------------------------------------ Summary: Handle large boolean expressions better in flexible query parser Key: LUCENE-10399 URL: https://issues.apache.org/jira/browse/LUCENE-10399 Project: Lucene - Core Issue Type: Improvement Reporter: Dawid Weiss
Flexible query parser creates a boolean query out of multiple sub-expressions (term queries, other queries). If a query is constructed programmatically (as it is often the case), people can easily reach the limit of max bool clauses. Many of these expressions can be optimized at the query parser level, with multiple boolean clauses being replaced with a single TermInSetQuery - this results in faster processing and makes the query parser handle such automatically generated cases much better. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org