Project

General

Profile

« Previous | Next » 

Revision 7576

Added by Jing Tao over 11 years ago

Add documents for updating solr index.

View differences:

metacat-index/src/test/resources/eml-updating-system-meta-example.xml
1
<?xml version="1.0" encoding="UTF-8"?><d1:systemMetadata xmlns:d1="http://ns.dataone.org/service/types/v1"><identifier>urn:uuid:606a19dd-b531-4bf4-b5a5-6d06c3d39099</identifier><formatId>eml://ecoinformatics.org/eml-2.1.1</formatId><size>585</size><checksum algorithm="MD5">e4860c218a14597ac3cacf75b621328b</checksum><rightsHolder>public</rightsHolder><accessPolicy><allow><subject>public</subject><permission>read</permission></allow></accessPolicy><replicationPolicy replicationAllowed="true" numberReplicas="2"/><obsoletes>urn:uuid:606a19dd-b531-4bf4-b5a5-6d06c3d39098</obsoletes><archived>false</archived><dateSysMetadataModified>2013-04-11T17:54:25.462+00:00</dateSysMetadataModified><authoritativeMemberNode>TBD</authoritativeMemberNode></d1:systemMetadata>
metacat-index/src/test/resources/eml-example.xml
1 1
<?xml version="1.0" encoding="UTF-8"?>
2 2
<eml:eml packageId="urn:uuid:606a19dd-b531-4bf4-b5a5-6d06c3d39098" system="knb" xmlns:eml="eml://ecoinformatics.org/eml-2.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.1 eml.xsd">  <dataset> <title>test</title>
3
 <creator id="1365702846270"> <individualName><surName>test</surName>
3
 <creator id="1365702846270"> <individualName><surName>test version1</surName>
4 4
</individualName>
5 5
</creator>
6 6
 <keywordSet><keyword>test</keyword>
metacat-index/src/test/resources/eml-updating-example.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<eml:eml packageId="urn:uuid:606a19dd-b531-4bf4-b5a5-6d06c3d39099" system="knb" xmlns:eml="eml://ecoinformatics.org/eml-2.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.1 eml.xsd">  <dataset> <title>Test version2</title>
3
 <creator id="1365702846270"> <individualName><surName>test</surName>
4
</individualName>
5
</creator>
6
 <keywordSet><keyword>test</keyword>
7
</keywordSet>
8
<contact id="1365702851795"><individualName><surName>test</surName>
9
</individualName>
10
</contact>
11
</dataset>
12
 </eml:eml>

Also available in: Unified diff