You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/04/11 17:53:25 UTC
[jira] [Commented] (LUCENE-7112) WeightedSpanTermExtractor should
not always call extractUnknownQuery
[ https://issues.apache.org/jira/browse/LUCENE-7112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15235338#comment-15235338 ]
ASF subversion and git services commented on LUCENE-7112:
---------------------------------------------------------
Commit f0fffb60232f6bc6f57da51ffc6de7633ca9093f in lucene-solr's branch refs/heads/branch_5_5 from [~jpountz]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=f0fffb6 ]
LUCENE-7112: WeightedSpanTermExtractor.extractUnknownQuery is only called on queries that could not be extracted.
> 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
> Assignee: Adrien Grand
> Priority: Minor
> Fix For: 6.0
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org