Zeitgeist.Index – zeitgeist-2.0 – Vala Binding Reference

Zeitgeist.Index – zeitgeist-2.0 Reference Manual

# Index

## Object Hierarchy:

## Description:

public class Index : QueuedProxyWrapper

Query the Zeitgeist Full Text Search Extension

include: zeitgeist.h

Namespace: Zeitgeist
Package: zeitgeist-2.0

## Content:

### Creation methods:

- public Index ()
  Create a new index that interfaces with the default event index of the Zeitgeist daemon.

### Methods:

- protected override void on_connection_established ()
- protected override void on_connection_lost ()
- public async ResultSet search (string query, TimeRange time_range, GenericArray<Event> event_templates, uint32 offset, uint32 num_events, ResultType result_type, Cancellable? cancellable = null) throws Error
  Perform a full text search possibly restricted to a TimeRange and/or set of event templates.
- public async ResultSet search_with_relevancies (string query, TimeRange time_range, GenericArray<Event> event_templates, StorageState storage_state, uint32 offset, uint32 num_events, ResultType result_type, Cancellable? cancellable = null, out double[] relevancies) throws Error
  Perform a full text search possibly restricted to a TimeRange and/or set of event templates. As opposed to zeitgeist_index_search(), this call will also return numeric relevancies of the events in the ResultSet .

### Inherited Members:

All known members inherited from class Zeitgeist.QueuedProxyWrapper

- proxy_created
- is_connected
- proxy_acquired

- proxy_unavailable
- process_queued_methods
- name_owner_changed

- on_connection_established
- on_connection_lost
- wait_for_proxy

All known members inherited from class GLib.Object

- @new
- new_valist
- newv
- new_with_properties
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- freeze_notify
- @get

- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- notify_property
- @ref
- ref_sink
- replace_data
- replace_qdata
- remove_toggle_ref
- remove_weak_pointer
- @set
- set_data

- set_data_full
- set_property
- set_qdata
- set_qdata_full
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
- notify
- ref_count