Re: API changes in libbeagle application
- From: "D Bera" <dbera web gmail com>
- To: dashboard-hackers <dashboard-hackers gnome org>
- Subject: Re: API changes in libbeagle application
- Date: Tue, 4 Dec 2007 09:04:03 -0500
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]