I think you could do it with Compass/Searchable quite easily. Whenever
you want to make a search, specify the query as lang:en
text:searchedtext. Would that not work?
Personnally I have exactly the same user case as yours, except I
modeled my data model with a Map <String, String> for the localized
contents (eg, the key of the map is the locale, the value is the
localized content). Compass handles this just fine (actually, it needs
a Map converter but Maurice Nicholson wrote one, and anyway writing
this converter is not hard).
As I already said, biggest problem with the plugin right now is
documentation + lack of development time I guess. The plugin makes
Grails non reloadable which is actually very bad :(
Jean-Noel
>
> I have 2 classes like:
>
> class Core {
>
> Date date
>
> Set<LocalizedInfo> localizedContents
>
> }
>
> class LocalizedInfo {
>
> String name
>
> String lang
>
> String text
>
> }
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email