...
- you should be presented with some ASCII art in your terminal
you should be put into the Karaf client shell, such as:
No Format __ __ ____ / //_/____ __________ _/ __/ / ,< / __ `/ ___/ __ `/ /_ / /| |/ /_/ / / / /_/ / __/ /_/ |_|\__,_/_/ \__,_/_/ Apache Karaf (4.0.2) karaf@root()>
Note, to exit the Karaf client shell, type: "ctrl d"
...
- Your Solr is deployed at a URL different than the one detailed earlier in this document
- Your Fedora is deployed at a URL different than the one detailed earlier in this document
- Your Fedora has Authorization enabled, e.g. WebAC
If either any of the above are true, edit the configuration file ($KARAF_HOME/etc/org.fcrepo.camel.indexing.solr.cfg), updating the following elements as necessary:
No Format |
---|
# If the fedora repository requires authentication, the following values can be set: fcrepo.authUsername= fcrepo.authPassword= ... # The baseUrl for the fedora repository. fcrepo.baseUrl=localhost:8080/fcrepo/rest ... # The baseUrl for the Solr server. If using Solr 4.x or better, the URL should include # the core name. solr.baseUrl=localhost:8983/solr/collection1 |
...
You should now be able to create/update/delete resources in your Fedora repository, and subsequently see them in your Solr index!
Resources
For debugging purposes, you may want to inspect the logs of the various applications:
...