lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-8479) QueryBuilder#analyzeGraphPhrase should respect max boolean clause
Date Mon, 01 Oct 2018 08:17:00 GMT

    [ 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


Mime
View raw message