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/06/10 07:13:21 UTC
[jira] [Commented] (LUCENE-7286)
WeightedSpanTermExtractor.extract() does not recognize SynonymQuery
[ https://issues.apache.org/jira/browse/LUCENE-7286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15324013#comment-15324013 ]
ASF subversion and git services commented on LUCENE-7286:
---------------------------------------------------------
Commit 5e87c2b31fb0cd0d2c99986fdd79abe2544a04c2 in lucene-solr's branch refs/heads/branch_6_1 from [~jpountz]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=5e87c2b ]
LUCENE-7286: Added support for highlighting SynonymQuery.
> WeightedSpanTermExtractor.extract() does not recognize SynonymQuery
> -------------------------------------------------------------------
>
> Key: LUCENE-7286
> URL: https://issues.apache.org/jira/browse/LUCENE-7286
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/highlighter
> Affects Versions: 6.0
> Reporter: Piotr
> Fix For: 6.1, master (7.0)
>
> Attachments: LUCENE-7286.patch
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Short description:
> In WeightedSpanTermExtractor.extract(...) method there is a long list of supported Queries. There is no SynonymQuery which leads to extractUnknownQuery() that does nothing. It would be really nice to have SynonymQuery covered as well.
> Long description:
> I'm trying to highlight an external text using a Highlighter. The query is created by QueryParser. If the created query is simple it works like a charm. The problem is when parsed query contains SynonymQuery -- it happens, when stemmer returns multiple stems, which is not uncommon for Polish language.
> Btw. this is my first jira issue.
--
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