• Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • 5.2
    • Indexing
    • None
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      when I reindex the database (necessary whenever doing bulk updates via sql), it affects all users in the system at the time – nobody can search while the index is being rebuilt. it would be better/safer to build new indexes in a new location and do a quick swap-out of the old ones, to minimize impact on end-users.

            [JRASERVER-2522] two-phase issue reindexing

            Hi
            We developed a plugin that can do full or partial background re-indexing without any downtimes.
            https://plugins.atlassian.com/plugin/details/44395

            Kaarel Lumi added a comment - Hi We developed a plugin that can do full or partial background re-indexing without any downtimes. https://plugins.atlassian.com/plugin/details/44395

            This is a good idea. The ability for users to be able to access Jira in read-only mode while indexing occurs would be awesome.

            David Corley added a comment - This is a good idea. The ability for users to be able to access Jira in read-only mode while indexing occurs would be awesome.

            Tim Dawson added a comment -

            I guess what I was suggesting wasn't writing the index from multiple threads, but to write the index to a separate location and still be able to read the old index meanwhile)

            Tim Dawson added a comment - I guess what I was suggesting wasn't writing the index from multiple threads, but to write the index to a separate location and still be able to read the old index meanwhile)

            This is not really possible, as Lucene doesn't allow you to write to indexes from multiple threads.

            Scott Farquhar added a comment - This is not really possible, as Lucene doesn't allow you to write to indexes from multiple threads.

              Unassigned Unassigned
              d32fc554e6cd Tim Dawson
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: