# Class e.p.s.t.t.HangingSearcher(Searcher):

Part of elisa.plugins.search.tests.test_search_metaresource View In Hierarchy

Undocumented

Line # | Kind | Name | Docs
--- | --- | --- | ---
65 | Method | __init__ | Undocumented
67 | Method | cancel | Undocumented
69 | Method | search | Trigger a search for `uri` and fill the `result_model` with the

Inherited from Searcher:

Line # | Kind | Name | Docs
--- | --- | --- | ---
76 | Method | _query_provider | Internal helper method: query for the resource provider definded by the

Inherited from Component (via Searcher):

Line # | Kind | Name | Docs
--- | --- | --- | ---
85 | Class | PathDescriptor | Undocumented
97 | Class Method | create | Create and initialize the component.
130 | Method | initialize | Initialize the component.
142 | Method | clean | Clean the component.

def __init__(self):
overrides elisa.plugins.search.searcher.Searcher.__init__
Undocumented
def cancel(self, dfr):
Undocumented
def search(self, *args):
overrides elisa.plugins.search.searcher.Searcher.search
Trigger a search for `uri` and fill the `result_model` with the results.

Parameters | uri | the original URI that was requested. See the corresponding documentation in `SearchMetaresource.get` for more informations about it. (type: `elisa.core.media_uri.MediaUri` )
| result_model | containing the result for this search and should be filled asynchronously in background (type: one of `elisa.plugins.search.result_models` )
Returns | fired whenever the search is done (type: `elisa.core.utils.cancellable_defer.CancellableDeferred` )