Flags

Details

class Dee.TermMatchFlag(value)

Bases: GLib.Flags

Flags passed to Dee.Index.lookup() to control how matching is done. Note that it is not required that index backends support more than just Dee.TermMatchFlag.EXACT.

You can query for the supported flags with Dee.Index.get_supported_term_match_flags().

EXACT = 1

Match terms byte for byte as specified in the query string

PREFIX = 2

Match if the indexed term begins with the byte string being queried by. This is also sometimes known as truncated- or wildcard queries