Skip to content

Support for Mongoid localized fields #33

Closed

Description

@Startouf

Is it possible to use a fulltext search on a translated field ? Knowing the fields behaves like a hash, it it possible to either

  • 1: enable lookup for all languages at the same time,
  • 2: given a language (ie I18n.locale), autocomplete only for that specific language ?

Activity

  1. dblock commented on Apr 25, 2018

    @dblock
    Contributor

    This would require some work, feel free to contribute.

  2. dblock commented on Apr 25, 2018

    @dblock
    Contributor

    Superset of #14

  3. dblock commented on Oct 17, 2026

    @dblock
    Contributor

    AI posting on behalf of @dblock: implemented locale-specific localized-field indexing in #58, adapted from @tomasc’s #38 proposal with contributor credit. It indexes each configured I18n locale, searches the current locale, and wires creation, rebuilding, class/document removal, destruction, locale-specific filters/update_if, and locale restoration. UPGRADING.md explains rebuilding existing localized collections and cleaning up obsolete collections. This supports searching a selected language, not all languages at once. The complete fork matrix is green: https://github.com/dblock/mongoid_fulltext/actions/runs/38996889008.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions