diff --git a/share/tasks/__init__.py b/share/tasks/__init__.py index 4c4baecbe..fa93ccf76 100644 --- a/share/tasks/__init__.py +++ b/share/tasks/__init__.py @@ -79,14 +79,6 @@ def schedule_index_backfill(self, index_backfill_pk): .exclude(source_config__source__is_deleted=True) .values_list('id', flat=True) ) - elif _messagetype == MessageType.BACKFILL_IDENTIFIER: - _targetid_queryset = ( - trove_db.ResourceIdentifier.objects - .exclude(suid_set__source_config__disabled=True) - .exclude(suid_set__source_config__source__is_deleted=True) - .values_list('id', flat=True) - .distinct() - ) else: raise ValueError(f'unknown backfill messagetype {_messagetype}') _chunk_size = settings.ELASTICSEARCH['CHUNK_SIZE'] diff --git a/trove/trovesearch/search_params.py b/trove/trovesearch/search_params.py index 67469e80f..c4ecabbd1 100644 --- a/trove/trovesearch/search_params.py +++ b/trove/trovesearch/search_params.py @@ -468,10 +468,9 @@ class CardsearchParams(BaseTroveParams): cardsearch_textsegment_set: frozenset[Textsegment] cardsearch_filter_set: frozenset[SearchFilter] index_strategy_name: str | None - sort_list: tuple[SortParam] + sort_list: tuple[SortParam, ...] page_cursor: PageCursor related_property_paths: tuple[Propertypath, ...] - unnamed_iri_values: frozenset[str] @classmethod def parse_queryparams(cls, queryparams: QueryparamDict) -> dict: @@ -485,7 +484,6 @@ def parse_queryparams(cls, queryparams: QueryparamDict) -> dict: 'page_cursor': _get_page_cursor(queryparams), 'include': None, # TODO 'related_property_paths': _get_related_property_paths(_filter_set), - 'unnamed_iri_values': frozenset(), # TODO: frozenset(_get_unnamed_iri_values(_filter_set)), } def to_querydict(self) -> QueryDict: