You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2018/10/01 08:17:00 UTC

[jira] [Commented] (LUCENE-8479) QueryBuilder#analyzeGraphPhrase should respect max boolean clause

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

Adrien Grand commented on LUCENE-8479:
--------------------------------------

+1

> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org