From 937273d4e3cf455d87700526499ca3a42f3e73b4 Mon Sep 17 00:00:00 2001 From: orbiter Date: Tue, 17 Dec 2013 14:02:27 +0100 Subject: added parsing of metadata to surrogate reading: a dublin core record inside of surrogate input files may now contain tokens within the namespace 'md' (short for: metadata). The token names must be valid withing the namespace of the solr field names. All md-tokens inside of surrogate files then overwrite values within solr documents before they are written to the solr index. This makes it possible to assign collection names to each surrogate entry and also ranking information can be added. Please see the example file. --- examples/surrogate_dublin_core.xml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/surrogate_dublin_core.xml b/examples/surrogate_dublin_core.xml index 2558b1a62..aa574c2df 100644 --- a/examples/surrogate_dublin_core.xml +++ b/examples/surrogate_dublin_core.xml @@ -15,7 +15,9 @@ --> + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:md="http://localhost:8090/api/schema.xml?core=collection1" +> @@ -23,6 +25,15 @@ de 2009-03-02T11:12:36Z + Alan Smithee + Geschichte + Entstehung + Aufdeckung und Abkehr + Verwendung + Literatur + Weblinks + Referenzen + surrogate -- cgit v1.2.3