Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-13795

eZSolrBase::addDocs() should check if solr returns error

    XMLWordPrintable

Details

    Description

      Hi

      The function addDocs() doesn't return any error in case of error during indexing.
      Based on the result solr returns it is quite obvious that the format is experimental(subject to change), but I still think it should be parsed and validated.

      When addDocs() is then called from eZSolr::addObject(), the result should then be checked and an error should at least be logged.

      Maybe also eZSolr::addObject() should return true/false based on the result ?

      A patch for the validating is attached.

      Attachments

        Activity

          People

            pborgerm pborgerm
            vl vl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: