Dear Allan,
On 01/10/2013 01:38 PM, Allan Oware wrote:
[...] how are the records mapped to different
document types and subsequently collections ?
The mapping is done dynamically, via the collection query definition.
On key concept to understand in Invenio is that records are never
uploaded/submitted to a given collection, but are simply inserted into
the database.
Then collections are defined to include some of these records, based on
the collection query definition and the records metadata:
<http://invenio-demo.cern.ch/help/admin/websearch-admin-guide#3.1>
<record>
<datafield tag="100" ind1=" " ind2=" ">
<subfield code="a">Doe, John</subfield>
</datafield>
<datafield tag="245" ind1=" " ind2=" ">
<subfield code="a">On The Foo And Bar</subfield>
</datafield>
</record>
From the marc xml sample above, is there a tag or attributes that can
indicate whether the record is a - journal or thesis ?
The collection information is typically recorded in 980__a MARC field.
See:
<http://invenio-demo.cern.ch/help/admin/howto-marc>
When uploading your records you would take care of adding such field
(you should know the value, based on your input source). You could
also very well define a collection based on another field.
Best regards
--
Jerome Caffaro ** CERN Document Server ** <http://cds.cern.ch/>