You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Bjarke Mortensen (JIRA)" <ji...@apache.org> on 2017/03/16 21:36:41 UTC

[jira] [Updated] (SOLR-10309) Unified highlighter does not highlight wildcard phrases correctly when ComplexPhraseQueryParser is used

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

Bjarke Mortensen updated SOLR-10309:
------------------------------------
    Description: 
Given the text:
"Kontraktsproget vil være dansk og arbejdssproget kan være dansk, svensk, norsk og engelsk"
and the query:
\{!complexphrase df=content_da\}("sve* no*")
the unified highlighter (hl.method=unified) does not return any highlights.

For reference, the original highlighter returns a snippet with the expected highlights:
Kontraktsproget vil være dansk og arbejdssproget kan være dansk, <em>svensk</em>, <em>norsk</em> og

Is this expected behaviour with the unified highlighter?

  was:
Given the text:
"Kontraktsproget vil være dansk og arbejdssproget kan være dansk, svensk, norsk og engelsk"
and the query:
{!complexphrase df=content_da}(\"sve* no*\")"
the unified highlighter (hl.method=unified) does not return any highlights.

For reference, the original highlighter returns a snippet with the expected highlights:
[Kontraktsproget vil være dansk og arbejdssproget kan være dansk, <em>svensk</em>, <em>norsk</em> og]

Is this expected behaviour with the unified highlighter?


> Unified highlighter does not highlight wildcard phrases correctly when ComplexPhraseQueryParser is used
> -------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-10309
>                 URL: https://issues.apache.org/jira/browse/SOLR-10309
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: highlighter, query parsers
>    Affects Versions: 6.4
>            Reporter: Bjarke Mortensen
>
> Given the text:
> "Kontraktsproget vil være dansk og arbejdssproget kan være dansk, svensk, norsk og engelsk"
> and the query:
> \{!complexphrase df=content_da\}("sve* no*")
> the unified highlighter (hl.method=unified) does not return any highlights.
> For reference, the original highlighter returns a snippet with the expected highlights:
> Kontraktsproget vil være dansk og arbejdssproget kan være dansk, <em>svensk</em>, <em>norsk</em> og
> Is this expected behaviour with the unified highlighter?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org