otzaria_search_engine 0.6.9 copy "otzaria_search_engine: ^0.6.9" to clipboard
otzaria_search_engine: ^0.6.9 copied to clipboard

Tantivy search engine for Otzaria

Otzaria search engine #

A Rust-based full-text search engine for the Otzaria project, built upon Tantivy with bindings to Dart through flutter_rust_bridge.

this is a Dart library and cannot run by itself.

Getting Started #

clone otzaria repo and this repo to the same path, cd to otzaria and run flutter run.

Git hooks (one-time setup per machine) #

After cloning, run once to enable automatic formatting + LF normalization on every commit:

dart run tool/install_hooks.dart

This sets core.hooksPath to the repo's .githooks/ directory. The pre-commit hook runs dart format / rustfmt on staged files and converts CRLF→LF, preventing the Windows line-ending issues that break the published pub.dev package on macOS/Linux/Android.