Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-8137

Text indexing/search with embedded language support

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Text Search
    • None

    Description

      Needing support for text indexes on embedded properties, with language not being enforced at the document level but at the properties itself, like this:

      {
        name : "Mitch Pirtle",
        location : [
        {
          "language" : "English",
          "country" : "Italy",
          "city" : "Turin",
          "profile" : "I write code and play bass guitar."
        },
        {
          "language" : "Italian",
          "country" : "Italia",
          "city" : "Torino",
          "profile" : "Scrivo il codice e il basso suonare la chitarra."
        }
      }

      We already have many apps running like this, as we built a plugin for lithium that uses this approach; and the idea was lifted from a rails plugin that works the same way. I think this is going to become an increasing source of frustration as document schema encourages embedding different languages within the same document.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mitchitized Mitch Pirtle
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: