Well, you can do both, of cource but there's no need for additional code if you 
get it for free. I'd prefer - as most i assume - to use the label as a facet 
field.
 
-----Original message-----
From: Frank A <fsa...@gmail.com>
Sent: Tue 10-08-2010 01:11
To: solr-user@lucene.apache.org; 
Subject: Re: Facet Fields - ID vs. Display Value

What I meant (which I realize now wasn't very clear) was if I have
something like categoryID and categorylabel - is the normal practice
to define categoryID as the facet field and then have the UI layer
display the label?  Or would it be normal to directly use
categorylabel as the facet field?



On Mon, Aug 9, 2010 at 6:01 PM, Otis Gospodnetic
<otis_gospodne...@yahoo.com> wrote:
> Hi Frank,
>
> I'm not sure what you mean by that.
> If the question is about what should be shown in the UI, it should be 
> something
> pretty and human-readable, such as the original facet string value, assuming 
> it
> was nice and clean.
>
> Otis
> ----
> Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
> Lucene ecosystem search :: http://search-lucene.com/
>
>
>
> ----- Original Message ----
>> From: Frank A <fsa...@gmail.com>
>> To: solr-user@lucene.apache.org
>> Sent: Mon, August 9, 2010 5:19:57 PM
>> Subject: Facet Fields - ID vs. Display Value
>>
>> Is there a general best practice on whether facet fields should be on
>> "IDs"  or "Display values"?
>>
>> -Frank
>>
>

Reply via email to