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

Text indexing/search with embedded language support

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Text Search
    • Labels:
      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

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: