search functionality on multi-language django site

后端 未结 5 1607
天涯浪人
天涯浪人 2020-12-24 12:48

I\'m building a multi-language Django site, and I\'m using django-transmeta for my model data translations. Now I\'m wondering if there is a Django search app that works wit

5条回答
  •  Happy的楠姐
    2020-12-24 13:38

    There are few commercial products - for example multilingual indexer for Solr or Lucene capable of determining the language automatically.

    I don't like commercial products but the idea is nice and simple - crawl the website, determine the language (with meta tag for example) and index.

    So choose the search engine and try to extend it to handle multilingual sites.

    Good question though, let us know how you solved this.

提交回复
热议问题