3.1.12 Sets
It is possible to define your own sets using a Solr query.
A set always consists of setName
, setSpec
and setQuery
. setName
is a label for the set. This value is also displayed in the OAI-PMH interface. setSpec
is the internal name used to address the set. This name is also used within GET requests, so it should not contain any special characters. setQuery
defines the search query to be used. The complete Solr syntax can be used.
Additionally there is the possibility to create a set for each existing value of an index field (for example all collection names). For this an element allValuesSet
is defined, which has the corresponding Solr field name as text value.
Some fields like DC
or DOCSTRCT
are written to all Solr documents in a record.
This means that only filtering for them is not sufficient. To filter only records and anchor records that meet this condition, the following constraint must be added to the Solr query: +(ISWORK:true ISANCHOR:true)
.
Last updated