Uploaded image for project: 'Spring Data for Apache Solr'
  1. Spring Data for Apache Solr
  2. DATASOLR-363

SolrTeplate now appends the domain object name to solr url

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Waiting for Feedback
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1 RC1 (Ingalls)
    • Fix Version/s: None
    • Component/s: Repository
    • Labels:
      None
    • Environment:
      JDK8 Windows and CentOS
    • Sprint:
      Kay RC1, Kay RC3, Kay GA, Kay SR1, Lovelace M1, Lovelace M2 / M3, Lovelace RC1, Lovelace GA, Lovelace SR1, Moore RC1, Moore RC2, Moore SR1, Moore SR2, Neumann M3, Neumann M4, Neumann RC1, 2020.0.0 - Ockham M1

      Description

      When I updated from 2.0.5 to 2.1.0.RELEASE the respository operations fail because it seems that SOlrTemplate is appending the domain object class name (to lower case) to the url of the solr server

      My existing solr url is http://localhost:8983/solr/coreNlpStc but now it tries to access

      Caused by: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://localhost:8983/solr/coreNlpStc: Expected mime type application/octet-stream but got text/html. <html>
      <head>
      <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
      <title>Error 404 Not Found</title>
      </head>
      <body><h2>HTTP ERROR 404</h2>
      <p>Problem accessing /solr/coreNlpStc/outputsentence/update. Reason:
      <pre>    Not Found</pre></p>
      </body>
      </html>
      

      My domain object is named OutputSentence

      If this is a result of a new feature added to 2.1.0 please indicate how do I resolve my problem ini the new version

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cstrobl Christoph Strobl
              Reporter:
              biliboc constantin mitocaru
              Last updater:
              Christoph Strobl
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: