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

DIH status: successful zero-document delta-import missing "" field

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 3.2
    • None
    • None

    Description

      If you have a successful delta-import that happens to process zero documents, the <str name=""> field is not present in the status. I've run into this situation when the SQL query results in an empty set. A workaround for the problem is to instead look for the "Time taken " field ... but if you don't happen to notice that this field has an extraneous space in the name, that won't work either.

      A full-import that processes zero documents has the field present as expected:

      <str name="">Indexing completed. Added/Updated: 0 documents. Deleted 0 documents.</str>

      Attachments

        1. SOLR-2729.patch
          1 kB
          Shawn Heisey

        Issue Links

          Activity

            People

              jdyer James Dyer
              elyograg Shawn Heisey
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: