Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-29729

Automatically rebuilt search indexes should be searchable straight away and not require a rebuild task to be run

    Details

    • Type: Bug
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.36.0
    • Fix Version/s: None
    • Component/s: Search
    • Notability:
      3

      Description

      Problem
      In NxRM3, if the 'elasticsearch' folder is deleted it will be recreated (and by the looks of it, rebuilt) on start-up however the repositories are not search until the 'Repair - Rebuild repository search' task is run.

      Steps to reproduce

      • ensure you have an NxRM3 instance running that is searchable (using the UI)
      • stop the instance
      • delete the 'elasticsearch' folder
      • restart the instance

      Expected behaviour
      The elasticsearch folder is recreated and indexes rebuilt on start-up so searches work.

      Actual behaviour
      The elasticsearch folder is recreated and the indexes within look to be built however searches (that previously worked) do not return anything. An index rebuild task needs to be run before it is searchable.

      Note

      • I understand this may not be a bug, the initial rebuild of the index on start-up may just be creating stubs/just the lucene schema - and a rebuild task MUST be run in which case please us know.
      • The setting nexus.elasticsearch.autoRebuild appears to make no difference.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            astrachan Alex Strachan
            CC:
            Warren Clarke
            Last Updated By:
            Peter Lynch Peter Lynch
            Team:
            NXRM - Sentinels
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response:

                tigCommentSecurity.panel-title