[
https://issues.apache.org/jira/browse/LUCENE-7336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15328031#comment-15328031
]
Michael McCandless commented on LUCENE-7336:
--------------------------------------------
I think sandbox should also be used for cases where we know there are problems
with a class but in some rare use cases, where users understand those problems,
it's perhaps useful, e.g. {{SlowFuzzyQuery}}.
I would put {{TermRangeQuery}} in this same category, but I guess not as
extreme, so {{misc}} module is maybe also a good home.
> Move TermRangeQuery to sandbox
> ------------------------------
>
> Key: LUCENE-7336
> URL: https://issues.apache.org/jira/browse/LUCENE-7336
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Fix For: master (7.0), 6.2
>
>
> I think, long ago, this class was abused for numeric range searching, if you
> converted your numeric terms into text terms "carefully", but we now have
> dimensional points for that, and I think otherwise this query class is quite
> dangerous: you can easily accidentally make a very costly query.
> Furthermore, the common use cases for multi-term queries are already covered
> by other classes ({{PrefixQuery}}, {{WildcardQuery}}, {{FuzzyQuery}}).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]