Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-8819

Improve the performance of Solr index delete operations by using deleteByQuery instead of deleting each individual entry

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.5
    • Fix Version/s: 5.1-milestone-2
    • Component/s: Search - Solr
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      The current implementation treats both index add and delete uniformly, by computing the list of references to be affected and then the operation is applied. However, for delete operations, this can be simplified when deleting entire containers (spaces, wikis, entire farm).

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              enygma Eduard Moraru
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: