You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by roySolr <ro...@gmail.com> on 2011/05/24 14:12:56 UTC

Dynamic facet field

Hello,

I have some problem with dynamic facets. I have a database with 1mil.
products and have indexed this with DIH.

Now i have facets that are connected to one category of products. Example:

Category                   Facet
Television               type(hd,plasma), Inches(38,42), Color(black,grey)
Mobile phone          brand(HTC,APPLE), OS(android,ios,bb) 

When a user search for television i want this facets:

Type
hd(203)
plasma(32)

Inches
42(39)
38(213)

Color
black(200)
grey(30)

URL
facet.field=type&facet.field=inches&facet.field=color

Now i get from another db the titles of the facets that i want for this
category and use it in the URL(i don't want this anymore) 

I have dynamic fields to fill the
index(type_facet,inches_facet,color_facet). I thought maybe something like
this is possible:

facet.field=*_facet
All the fields with _facet will be a faceted??






--
View this message in context: http://lucene.472066.n3.nabble.com/Dynamic-facet-field-tp2979407p2979407.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Dynamic facet field

Posted by vehovmar <ve...@gmail.com>.
Any progress on this? I would love this feature also!



--
View this message in context: http://lucene.472066.n3.nabble.com/Dynamic-facet-field-tp2979407p3996670.html
Sent from the Solr - User mailing list archive at Nabble.com.