mongoid / mongoid_fulltext

An n-gram-based full-text search implementation for the Mongoid ODM.
MIT License
150 stars 66 forks source link

Localized fields support #38

Open tomasc opened 6 years ago

tomasc commented 6 years ago

Here a PR with support for localized fields.

Basically, if there are multiple locales, and the document has any localized fields, an index is created per each locale, and then used when searching.

Built upon #37 , will rebase once merged.

dblock commented 6 years ago

Rebase this and I can take a look