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

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

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

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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to