Skip to content

Commit

Permalink
Merge pull request #52 from bento-platform/fix/search-index-check
Browse files Browse the repository at this point in the history
fix: index check on search results
  • Loading branch information
v-rocheleau authored Feb 12, 2024
2 parents f508dc7 + 19a09ec commit 1fceab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bento_aggregation_service/search/dataset_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ async def run_search_on_dataset(
)

# Compute the intersection between the sets of results
results = dataset_linked_fields_results[0]
results = dataset_linked_fields_results[0] if len(dataset_linked_fields_results) > 0 else []
for r in dataset_linked_fields_results:
results.intersection_update(r)

Expand Down

0 comments on commit 1fceab4

Please sign in to comment.