The default solrconfig.xml (from Skeleton App) defines a filter query for /select on objectType = 'simpledoc'.
This leads to trouble (empty result sets), if somebody uses copy and paste for his own application.
It is the aim of the query to filter only "first-class" mycore objects (no derivates or child objects). How can we achieve this with a more general approach?
Environment
None
Activity
Kathleen Neumann
June 27, 2016 at 9:11 AM
merged r35721 to MIR schema
Kathleen Neumann
June 27, 2016 at 9:09 AM
merged r35721 to mycore solr default schema
Robert Stephan
June 24, 2016 at 3:35 PM
define new field objectKind and use it as filter for metadata objects
Robert Stephan
June 24, 2016 at 3:28 PM
we will introduce a new SOLR field "objectKind", that will be filled with the element name of the root element: "mycoreobject" or "mycorederivate".
Thomas Scheffler
June 22, 2016 at 11:53 AM
could be done via: +objectType:* -objectType:derivate -objectType:data_file"
The default solrconfig.xml (from Skeleton App) defines a filter query for
/select
onobjectType = 'simpledoc'
.This leads to trouble (empty result sets), if somebody uses copy and paste for his own application.
It is the aim of the query to filter only "first-class" mycore objects (no derivates or child objects).
How can we achieve this with a more general approach?