...
Code Block |
---|
|
curl -v -X POSTPUT -H "Content-Type: applicationtext/sparql-updateturtle" --data-binary "@object.rdf" "http://localhost:8080/rest/indexableObject" |
Code Block |
---|
title | object.rdf |
---|
linenumbers | true |
---|
|
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 { }
|
Ensure that the records are committed to solr (either through an explicit commit or waiting until the configured commit period is up) and then see that they show up.