Re: API changes in libbeagle application

"D Bera" <[email protected]>
Newsgroups gmane.comp.gnome.dashboard.devel
Message-ID <[email protected]>
Hi,
  Just a reminder that, when you set the source/hitttype/mimetype of a
query as explained below, note the WHITESPACE _before_ "type:AAA" etc.
i.e. beagle_query_add_text (query, " type:AAA") instead of
beagle_query_add_text (query, "type:AAA"). All that is happening is we
are adding another query term "type:AAA" at the end of the actual
query text.

> beagle_query_add_hit_type (query, "AAA");
> beagle_query_add_mime_type (query, "BBB");
> beagle_query_add_source (query, "CCC");
>
> In case you were using these in your application, you can now append
> to the query text (before you do beagle_query_add_text):
>
> for hit_type: " type:AAA"
> for mimetype: " mimetype:BBB"
> for source: " source:CCC"

Read http://beagle-project.org/Searching_Data for more details on
beagle query syntax.

- dBera

-- 
-----------------------------------------------------
Debajyoti Bera @ http://dtecht.blogspot.com
beagle / KDE fan
Mandriva / Inspiron-1100 user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.