The "LocalParams" are just the prefix on the query parameters (e.g.,
"facet.field") themselves - what you sent on the original query. I mean, you
constructed those original parameters in your app code, right?
You can also call QueryResponse#getHeader and then locate the original query
parameters in there, if you need to.
You could also set a custom label for each facet field if you wanted to
encode extra metadata for each facet field in the facet response.
-- Jack Krupansky
-----Original Message-----
From: Holger Rieß
Sent: Monday, June 17, 2013 10:53 AM
To: solr-user@lucene.apache.org
Subject: SolrJ Howto get local params from QueryResponse
Hi,
how can I get local params like '{!ex=dyn,cls} AAA001001_0_1.1.1_ss' from
QueryResponse? I've tagged filter queries and facet fields with different
tags (p.e.'dyn','cls').
I can see the tags in the QueryResponse XML facet.field section:
<arr name="facet.field">
<str>{!ex=dyn}AAA001001_0_1.1.1_ss</str>
...
</arr>
But the FacetField class has no method List<String> getLocalParams().
My goal is to make an server side representation of the QueryResponse
components and sort the facet fields on the client side by the tag.
Thanks, Holger