You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erik Hatcher (JIRA)" <ji...@apache.org> on 2014/08/13 03:54:12 UTC
[jira] [Updated] (SOLR-3711) Velocity: Break or truncate long
strings in facet output
[ https://issues.apache.org/jira/browse/SOLR-3711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erik Hatcher updated SOLR-3711:
-------------------------------
Attachment: SOLR-3711.patch
[~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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org