[
https://issues.apache.org/jira/browse/LUCENE-7112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrien Grand updated LUCENE-7112:
---------------------------------
Attachment: LUCENE-7112.patch
Here is a patch.
> WeightedSpanTermExtractor should not always call extractUnknownQuery
> --------------------------------------------------------------------
>
> Key: LUCENE-7112
> URL: https://issues.apache.org/jira/browse/LUCENE-7112
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Adrien Grand
> Priority: Minor
> Attachments: LUCENE-7112.patch
>
>
> WeightedSpanTermExtractor always calls extractUnknownQuery, even if term
> extraction already succeeded because the query is eg. a phrase query. It
> should only call this method if it could not find how to extract terms
> otherwise (eg. in case of a custom query).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]