lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <>
Subject Re: Return 2 fields per facet.. name and id, for example? / facet value search
Date Thu, 03 Sep 2009 07:34:04 GMT
On Fri, Aug 28, 2009 at 12:57 AM, Rihaed Tan <> wrote:

> Hi,
> I have a similar requirement to Matthew (from his post 2 years ago). Is
> this
> still the way to go in storing both the ID and name/value for facet values?
> I'm planning to use id#name format if this is still the case and doing a
> prefix query. I believe this is a common requirement so I'd appreciate if
> any of you guys can share what's the best way to do it.
> Also, I'm indexing the facet values for text search as well. Should the
> field declaration below suffice the requirement?
> <field name="category" type="text" indexed="true" stored="true"
> required="true" multiValued="true"/>

There have been talks of having a pair field type in Solr but there is no
patch yet. So I guess the way proposed by Yonik is a good solution.

Shalin Shekhar Mangar.

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