You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2016/11/17 21:44:58 UTC

[jira] [Reopened] (LUCENE-7560) Can we make QueryBuilder.createFieldQuery un-final?

     [ https://issues.apache.org/jira/browse/LUCENE-7560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless reopened LUCENE-7560:
----------------------------------------

I'd like to also make some private methods protected so {{createFieldQuery}} can invoke them...

> 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
>             Fix For: master (7.0), 6.4
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org