示例#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)