Add pile serve

This commit is contained in:
2026-03-10 16:26:10 -07:00
parent 5445872ad1
commit 350f3e3dc9
8 changed files with 516 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ use crate::{Item, PileValue, extract::MetaExtractor};
#[derive(Debug, Clone)]
pub struct FtsLookupResult {
pub score: f32,
pub source_name: Label,
pub source: Label,
pub key: String,
}
@@ -270,7 +270,7 @@ impl DbFtsIndex {
out.push(FtsLookupResult {
score,
source_name,
source: source_name,
key,
});
}