Skip to content

Commit

Permalink
fix: include all related properties, not just 11
Browse files Browse the repository at this point in the history
  • Loading branch information
aaxelb committed Aug 23, 2023
1 parent b2774bd commit 7d1b5fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions share/search/index_strategy/trove_indexcard.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ def _cardsearch_aggs(self, cardsearch_params):
iri_path_as_keyword(_path)
for _path in cardsearch_params.related_property_paths
],
'size': len(cardsearch_params.related_property_paths),
},
},
},
Expand All @@ -406,6 +407,7 @@ def _cardsearch_aggs(self, cardsearch_params):
iri_path_as_keyword(_path)
for _path in cardsearch_params.related_property_paths
],
'size': len(cardsearch_params.related_property_paths),
},
},
},
Expand All @@ -420,6 +422,7 @@ def _cardsearch_aggs(self, cardsearch_params):
iri_path_as_keyword(_path)
for _path in cardsearch_params.related_property_paths
],
'size': len(cardsearch_params.related_property_paths),
},
},
},
Expand Down
1 change: 1 addition & 0 deletions share/search/index_strategy/trove_indexcard_flats.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ def _cardsearch_aggs(self, cardsearch_params):
iri_path_as_keyword(_path)
for _path in cardsearch_params.related_property_paths
],
'size': len(cardsearch_params.related_property_paths),
}},
'global_agg': {
'global': {},
Expand Down

0 comments on commit 7d1b5fe

Please sign in to comment.