MCPcopy Index your code
hub / github.com/django-haystack/django-haystack / reload_indexes

Function reload_indexes

haystack/models.py:250–257  ·  view source on GitHub ↗
(sender, *args, **kwargs)

Source from the content-addressed store, hash-verified

248
249
250def reload_indexes(sender, *args, **kwargs):
251 from haystack import connections
252
253 for conn in connections.all():
254 ui = conn.get_unified_index()
255 # Note: Unlike above, we're resetting the ``UnifiedIndex`` here.
256 # Thi gives us a clean slate.
257 ui.reset()

Callers

nothing calls this directly

Calls 3

get_unified_indexMethod · 0.80
resetMethod · 0.80
allMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…