lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: solr: how to change display name of a facet?
Date Thu, 03 May 2012 18:32:23 GMT
On Thu, May 3, 2012 at 2:26 PM, okayndc <bodymoves@gmail.com> wrote:
[...]
> I've experimented with this:
> <str name="facet.field">{!ex=dt key=Categories and Stuff}category</str>
>
> I'm not really sure what 'ex=dt' does but it's obvious that 'key' is the
> desired display name? If there are spaces in the 'key' value, the display
> name gets cut off.  What am I doing wrong?

http://wiki.apache.org/solr/LocalParams
For a non-simple parameter value, enclose it in single quotes

"ex" excludes filters tagged with a value.
See
http://wiki.apache.org/solr/SimpleFacetParameters#Multi-Select_Faceting_and_LocalParams

-Yonik
lucenerevolution.com - Lucene/Solr Open Source Search Conference.
Boston May 7-10

Mime
View raw message