...
Code Block | ||
---|---|---|
| ||
feature:repo-add mvn:org.fcrepo.camel/toolbox-features/4.6.12/xml/features feature:install fcrepo-service-activemq feature:install fcrepo-service-camel feature:install fcrepo-indexing-solrldpath feature:install fcrepo-indexing-ldpathsolr |
Verify - Toolbox Installation
...
No Format |
---|
fcrepo-camel | 4.4.3 | | Started | fcrepo-camel-4.4.3 fcrepo-indexing-solr | 4.6.1 | x | Started | toolbox-features-4.6.12 fcrepo-ldpath | 4.6.1 | x | Started | toolbox-features-4.6.12 fcrepo-service-ldcache-file | 4.6.1 | | Started | toolbox-features-4.6.12 fcrepo-marmotta-osgi | 4.6.1 | | Started | toolbox-features-4.6.12 |
Verify - LDPath
- You should be able to create and navigate to an existing Fedora resource in the web browser, for example http://localhost:8080/fcrepo/rest/collection
- Assuming the resource is named "collection", you should be able to verify that the LDPath service is enabled by navigating to the following URL in a web browser: http://localhost:9086/ldpath/collection
You should see a JSON document such as:
Code Block [{"extent":[],"references":[],"prev":[],"altLabel":[],"type":["http://fedora.info/definitions/v4/repository#Container","http://fedora.info/definitions/v4/repository#Resource","http://www.w3.org/ns/ldp#Container","http://www.w3.org/ns/ldp#RDFSource"],"narrowMatch":[],"relation":[],"accrualMethod":[],"notation":[],"id":["http://localhost:8080/fcrepo/rest/collection"], ... "lastModifiedBy":["bypassAdmin"],"prefLabel":[],"alternative":[],"label":[],"accessTo":[],"createdBy":["bypassAdmin"],"hiddenLabel":[],"comment":[],"accessRights":[],"sameAs":[] }]
Configure Toolbox
The main configuration of the fcrepo-indexing-solr
feature is found at: $KARAF_HOME/etc/org.fcrepo.camel.indexing.solr.cfg
...
- 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 any of the above are true, edit the configuration file (For configuration details, please refer to the documentation found at the fcrepo-indexing-solr github page. If you updated the $KARAF_HOME/etc/org.fcrepo.camel.indexing.solr.cfg
), updating the following elements as necessary:
...
file, it is quite likely that you will also need to update the $KARAF_HOME/etc/org.fcrepo.camel.ldpath.cfg
file. Please refer to the fcrepo-ldpath page on github for configuration details.
Success
You should now be able to create/update/delete resources in your Fedora repository, and subsequently see them in your Solr index!
...