Hi All,

I'm creating 2 distinct sets of facet results using a key local param, e.g.:

facet.field={!ex=dt key=my_facet_key}the_facet_field&facet.field={!ex=dt
key=some_other_facet_key}the_facet_field

I would then like to refer to these 'pseudo' field later in the request
string. I thought this would be how I'd do it:

f.my_facet_key.facet.prefix=a_given_prefix

and

f.my_other_facet_key.prefix=a_different_prefix

So the whole thing would look like (With as similar request string for the
my_other_facet):

facet.field={!ex=dt
key=my_facet_key}the_facet_field&f.my_facet_key.facet.prefix=a_given_prefix


I thought this would work, however it doesn't appear to. What does work is
if I define the prefix and mincount in the local params:

facet.field={!ex=dt key=my_facet_key
facet.prefix=a_given_prefix}the_facet_field

Is this expected? I'm also using sunspot and they construct the queries
with keys as in my first example, i.e. facet.field={!ex=dt
key=my_facet_key}the_facet_field&f.my_facet_key.facet.prefix=a_given_prefix


Thanks
Brendan

-- 
Brendan Grainger
www.kuripai.com

Reply via email to