API Reference search_core v#0.4.0

Copy Markdown View Source

Modules

Multilingual full-text search building blocks for plain Elixir/Ecto — no Ash required.

Mark the words of a raw text that match a search query.

The languages the search stack accepts: ISO 639-1 codes, exactly the set the installed text_stemmer reports — :fr, :en, :de, …

Turn a raw string into a list of normalized, stemmed search tokens.

Language stopword lists used by SearchCore.Pipeline to drop high-frequency, low-signal words before stemming.

Build the two strings you feed to Postgres full-text search, both produced by the same SearchCore.Pipeline so the index side and the query side always agree.