You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Dawid Weiss (Jira)" <ji...@apache.org> on 2022/02/01 11:24:00 UTC

[jira] [Assigned] (LUCENE-10399) Handle large boolean expressions better in flexible query parser

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

Dawid Weiss reassigned LUCENE-10399:
------------------------------------

    Assignee: Dawid Weiss

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



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org