The base problem is you don't know what they are in advance. You could
simply attach &facet.field=name_0&facet.field=name_1....

Or is "name" variable too? If it is, you could query the index up-front and
get all of the dynamic field names (the admin page does this) and assemble
the above from the returned list.

But, if you hava  LOT of these fields, this is going to be an expensive
query.

Best
Erick


On Mon, Dec 17, 2012 at 10:13 AM, Mohamed Zahoor <jmo...@me.com> wrote:

> Hi
>
> I have many dynamic fields in my schema  name_X where X can range from 0
> to 10.
> Not all documents will have all the fields from 0 to 10.
>
> I want to do a fecet on these fields.
> I have seen SOLR-247 and other queries in this list.
>
>
> Is there any other way other than patching SOLR-247 on 4.0?
>
> ./Zahoor
>

Reply via email to