You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Code Ferret (Jira)" <ji...@apache.org> on 2019/11/05 17:04:00 UTC
[jira] [Created] (JENA-1777) jena-text highlight fails for simple
multilingual queries
Code Ferret created JENA-1777:
---------------------------------
Summary: jena-text highlight fails for simple multilingual queries
Key: JENA-1777
URL: https://issues.apache.org/jira/browse/JENA-1777
Project: Apache Jena
Issue Type: Bug
Components: Text
Affects Versions: Jena 3.13.1
Reporter: Code Ferret
Assignee: Code Ferret
Fix For: Jena 3.14.0
Highlighting fails to produce a marked-up literal in default multilingual configurations.
For example, even if there's a hit in the following the marked up literal is empty:
{code}
(?s ?sc ?lit) text:query ( "something"@en "highlight:" ) .
{code}
The resulting {{?lit}} is {{""@en}} instead of the marked up matching literal, like:
{code}
"bar ↦something↤ barfoo foo"@en
{code}
The fix does not require text re-indexing.
A PR is available
--
This message was sent by Atlassian Jira
(v8.3.4#803005)