Logo Search packages:      
Sourcecode: zeitgeist-extensions version File versions  Download package

def fts::SearchEngineExtension::Search (   self,
  query_string,
  time_range,
  filter_templates,
  offset,
  count,
  result_type 
)

DBus method to perform a full text search against the contents of the
Zeitgeist log. Returns an array of events.

Definition at line 100 of file fts.py.

00100                                                                                               :
            """
            DBus method to perform a full text search against the contents of the
            Zeitgeist log. Returns an array of events.
            """
            time_range = TimeRange(time_range[0], time_range[1])
            filter_templates = map(Event, filter_templates)
            events, hit_count = self._indexer.search(query_string, time_range,
                                                     filter_templates,
                                                     offset, count, result_type)
            return self._make_events_sendable (events), hit_count
      
      def _make_events_sendable(self, events):


Generated by  Doxygen 1.6.0   Back to index