| Libbeagle Reference Manual | ||||
|---|---|---|---|---|
BeagleQueryPartText;
BeagleQueryPartText* beagle_query_part_text_new (void);
void beagle_query_part_text_set_text (BeagleQueryPartText *part,
const char *text);
void beagle_query_part_text_set_search_full_text
(BeagleQueryPartText *part,
gboolean search_full_text);
void beagle_query_part_text_set_search_properties
(BeagleQueryPartText *part,
gboolean search_properties);
BeagleQueryPartText* beagle_query_part_text_new (void);
Creates a new BeagleQueryPartText.
| Returns : | a newly created BeagleQueryPartText. |
void beagle_query_part_text_set_text (BeagleQueryPartText *part, const char *text);
Sets the text to search for in a BeagleQueryPartText. This should only be used for programmatically built queries, because it does not use the query language and doesn't handle things like "OR". If you are getting input from a user, you should use BeagleQueryPartHuman instead.
part : |
a BeagleQueryPartText |
text : |
a const char * |
void beagle_query_part_text_set_search_full_text
(BeagleQueryPartText *part,
gboolean search_full_text);
Sets whether to search the full text of documents to find the text part of this BeagleQueryPartText.
part : |
a BeagleQueryPartText |
search_full_text : |
a gboolean |
void beagle_query_part_text_set_search_properties
(BeagleQueryPartText *part,
gboolean search_properties);
Sets whether to search the properties of documents to find the text part of this BeagleQueryPartText.
part : |
a BeagleQueryPartText |
search_properties : |
a gboolean |