Text indexing/search with embedded language support

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Text Search
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
              Reporter:
              Mitch Pirtle
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: