def __init__(self, host, port, **kwargs): Observable.__init__(self, **kwargs) self._connect = _Connect(host, port, observable=self)
def __init__(self, host, port, defaultCore): Observable.__init__(self) self._defaultCore = defaultCore self._connect = _Connect(host, port, observable=self)
def _connect(self): host, port = (self._host, self._port) if self._host else self.call.luceneServer() return _Connect(host, port, pathPrefix = "/" + self._name, observable=self)
def _connect(self): host, port = (self._host, self._port) if self._host else self.call.luceneServer() return _Connect(host, port, observable=self)
def __init__(self, host, port, settings, name, **kwargs): Observable.__init__(self, name=name) self._connect = _Connect(host, port, pathPrefix = "/" + name, observable=self) self.settings = settings self._fieldRegistry = settings.fieldRegistry self._name = name
def __init__(self, host, port, **kwargs): super(SuggestionIndexComponent, self).__init__(**kwargs) self._connect = _Connect(host, port, observable=self)