Skip to content

Releases: M1n9yu23/hanfts

2.0.0 - String document IDs

Choose a tag to compare

@M1n9yu23 M1n9yu23 released this 30 Apr 17:51
907a09e

Breaking Change

Document IDs are now String instead of Long.

Migration

// Before (1.x)
Document(id = 1L, title = "...", body = "...")

// After (2.0)
Document(id = "walk-001", title = "...", body = "...")

SearchResult.id is now String as well.

Dependency

hanfts = "2.0.0"

1.0.0

Choose a tag to compare

@M1n9yu23 M1n9yu23 released this 18 Apr 18:32

Initial release of hanfts.

What's included

  • Native full-text search for Android (Korean & English)
  • TF-IDF ranking algorithm
  • Zero dependencies, pure in-memory
  • Supports API 21+

Installation

dependencies {
      implementation("io.github.m1n9yu23:hanfts:1.0.0")
}