Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-5142 Block Indexing / Join Improvements
  3. SOLR-5211

updating parent as childless makes old children orphans

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 4.5, 6.0
    • 8.0
    • update
    • None

    Description

      if I have parent with children in the index, I can send update omitting children. as a result old children become orphaned.
      I suppose separate _root_ fields makes much trouble. I propose to extend notion of uniqueKey, and let it spans across blocks that makes updates unambiguous.
      WDYT? Do you like to see a test proves this issue?

      Attachments

        1. SOLR-5211.patch
          10 kB
          Dr Oleg Savrasov
        2. SOLR-5211.patch
          16 kB
          Dr Oleg Savrasov
        3. SOLR-5211.patch
          23 kB
          Dr Oleg Savrasov
        4. SOLR-5211.patch
          28 kB
          mosh
        5. SOLR-5211.patch
          2 kB
          mosh
        6. SOLR-5211_docs.patch
          7 kB
          David Smiley

        Issue Links

          Activity

            People

              dsmiley David Smiley
              mkhl Mikhail Khludnev
              Votes:
              5 Vote for this issue
              Watchers:
              22 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 40m
                  3h 40m