You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Piotr (JIRA)" <ji...@apache.org> on 2016/05/17 20:49:12 UTC
[jira] [Created] (LUCENE-7286) WeightedSpanTermExtractor.extract()
does not recognize SynonymQuery
Piotr created LUCENE-7286:
-----------------------------
Summary: 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
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