Adjust default query in UI to exclude relation child records
datadavev opened this issue · comments
Dave Vieglais commented
After adding child records to solr, the total record count now includes any child records as well as the parents resulting in inflated record counts.
Child records may be excluded by adding the phrase AND NOT relation_type:*
(or any equivalent syntax such as !relation_type:*
or -relation_type:*
) to queries being sent to solr.
For example, all parent records can be found with:
*:* AND -relation_target:*