[ 
https://issues.apache.org/jira/browse/LUCENE-9299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17072788#comment-17072788
 ] 

Tommaso Teofili commented on LUCENE-9299:
-----------------------------------------

the changes look good to me.

> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to