Hey there,
Is it possible to combine an XML collection and a file-copy collection into a meta-collection? If so, will metadata classes be grouped together as expected?
Hey there,
Is it possible to combine an XML collection and a file-copy collection into a meta-collection? If so, will metadata classes be grouped together as expected?
Hi Aleks -
Simultaneously querying and co-ranking different collection types is exactly what meta collections are designed for.
Some prior planning is recommended when it comes to aligning metadata mappings, though. You'll generally be wanting to map analogous concepts across collections (e.g. Type =~ Category; Author =~ Contributor). When implementing, either:
Component collections may operate perfectly well in isolation, but mixing incompatible index types in a meta collection will produce a Public UI error: [68] Indexes written in an incompatible format. check_bldinfo()
Overloading metadata fields is certainly feasible:
xml-collection/xml.cfg:
a,1,//author
file-copy-collection/metamap.cfg:
a,1,DCTERMS.author
meta-collection/collection.cfg:
query_processor_options=-SM=both -SF=a
One thing to take into consideration with mapping metadata is that field types must be identical across all components of a meta collection. If you map a field as standard (i.e. interpret as string pretty much) in one component, you can not map it as numerical in another. Doing so will cause field width mismatches due to the underlying nature of the numerical fields, so do take that into consideration.