SAGE Import¶
How to Use the Solr API via the Browser¶
In order to build a collection in SAGE, you must first start with a SOLR query that will give you all the works that belong to a collection in Fedora. Because our Solr index follows our Fedora models closely, this isn’t always easy to guess, so you often times need to experiment with a few requests to determine the string to add to your READER in SAGE.
Our Solr instances aren’t publicly available, so you have two choices:
Find a pod in Rancher with
curl
installed and make a request via the Solr API orMake a proxy request via Rancher to Solr in your browser.
In order to do number 2, the pod in Rancher must have an additional port forwarded to 80
, 8080
, or
443
. You can tell if this is enabled by accessing the Services
tab in the pod. If this has been done,
the Target
tab will have an anchor.
Assuming an additional port has been added to the pod, you should be able to do a request like this:
This will require authenticating to Rancher first as you’ll be proxying your request through it.