You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Thomas Schürger (Jira)" <ji...@apache.org> on 2021/12/07 09:15:00 UTC

[jira] [Commented] (SOLR-9271) Make fragment ellipsis definable

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

Thomas Schürger commented on SOLR-9271:
---------------------------------------

I would find it highly useful if this was added as a feature. This does not need to be enabled by default. Maybe as two additional "hl" attributes, one for the indicator that there's more text in front of the snippet (which would be prepended to the snippet) and one as an indicator that there is more text after the snippet (which would be appended to the snippet). Both indicators should be added as-is, even if "hl.encoding=html" is used.

> Make fragment ellipsis definable
> --------------------------------
>
>                 Key: SOLR-9271
>                 URL: https://issues.apache.org/jira/browse/SOLR-9271
>             Project: Solr
>          Issue Type: Improvement
>          Components: highlighter
>    Affects Versions: 5.4.1
>            Reporter: Christoph Uhland
>            Priority: Minor
>
> The client has to deal if the highlight fragment is only an excerpt or the whole content of a field. 
> It would be a good feature if the highlight component could already process this information, and enrich the highlight fragment with configured ellipsis.
> See stackoverflow: http://stackoverflow.com/questions/3400271/display-ellipsis-before-and-after-fragment-in-solr



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org