mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-10 13:38:49 +08:00
feat: introduce fuzzy search for native indexer (#14109)
This commit is contained in:
@@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user