...
Code Block | ||
---|---|---|
| ||
curl -X POST -H "Content-Type: application/json" -d-data-binary "@solr-fields.json" "http://localhost:8983/solr/schema/fields" |
...
Code Block | ||
---|---|---|
| ||
curl -X POST -H "Content-Type: application/sparql-update" --data-binary "@object.rdf" "http://localhost:8080/rest/indexableObject" -d "@object.rdf" |
Code Block | ||||
---|---|---|---|---|
| ||||
PREFIX dc: <http://purl.org/dc/elements/1.1/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX indexing: <http://fedora.info/definitions/v4/indexing#> DELETE { } INSERT { <> indexing:hasIndexingTransformation "default"; rdf:type indexing:indexable; dc:title "This title will show up in the index." } WHERE { } |
...