[
https://issues.apache.org/jira/browse/SOLR-3711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14095027#comment-14095027
]
Erik Hatcher edited comment on SOLR-3711 at 8/13/14 1:54 AM:
-------------------------------------------------------------
[~janhoy] - how's this? If this general idea works for you, I will generalize
it to work for all facet labels (not just facet fields). What's the best
truncation size and suffix string? I used 20 and the default of "..." in this
initial patch. The title of the facet filter links, on mouse hover, is the
full untruncated value.
was (Author: ehatcher):
[~janhoy] - how's this? If this general idea works for you, I will generalize
it to work for all facet labels (not just facet fields). What's the best
truncation size and suffix string? I used 25 and the default of "...". The
title of the facet filter links, on mouse hover, is the full untruncated value.
> Velocity: Break or truncate long strings in facet output
> --------------------------------------------------------
>
> Key: SOLR-3711
> URL: https://issues.apache.org/jira/browse/SOLR-3711
> Project: Solr
> Issue Type: Bug
> Components: Response Writers
> Reporter: Jan Høydahl
> Assignee: Erik Hatcher
> Labels: /browse
> Fix For: 5.0
>
> Attachments: SOLR-3711.patch
>
>
> In Solritas /browse GUI, if facets contain very long strings (such as
> content-type tend to do), currently the too long text runs over the main
> column and it is not pretty.
> Perhaps inserting a Soft Hyphen ­
> (http://en.wikipedia.org/wiki/Soft_hyphen) at position N in very long terms
> is a solution?
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]