예제 #1
0
    def __init__(self, meta=None, **kwargs):
        super(Geocomplete, self).__init__(meta, **kwargs)

        if self.index in compute_index_name(self.index):
            self._doc_type.index = compute_index_name(self.index)
예제 #2
0
 def __init__(self, meta=None, **kwargs):
     super(Company, self).__init__(meta, **kwargs)
     self._doc_type.index = compute_index_name(self.index)
예제 #3
0
 def __init__(self, meta=None, **kwargs):
     super(Job, self).__init__(meta, **kwargs)
     self._doc_type.index = compute_index_name(self.index)
예제 #4
0
    def __init__(self, meta=None, **kwargs):
        super(Geocomplete, self).__init__(meta, **kwargs)

        if self.index in compute_index_name(self.index):
            self._doc_type.index = compute_index_name(self.index)