...
Note that for solr indexing the field name (such as id, title, and uuid) must be match the fields that are defined in the solr schema.xml (see solr documentation: https://cwiki.apache.org/confluence/display/solr/Solr+Field+Types). One recommended schema.xml is provided by hydra-jetty (https://github.com/projecthydra/hydra-jetty/blob/master/solr/development-core/conf/schema.xml) which has a robust set of default dynamic fields.
...
Code Block | ||
---|---|---|
| ||
curl -X POST -H "Content-Type: application/n3" "http://localhost:8080/rest/anIndexableObject" -d "@body.rdf" body.rdf: @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix indexing:<http://fedora.info/definitions/v4/indexing#>. <> rdf:type <http://fedora.info/definitions/v4/indexing#indexable> <> indexing:hasIndexingTransformation "default". |
...