lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-7112) WeightedSpanTermExtractor should not always call extractUnknownQuery
Date Fri, 25 Mar 2016 14:47:25 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-7112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15211901#comment-15211901
] 

ASF subversion and git services commented on LUCENE-7112:
---------------------------------------------------------

Commit 259e69b76fe1b6ac4f2dbfbca18cf4c2316ea62f in lucene-solr's branch refs/heads/branch_6x
from [~jpountz]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=259e69b ]

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
>            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


Mime
View raw message