Skip to main content
WolfShade
Legend
September 13, 2019
Question

SOLR not found

  • September 13, 2019
  • 2 replies
  • 180 views

Hello, all,

 

Trying to index a database for a SOLR collection, and getting a not found error message:

"Error from server http://{AN IP ADDRESS}:8989/solr/myCollection: Expected mime type application/xml, got text/html.  Error 404 not found.  Problem accessing /solr/myCollection/dataimport  Reason: Not found"

 

Now looking in {drive}:\CF2016\cfusion\jetty\multicore\collections\myCollection, there are two folders and a file.  Folders are conf and data, file is core.properties.  I am not seeing a dataimport folder.  Not sure why.  Thoughts?

 

V/r,

 

^ _ ^

    This topic has been closed for replies.

    2 replies

    WolfShade
    WolfShadeAuthor
    Legend
    September 18, 2019

    Nevermind.  Somehow fixed it.

     

    <cfindex collection="myCollection" action="update" autocommit="yes" keys="qid" body="question, uid, alias" type="custom" query="myQuery" />

     

    V/r,

     

    ^ _ ^

    WolfShade
    WolfShadeAuthor
    Legend
    September 16, 2019

    It doesn't matter if I use the CFCOLLECTION tag to create the collection, or if I create the collection in the CFAdmin, I'm still getting a 404 error.  Does anyone know why I would be getting a 404 error on a freshly created SOLR collection?

     

    V/r,

     

    ^ _ ^