feat: introduce fuzzy search for native indexer (#14109)

This commit is contained in:
DarkSky
2025-12-25 04:40:23 +08:00
committed by GitHub
parent b6dc68eddf
commit e8693a3a25
24 changed files with 237 additions and 537 deletions
@@ -1,6 +1,7 @@
use std::sync::Arc;
use affine_schema::get_migrator;
use memory_indexer::InMemoryIndex;
use sqlx::{
migrate::MigrateDatabase,
sqlite::{Sqlite, SqliteConnectOptions, SqlitePoolOptions},
@@ -8,7 +9,7 @@ use sqlx::{
};
use tokio::sync::RwLock;
use super::{error::Result, indexer::InMemoryIndex};
use super::error::Result;
pub struct SqliteDocStorage {
pub pool: Pool<Sqlite>,