You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2016/06/10 07:13:21 UTC

[jira] [Resolved] (LUCENE-7286) WeightedSpanTermExtractor.extract() does not recognize SynonymQuery

     [ https://issues.apache.org/jira/browse/LUCENE-7286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrien Grand resolved LUCENE-7286.
----------------------------------
       Resolution: Fixed
    Fix Version/s: master (7.0)
                   6.1

> 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