RoySolr, Not sure what language your client is written in, but this is a simple if statement.
if (category == "TV") { qStr = "q=*:*&facet=true&facet.field=tv_size&facet.field=resolution"; elseif (category == "Computer") { qStr = "q=*:*&facet=true&facet.field=cpu&facet.field=gpu"; } curl "http://localhost:8983/solr/select?" + qStr; On Thu, Jul 7, 2011 at 2:29 AM, roySolr <royrutten1...@gmail.com> wrote: > Hello Erik, > > I need the *_facets also for searching so stored must be true. > > "Then, and I used *_facet similar to you, kept a list of all *_facet actual > field names and used those in all subsequent search requests. " > > Is this not bad for performance? I only need a few facets, not all.(only the > facets for the chosen category) > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/How-many-fields-can-SOLR-handle-tp3033910p3147520.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Bill Bell billnb...@gmail.com cell 720-256-8076