I built a full-text search library for my iOS apps
github.com·4h·
Discuss: r/swift
Flag this post

Tantivy Full Text Search for iOS

This project provides a way to use Tantivy, a full-text search engine library written in Rust, in iOS applications. It uses UniFFI to generate Swift bindings.

demo video

Features

  • Create and manage Tantivy indexes, which saves on disk
  • safe concurrency with Swift actor
  • Documents as Swift Codables
  • Full-text search results with scores
  • Custom Unicode-aware tokenizer by default (works for all languages without configuration)

Future Plans

  • Schema definition in Swift instead of JSON string
  • More search feature support (facets, filters, aggregations) from Tantivy

Desi…

Similar Posts

Loading similar posts...