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

Dawid Weiss updated LUCENE-10399:
---------------------------------
    Description: 
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.

 

PR at:

https://github.com/apache/lucene/pull/634

  was: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.


> 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
>            Assignee: 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.
>  
> PR at:
> https://github.com/apache/lucene/pull/634



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to