def __init__(self, xmlrpc_server, fetch_increment=200): SearchEngine.__init__(self) if _use_pyxmlrpc: (host, port) = xmlrpc_server.split(':') self._server = client(host, int(port)) else: self._server = Server("http://" + xmlrpc_server) self._fetch_increment = fetch_increment
def __init__(self, lupy_index_dir="/www/var/qon_lupy"): SearchEngine.__init__(self) self._lupy_index_dir = lupy_index_dir self._lupy_queue = []