lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Ferenczi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-8479) QueryBuilder#analyzeGraphPhrase should respect max boolean clause
Date Thu, 04 Oct 2018 16:46:00 GMT

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

Jim Ferenczi commented on LUCENE-8479:
--------------------------------------

Thanks [~janhoy] for fixing and sorry for the noise

> 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
>             Fix For: 7.6, master (8.0)
>
>         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