BeagleQueryPartText

BeagleQueryPartText

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── BeagleQueryPart
        ╰── BeagleQueryPartText

Description

Functions

beagle_query_part_text_new ()

BeagleQueryPartText *
beagle_query_part_text_new (void);

Creates a new BeagleQueryPartText.

Returns

a newly created BeagleQueryPartText.


beagle_query_part_text_set_text ()

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.

Parameters

part

a BeagleQueryPartText

 

text

a const char *

 

beagle_query_part_text_set_search_full_text ()

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.

Parameters

part

a BeagleQueryPartText

 

search_full_text

a gboolean

 

beagle_query_part_text_set_search_properties ()

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.

Parameters

part

a BeagleQueryPartText

 

search_properties

a gboolean

 

Types and Values

struct BeagleQueryPartText

struct BeagleQueryPartText;