lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Schema Field Names i18n
Date Thu, 10 Jan 2013 12:56:50 GMT
There's no really easy way that I know of. I've seen several approaches
used though

1> do it in the UI. This assumes that your users aren't typing in raw
queries, they're picking field names from a drop-down or similar. Then the
UI maps the chosen fields into what the schema defines.

2> Do it in the middleware when assembling the query to pass through. Be
careful with the translations though, there always seem to be edge cases.

3> What you're suggesting. Unless you're really fluent in parsers (they
give me indigestion)  I'd think about a query component.

Best
Erick


On Wed, Jan 9, 2013 at 7:36 PM, Daryl Robbins <daryl.robbins@mxi.com> wrote:

> Anyone have experience with internationalizing the field names in the SOLR
> schema, so users in different languages can specify fields in their own
> language? My first thoughts would be to create a custom search component or
> query parser than would convert localized field names back to the English
> names in the schema, but I haven't dived in too deep yet. Any input would
> be greatly appreciated.
>
> Thanks,
>
> Daryl
>
>
>
> __________________________________________________________________________________
> * This message is intended only for the use of the individual or entity to
> which it is addressed, and may contain information that is privileged,
> confidential and exempt from disclosure under applicable law. Unless you
> are the addressee (or authorized to receive for the addressee), you may not
> use, copy or disclose the message or any information contained in the
> message. If you have received this message in error, please advise the
> sender by reply e-mail, and delete the message, or call +1-613-747-4698. *
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message