[
https://issues.apache.org/jira/browse/LUCENE-7560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15666766#comment-15666766
]
Adrien Grand commented on LUCENE-7560:
--------------------------------------
+1
> Can we make QueryBuilder.createFieldQuery un-final?
> ---------------------------------------------------
>
> Key: LUCENE-7560
> URL: https://issues.apache.org/jira/browse/LUCENE-7560
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Michael McCandless
>
> It's marked final, I assume because we want people who customize their query
> parsers to only override {{newXXXQuery}} instead.
> But for deeper query parser customization, like using exploring consuming a
> graph and creating a {{TermAutomatonQuery}}, or a union of {{PhraseQuery}},
> etc., it is not possible today and one must fork the class.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]