[ 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org