Difference between revisions of "Journal Concepts"

From Dryad wiki
Jump to: navigation, search
(Internal Storage)
m (ImportJournal2Authority doesn't take an argument -b)
Line 4: Line 4:
  
 
To configure the first time:
 
To configure the first time:
* load the authority.sql script to create tables
+
 
<pre>
+
*load the authority.sql script to create tables
psql < /opt/dryad/etc/postgres/authority.sql
+
<pre>psql < /opt/dryad/etc/postgres/authority.sql
 
</pre>
 
</pre>
 
+
*load the journal-types registry
* load the journal-types registry
+
<pre>/opt/dryad/bin/dsrun org.dspace.administer.MetadataImporter -f /opt/dryad/config/registries/journal-types.xml
<pre>
 
/opt/dryad/bin/dsrun org.dspace.administer.MetadataImporter -f /opt/dryad/config/registries/journal-types.xml
 
 
</pre>
 
</pre>
 
+
*Import the data from the journal config file. This will use the properties file identified by /opt/dryad/config/dspace.cfg
* Import the data from the journal config file. This will use the properties file identified by /opt/dryad/config/dspace.cfg
+
<pre>/opt/dryad/bin/dspace dsrun  org.datadryad.authority.ImportJournal2Authority
<pre>
 
/opt/dryad/bin/dspace dsrun  org.datadryad.authority.ImportJournal2Authority -b
 
 
</pre>
 
</pre>
 
 
== Internal Storage ==
 
== Internal Storage ==
  
Line 26: Line 21:
  
 
The primary storage for authority control is in the Concept and Term tables, but the terms are indexed into the solr authority core.
 
The primary storage for authority control is in the Concept and Term tables, but the terms are indexed into the solr authority core.
 
+
[[Category:Technical Documentation|Technical_Documentation]]
[[Category:Technical Documentation]]
 

Revision as of 13:52, 20 March 2015

Journal metadata is managed by the DSpace Editable Authority Control system.

Configuration

To configure the first time:

  • load the authority.sql script to create tables
psql < /opt/dryad/etc/postgres/authority.sql
  • load the journal-types registry
/opt/dryad/bin/dsrun org.dspace.administer.MetadataImporter -f /opt/dryad/config/registries/journal-types.xml
  • Import the data from the journal config file. This will use the properties file identified by /opt/dryad/config/dspace.cfg
/opt/dryad/bin/dspace dsrun  org.datadryad.authority.ImportJournal2Authority

Internal Storage

Each journal is a concept in the authority control system.

Each version of the journal name is a term.

The primary storage for authority control is in the Concept and Term tables, but the terms are indexed into the solr authority core.