Uploaded image for project: 'MyCoRe'
  1. MCR-1319

solr indexing fails on large mets.xml

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2014.12, 2015.02, 2015.11, 2016.02
    • Fix Version/s: 2016.12, 2016.06.0.2
    • Component/s: mycore-solr
    • Labels:
      None

      Description

      Indexing large mets.xml fails because the "content" of the solr document is appended to the URL parameter list. The URL size gets larger than 8192 characters which is forbidden.

      Solution: remove the code from MCRSolrPathDocumentFactory#getDocument which handles mets.xml files. There should be no need to append the content to the URL, because the TIKA plugin of solr handles xml quite well.

        Attachments

          Activity

            People

            • Assignee:
              mcrmeich Matthias Eichner
              Reporter:
              mcrmeich Matthias Eichner
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: