class SearchSelection(PageSelection): (source)
Method | __init__ |
Undocumented |
Method | search |
Populate this SearchSelection with results for a query. This method flushes any previous results in this set. |
Instance Variable | cancelled |
Undocumented |
Instance Variable | notebook |
Undocumented |
Instance Variable | query |
Undocumented |
Instance Variable | scores |
Undocumented |
Static Method | _and_operator |
Undocumented |
Static Method | _or_operator |
Undocumented |
Method | _content_regex |
Undocumented |
Method | _count_score |
Undocumented |
Method | _name_regex |
Undocumented |
Method | _namespace_regex |
Undocumented |
Method | _process_content |
Undocumented |
Method | _process_from_index |
Undocumented |
Method | _process_group |
Undocumented |
Parameters | |
query | a Query object |
selection | a prior selection to search within, will result in a sub-set |
callback | a function to call in between steps in the search. It is called as: callback(selection, path) Where:
If the callback returns False the search is cancelled. |