Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-3768

Solr parse error by harvesting

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.3
    • Fix Version/s: 6.3, 7.0
    • Component/s: None
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      8
    • Documentation Status:
      Not Required

      Description

      An error is logged into the dspace-log every time when a user tries to access the RSS-Feed. This is triggered by every call after the first call from RSS Feeds.
      ERROR org.dspace.search.Harvest @ org.apache.solr.search.SyntaxError: Cannot parse 'location:bc68a3dc-d863-418c-9c56-ffa94a02e3c4:[* TO *]': Encountered " ":" ": "" at line 1, column 45.
      After investigation, we found that some Solr requirements and syntaxes are not set properly in theĀ org.dspace.search.Harvest.java class:

      1. The field "location" needs always to distinguish between community and collection
      2. Date comparisons have to be expressed with date ranges by using the range syntax [ TO ]

        Attachments

          Activity

            People

            Assignee:
            kshepherd Kim Shepherd
            Reporter:
            haoueclf Marsa Haoua
            Reviewer:
            Kim Shepherd Kim Shepherd
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: