Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2193

Re-architect Update Handler

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • 4.0-ALPHA
    • None
    • None

    Description

      The update handler needs an overhaul.

      A few goals I think we might want to look at:

      1. Cleanup - drop DirectUpdateHandler(2) line - move to something like UpdateHandler, DefaultUpdateHandler
      2. Expose the SolrIndexWriter in the api or add the proper abstractions to get done what we now do with special casing:
      if (directupdatehandler2)
      success
      else
      failish
      3. Stop closing the IndexWriter and start using commit (still lazy IW init though).
      4. Drop iwAccess, iwCommit locks and sync mostly at the Lucene level.
      5. Keep NRT support in mind.
      6. Keep microsharding in mind (maintain logical index as multiple physical indexes)
      7. Address the current issues we face because multiple original/'reloaded' cores can have a different IndexWriter on the same index.

      Attachments

        1. SOLR-2193.patch
          105 kB
          Robert Muir
        2. SOLR-2193.patch
          104 kB
          Mark Miller
        3. SOLR-2193.patch
          103 kB
          Mark Miller
        4. SOLR-2193.patch
          90 kB
          Mark Miller
        5. SOLR-2193.patch
          79 kB
          Mark Miller
        6. SOLR-2193.patch
          50 kB
          Mark Miller

        Issue Links

          Activity

            People

              markrmiller@gmail.com Mark Miller
              markrmiller@gmail.com Mark Miller
              Votes:
              7 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: