Zeitgeist.Index¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Zeitgeist.Index(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Return type:
- search(query, time_range, event_templates, offset, num_events, result_type, cancellable, _callback_, *_callback__target)¶
- Parameters:
query (
str
) –time_range (
Zeitgeist.TimeRange
) –event_templates ([
Zeitgeist.Event
]) –offset (
int
) –num_events (
int
) –result_type (
Zeitgeist.ResultType
) –cancellable (
Gio.Cancellable
orNone
) –_callback_ (
Gio.AsyncReadyCallback
orNone
) –
- search_finish(_res_)¶
- Parameters:
_res_ (
Gio.AsyncResult
) –- Raises:
- Return type:
- search_with_relevancies(query, time_range, event_templates, storage_state, offset, num_events, result_type, cancellable, _callback_, *_callback__target)¶
- Parameters:
query (
str
) –time_range (
Zeitgeist.TimeRange
) –event_templates ([
Zeitgeist.Event
]) –storage_state (
Zeitgeist.StorageState
) –offset (
int
) –num_events (
int
) –result_type (
Zeitgeist.ResultType
) –cancellable (
Gio.Cancellable
orNone
) –_callback_ (
Gio.AsyncReadyCallback
orNone
) –
- search_with_relevancies_finish(_res_)¶
- Parameters:
_res_ (
Gio.AsyncResult
) –- Raises:
- Return type:
(
Zeitgeist.ResultSet
, relevancies: [float
])