lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Ferenczi (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LUCENE-8346) Allow QueryBuilder subclass to override createSpanQuery
Date Wed, 06 Jun 2018 07:20:00 GMT

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

Jim Ferenczi resolved LUCENE-8346.
----------------------------------
       Resolution: Fixed
    Fix Version/s: master (8.0)
                   7.4

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


Mime
View raw message