You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2016/03/17 16:35:33 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=15199724#comment-15199724 ] 

David Smiley commented on LUCENE-7112:
--------------------------------------

+1.
I always wondered why it was the way it was; I figured there was some wisdom to it I just didn't know.  [~simonw] didn't you add this feature originally?

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org