Copy link to clipboard
Copied
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,
^ _ ^
Copy link to clipboard
Copied
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,
^ _ ^
Copy link to clipboard
Copied
Nevermind. Somehow fixed it.
<cfindex collection="myCollection" action="update" autocommit="yes" keys="qid" body="question, uid, alias" type="custom" query="myQuery" />
V/r,
^ _ ^