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

Method reset

haystack/utils/loading.py:231–236  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

229 return indexes
230
231 def reset(self):
232 self._indexes = {}
233 self.fields = OrderedDict()
234 self._built = False
235 self._fieldnames = {}
236 self._facet_fieldnames = {}
237
238 def build(self, indexes=None):
239 self.reset()

Callers 5

buildMethod · 0.95
reload_indexesFunction · 0.80
setUpClassMethod · 0.80
setUpMethod · 0.80

Calls

no outgoing calls

Tested by 3

setUpClassMethod · 0.64
setUpMethod · 0.64