[ 
https://issues.apache.org/jira/browse/LUCENE-10399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dawid Weiss updated LUCENE-10399:
---------------------------------
    Fix Version/s: 9.1

> 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
>            Priority: Minor
>             Fix For: 9.1
>
>
> 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

Reply via email to