API Reference Sifter v#0.2.0

View Source

Modules

Sifter is a query filtering library for Elixir that converts search syntax from frontend applications into Ecto queries with full-text search support.

Semantic AST for filters. Both the string and JSON front-ends should build these nodes.

The Builder transforms parsed Sifter.AST nodes into Ecto query expressions.

Error handling for Sifter query parsing and execution.

Basic sanitizer for plainto_tsquery operations.

Strict sanitizer for raw tsquery operations with defense-in-depth security.

Resolved, runtime options that control Sifter's behavior.

A lexical analyzer for the Sifter query language that tokenizes search queries.

Internal lexer state for tracking position during string scanning.

The Parser transforms tokens from Sifter.Query.Lexer into structured Sifter.AST nodes.

Internal parser state for tracking position during token stream processing.

Utilities shared by the Sifter lexer/parser.