lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gaohang wang <gaohangw...@gmail.com>
Subject Re: Labels for facets on Velocity
Date Fri, 06 Mar 2015 08:36:21 GMT
you can write a macro in you velocity template,which is used to show your
query response

2015-03-06 1:14 GMT+08:00 Henrique O. Santos <hensantos@gmail.com>:

> Hello,
>
> I’ve been trying to have a pretty name for my facets on Velocity Response
> Writer. Do you know how can I do that?
>
> For example, suppose that I am faceting field1. My query returns 3 facets:
> uglyfacet1, uglyfacet2 and uglyfacet3. I want to show them to the user a
> pretty name, like "Pretty Facet 1", "Pretty Facet 2" and "Pretty Facet 3".
>
> The thing is that linking on velocity should still work, so the user can
> navigate the results.
>
> Thank you.
> Henrique.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message