Package tlib :: Package base :: Module SearchEngineLoader :: Class SearchEngineLoader |
[hide private]
[frames] | no frames]

# Class SearchEngineLoader

source code

    object --+
             |
            SearchEngineLoader

Nested Classes | [hide private]
| OperationError

Instance Methods | [hide private]
__init__(self, host, username, key) Created an instance of this object | source code
load_xmlgen(self, xmlfile, logger) Loads a xmlgen file to the server and starts a re-index of the search engine | source code
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, host, username, key) (Constructor) | source code
Created an instance of this object Parameters: `host` (str) - IP address of host of server to connect `username` (str) - Username used to connect `key` (str) - Path to the ssh key used for authentication Overrides: object.__init__

### load_xmlgen(self, xmlfile, logger) | source code
Loads a xmlgen file to the server and starts a re-index of the search engine Parameters: `xmlfile` (str) - XML text to load on the search engine