You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jim Ferenczi (JIRA)" <ji...@apache.org> on 2018/06/04 13:52:00 UTC
[jira] [Updated] (LUCENE-8346) Allow QueryBuilder subclass to
override createSpanQuery
[ https://issues.apache.org/jira/browse/LUCENE-8346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jim Ferenczi updated LUCENE-8346:
---------------------------------
Attachment: LUCENE-8250.patch
> Allow QueryBuilder subclass to override createSpanQuery
> -------------------------------------------------------
>
> Key: LUCENE-8346
> URL: https://issues.apache.org/jira/browse/LUCENE-8346
> Project: Lucene - Core
> Issue Type: Improvement
> Environment: 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.
> Reporter: Jim Ferenczi
> Priority: Minor
> Attachments: LUCENE-8250.patch
>
>
--
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