Hi Paul, to my knowledge, there is no easy way of adding additional metadata to search. Entwine has recently been looking into this issue and found that it will mean a rewrite of the search service implementation as well as other parts of the system. After all, the search service implementation was meant as a starting point because it was clear that the current implementation would not fit the needs of everyone.
That being said, if you'd like to look into extending the metadata support, here are some starting points: - the solf schema definition, which can be found in matterhorn-search-impl:/src/main/resources/solr - the search service implementation itself. start with the add(Mediapackage) method and drill down to the solr index manager (persistence) - the search query to allow for api based searching, e. g query.withSussexMetadataItemX(...) - the rest endpoint to allow for specification of the additional search terms All this is quite a bit of work to do, and we are looking into making this much easier. However, this won't see any efforts prior to 1.4 being out, so don't expect anything until early 1.5. Tobias On 17.10.2012, at 15:30, Paul Gration <[email protected]> wrote: > Hi all, > > Using 1.3.1 we're looking at adding some extra metadata to media packages > that contain information about our recordings (stuff that isn't in the > standard Dublin Core metadata set). What is the best way forward to do this? > > I've found the following online which look interesting: > > http://lists.opencastproject.org/pipermail/matterhorn/2011-September/017138.html > > http://opencast.jira.com/wiki/display/MH/Customizing+Dublin+Core+Catalogs > > Following on from that we then need to be able to search specifically for the > additional metadata..Looking through the documentation / testing facilities > for matterhorn there is a search within the Episode and Search REST APIs. > Both of which seem to have a free text field search and the search one also > has a lucene search to target specific DC fields. However the searches seem > to target specific data tags to search, if we're adding additional metadata > tags, how can we ensure these get included in the search as well? > > Thanks, > > Paul > -- > Paul Gration > Multimedia Development > University of Sussex > +44 (0) 1273 873269 > _______________________________________________ > Matterhorn-users mailing list > [email protected] > http://lists.opencastproject.org/mailman/listinfo/matterhorn-users _______________________________________________ Matterhorn-users mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
