Skip to content

Commit

Permalink
fix:mediacenter_filter exclude io refs
Browse files Browse the repository at this point in the history
  • Loading branch information
torsten-simon committed Nov 11, 2024
1 parent 47256ce commit ffb472f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions config/defaults/src/main/resources/metadatasets/xml/mds.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1517,7 +1517,14 @@
</property>
</query>
<query join="AND" id="mediacenter_filter">
<basequery>{"term":{"type":"ccm:io"}}</basequery>
<basequery>{"bool":{"must":[
{"term":{"type":"ccm:io"}}
],
"must_not":[
{"term":{"aspects":"ccm:mediacenter_statistics"}},
{"term":{"aspects":"ccm:collection_io_reference"}}
]}}
</basequery>
<specialFilter>exclude_system_folder</specialFilter>
<specialFilter>exclude_sites_folder</specialFilter>
<specialFilter>exclude_people_folder</specialFilter>
Expand All @@ -1526,9 +1533,6 @@
{"wildcard":{"properties.cm:name.keyword":{"value":"*${value}*"}}},
{"wildcard":{"properties.cclom:title":{"value":"*${value}*"}}},
{"wildcard":{"properties.ccm:replicationsourceid.keyword":{"value":"*${value}*"}}}
],
"must_not":[
{"term":{"aspects":"ccm:mediacenter_statistics"}}
]}}
</statement>
</property>
Expand Down

0 comments on commit ffb472f

Please sign in to comment.