Solr
  1. Solr
  2. SOLR-283

Autocomit not work for delete operation

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.3
    • Component/s: update
    • Labels:
      None
    • Environment:

      Windows XP sp2, java 1.6 u1

      Description

      autocommit not work for deletion from index
      deleted items are pending for deletion

      <autoCommit>
      <maxDocs>10000</maxDocs>
      <!-- max store time in queue = 1 min -->
      <maxTime>60000</maxTime>
      </autoCommit>

        Activity

        Hide
        Ryan McKinley added a comment -

        Adding:
        if( tracker.timeUpperBound > 0 )

        { tracker.scheduleCommitWithin( tracker.timeUpperBound ); }

        after delete and delteByQuery

        Added tests

        Show
        Ryan McKinley added a comment - Adding: if( tracker.timeUpperBound > 0 ) { tracker.scheduleCommitWithin( tracker.timeUpperBound ); } after delete and delteByQuery Added tests
        Hide
        Sergey Dryganets added a comment -

        thank you it's work fine now

        Show
        Sergey Dryganets added a comment - thank you it's work fine now

          People

          • Assignee:
            Ryan McKinley
            Reporter:
            Sergey Dryganets
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development