Hello,

I have a couple of questions:

1/ Is it possible to localise query operator names without writing code? For instance, I'd like to issue queries with French operator names, e.g. ET (instead of AND), OU (instead of OR), etc.

2/ Is it possible for Solr to generate, in the XML response, the URLs or complete queries for each facet in a faceted search?

Here's an example. Say my first query is :
http://localhost:8080/solr/select?q=bac&facet=true&facet.field=kind&facet.limit=-1

The "kind" field has three values: material, immaterial, time. I get back something like this:

   <lst name="facet_counts">
       <lst name="facet_queries" />
       <lst name="facet_fields">
           <lst name="kind">
               <int name="material">1024</int>
               <int name="immaterial">27633</int>
               <int name="time">389</int>
           </lst>
       </lst>
   </lst>

If I want to drill down into one facet, say into "material", I have to "manually" rebuild a query like this:
http://localhost:8080/solr/select?q=bac&facet=true&facet.field=kind&facet.limit=-1&fq=kind:"material";

It's not too difficult, but surely Solr could add this URL or query string under the "material" element. Is this possible? Or do I have to XSLT the result myself?

Thanks,

Pierre Auslaender

Reply via email to