Hi

I need to set up a search server for our production servers. Each 
production server has multiple Django instances and every instance has 
multiple languages.
As a search backend I'm leaning towards Elasticsearch because it is easier 
to add new sites to the index. 

Unfortunately Haystack associates a text field with a text_en backend field 
by default. The solution they suggest for multi language sites doesn't 
really work if you are using multilingual models such as those created by 
'django-modeltranslation'. 

There is a great blog post 
<http://anthony-tresontani.github.io/Django/2012/09/20/multilingual-search/> 
about how to create a multilingual router for Solr to get and post data to 
the search server.
It could be easily modified for Elasticsearch. 
But I haven't found a solution for multilingual index creation.

Regards
Simon

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f578a4f6-f96a-4223-be0c-20ef779c22f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to