Meta Classes#
Extra classes which don’t fit into a given category
All of these classes are importable from alaric.meta
Negate#
Note
NEGATE
is still exported for backwards compatibility reasons.
- class alaric.meta.Negate(comparison: ComparisonT)#
Negate a given option, I.e. Do the opposite.
Supported operands:
Lets get all documents without a field called
prefix
1from alaric.comparison import Exists 2from alaric.meta import Negate 3from alaric import AQ 4 5query = AQ(Negate(Exists("prefix")))