You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Atri Sharma (Jira)" <ji...@apache.org> on 2020/04/01 12:35:00 UTC
[jira] [Assigned] (LUCENE-9299) ClausesCheckVisitor fails to throw
TooManyClauses exception when the clauses in a query exceeds the limit by 1
[ https://issues.apache.org/jira/browse/LUCENE-9299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Atri Sharma reassigned LUCENE-9299:
-----------------------------------
Assignee: Atri Sharma
> ClausesCheckVisitor fails to throw TooManyClauses exception when the clauses in a query exceeds the limit by 1
> --------------------------------------------------------------------------------------------------------------
>
> Key: LUCENE-9299
> URL: https://issues.apache.org/jira/browse/LUCENE-9299
> Project: Lucene - Core
> Issue Type: Bug
> Affects Versions: master (9.0)
> Reporter: Stamatis Zampetakis
> Assignee: Atri Sharma
> Priority: Trivial
> Attachments: LUCENE-9299.patch
>
>
> The visitor that was introduced in LUCENE-8811 (obtained by IndexSearcher#getNumClausesCheckVisitor) that checks that the number of clauses in query does not exceed a certain limit (defined by org.apache.lucene.search.IndexSearcher#setMaxClauseCount) misses the case where the clauses/terms in the query exceed the limit by one.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org