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

ASF subversion and git services commented on LUCENE-8479:
---------------------------------------------------------

Commit 0f100004bcd8ffc15cb5bd9281e1c9a61c17eb86 in lucene-solr's branch 
refs/heads/master from [~jim.ferenczi]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=0f10000 ]

LUCENE-8479: QueryBuilder#analyzeGraphPhrase now throws TooManyClause exception 
if the number of expanded path reaches the BooleanQuery#maxClause limit.


> QueryBuilder#analyzeGraphPhrase should respect max boolean clause
> -----------------------------------------------------------------
>
>                 Key: LUCENE-8479
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8479
>             Project: Lucene - Core
>          Issue Type: Test
>            Reporter: Jim Ferenczi
>            Priority: Major
>         Attachments: LUCENE-8479.patch, LUCENE-8479.patch
>
>
> Currently there is no limit in the number of span queries that can be mixed 
> by QueryBuilder#analyzeGraphPhrase even if the input graph contains thousands 
> of paths. We should apply the same limit than analyzeGraphBoolean which 
> throws TooManyClauses exception when the number of expanded paths is greater 
> than BooleanQuery#MAX_CLAUSE_COUNT.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to