lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rafalovitch <>
Subject Re: Solr4.3 Internationalization.
Date Fri, 07 Jun 2013 14:20:28 GMT
It may be helpful to approach this from the other side. Specifically search.

Are you:
1) Expecting to search across both French and English content (e.g.
French, but fallback to English if translation is missing)? If yes,
you want a single collection
2) Is French content completely separate from English content or are
they just a couple of translated fields in otherwise shared entity? If
later, you want a single collection.
3) Are you accessing all languages at once when you retrieve a record
or just one language at a time? If all languages at once, you want a
single collection.

And so on. If your content is completely separate, you could do
different collections. Otherwise, you probably want the same

If you do want a single collection, there is a couple of things you
can do to make it transparent for the frontend code to switch between
languages and make search transparent. While not a production use, it
is explored in details in my just released book: . The
corresponding example is at:
but I am not sure how easy it is to understand without the walkthrough
in the book.

Personal blog:
- Time is the quality of nature that keeps events from happening all
at once. Lately, it doesn't seem to be working.  (Anonymous  - via GTD

On Fri, Jun 7, 2013 at 6:08 AM, bsargurunathan <> wrote:
> Guys,
> Please clarify the following questions regarding Solr Internationalization.
> 1) Initially my requirement is need to support 2 languages(English & French)
> for a Web application.
> And we are using Mysql DB.
> 2) So please share good and easy approach to achieve it with some sample
> configs.
> 3) And my question is whether I need to index the data with both
> languages(English & French) with different cores?
> 4) Or indexing with English is only enough? So solr have any mechanism to
> handle multiple languages while retrieving? If there anything share with
> some sample configs.
> Thanks
> Guru
> --
> View this message in context:
> Sent from the Solr - User mailing list archive at

View raw message