Would that be of any interest to the SOLR / Lucene community, given the
trend to globalisation / regionalisation ? My base is Switzerland - 4
official national tongues, none of them English.
If one were to localise the boolean operators, would that have to be at
the Lucene level, or could that be done at the SOLR level ?
Thanks,
Pierre
Otis Gospodnetic a écrit :
Hi,
Regarding Boolean operator localization -- there was a person who submitted
patches for the same functionality, but for Lucene's QueryParser. This was a
few years ago. I think his patch was never applied. Perhaps that helps.
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
----- Original Message ----
From: Pierre Auslaender <[EMAIL PROTECTED]>
To: solr-user@lucene.apache.org
Sent: Saturday, August 16, 2008 12:50:53 PM
Subject: Localisation, faceting
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:
1024
27633
389
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