[
https://issues.apache.org/jira/browse/LUCENE-8346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16502903#comment-16502903
]
ASF subversion and git services commented on LUCENE-8346:
---------------------------------------------------------
Commit 2b406a57c41c28a95db1deefc17527e600fa244d in lucene-solr's branch
refs/heads/master from [~jim.ferenczi]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=2b406a5 ]
LUCENE-8346: Remove final modifier on QueryBuilder#createSpanQuery to allow
override
> Allow QueryBuilder subclass to override createSpanQuery
> -------------------------------------------------------
>
> Key: LUCENE-8346
> URL: https://issues.apache.org/jira/browse/LUCENE-8346
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Jim Ferenczi
> Priority: Minor
> Attachments: LUCENE-8250.patch
>
>
> QueryBuilder creates one span near query per path when multi-word synonyms
> are detected in a phrase query. Span near queries are created using
> createSpanQuery which is a protected final method. Since the method is final
> it is not possible to change the behavior in a subclass. It can be useful for
> clients to change how this query is built so I propose to make it a non-final
> protected method.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]