Flags

Details

class Tracker.SparqlConnectionFlags(value)

Bases: GObject.GFlags

Connection flags to modify Tracker.SparqlConnection behavior.

NONE = 0

No flags.

READONLY = 1

Connection is readonly.

FTS_IGNORE_NUMBERS = 16

Ignore numbers in FTS search terms.

FTS_ENABLE_STEMMER = 2

Word stemming is applied to FTS search terms.

ANONYMOUS_BNODES = 32

Treat blank nodes as specified in SPARQL 1.1 syntax. Namely, they cannot be used as URIs. This flag is available since Tracker 3.3.

FTS_ENABLE_UNACCENT = 4

Unaccenting is applied to FTS search terms.

DISABLE_SYNTAX_EXTENSIONS = 64

Disables no longer recommended legacy syntax extensions to the SPARQL 1.1 specifications.

New in version 3.11.

FTS_ENABLE_STOP_WORDS = 8

FTS Search terms are filtered through a stop word list. This flag is deprecated since Tracker 3.6, and will do nothing.

SPARQL_STRICT = 96

Enables all behavior that provides most adherence to SPARQL 1.1 standards. Currently this is equivalent to ANONYMOUS_BNODES | DISABLE_SYNTAX_EXTENSIONS. More flags may be added in the future.

New in version 3.11.