[ 
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-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to