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

Method __init__

haystack/fields.py:290–294  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

288 field_type = "ngram"
289
290 def __init__(self, **kwargs):
291 if kwargs.get("faceted") is True:
292 raise SearchFieldError("%s can not be faceted." % self.__class__.__name__)
293
294 super().__init__(**kwargs)
295
296
297class EdgeNgramField(NgramField):

Callers

nothing calls this directly

Calls 3

SearchFieldErrorClass · 0.90
getMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected