Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-40838

Allow namespacing of ElasticSearch indices.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 12.0, 19.0
    • Fix Version/s: 20.0
    • Component/s: Search
    • Labels:
      None
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      Allow namespacing of ElasticSearch indices. Pre 12 you could set the index on the search service thus:

      indexName@org.sakaiproject.search.elasticsearch.ElasticSearchService=myindex

      This allowed you to share an ES cluster between multiple Sakai instances, one index for each Sakai instance. Now, however, you can't. You need to set the index name on your particular index builder. So, you'd have to set an indexName on the main sakai index, and on the questions index used by Samigo. As we add more tool specfic indices we'd need to set the index names for each one in properties, for each of our Sakai instances.

      Rather than do that, it makes more sense to have a namepace, so 'instance1_sakai_index' and 'instance1_questions_index'. DRYer and still keeps things tidy in ES.

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                a.fish@lancaster.ac.uk Adrian Fish
                Reporter:
                a.fish@lancaster.ac.uk Adrian Fish
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration