[
https://issues.apache.org/jira/browse/LUCENE-8839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16860639#comment-16860639
]
Adrien Grand commented on LUCENE-8839:
--------------------------------------
Ah, thanks for clarifying. I think some users will want to apply fine-grained
rules like that indeed. The number of clauses is one thing, but I can imagine
they will want to look at query types as well since multi-term queries or
intervals can be expensive too. In order to keep the IndexSearcher surface API
small maybe we should recommend that users check this kind of things on top of
IndexSearcher and provide them with utility methods to perform those checks?
> Add IndexSearcher Level Query Max Clause Count Limits
> -----------------------------------------------------
>
> Key: LUCENE-8839
> URL: https://issues.apache.org/jira/browse/LUCENE-8839
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Atri Sharma
> Priority: Major
>
> This should allow much better fine-grained control, such as restricting
> complexity of queries on specific indices or users
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]