SciPost_v1.signalprocessors module

SciPost_v1.signalprocessors.remove_objects_indexes(sender_type_id, object_type_id, object_id)[source]

Given a set of objects model instances, remove them from the index as preparation for the new index.

SciPost_v1.signalprocessors.update_instance_indexes(sender_type_id, object_type_id, object_id)[source]

Given an individual model instance, update its entire indexes.

class SciPost_v1.signalprocessors.SearchIndexingProcessor(connections, connection_router)[source]

Bases: haystack.signals.BaseSignalProcessor

handle_save(sender, instance, **kwargs)[source]

Given an individual model instance, determine which backends the update should be sent to & update the object on those backends.