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

Text indexing/search with embedded language support

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Text Search
    • None

      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.

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

              Created:
              Updated:
              Resolved: