You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2019/06/26 10:01:00 UTC
[jira] [Commented] (LUCENE-8881) Query.rewrite Should Move To
QueryVisitor
[ https://issues.apache.org/jira/browse/LUCENE-8881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16873178#comment-16873178 ]
Alan Woodward commented on LUCENE-8881:
---------------------------------------
I don't think this is the case? QueryVisitor is for arbitrary collection of information about a query tree, whereas rewrite is always query-specific.
> Query.rewrite Should Move To QueryVisitor
> -----------------------------------------
>
> Key: LUCENE-8881
> URL: https://issues.apache.org/jira/browse/LUCENE-8881
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Atri Sharma
> Priority: Major
>
> Now that we have QueryVisitor, the rewrite functionality should belong there, since rewrite is essentially a recursive visitation of underlying queries, which sounds exactly as what QueryVisitor is designed to be.
--
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