mirror of
https://github.com/Dasemu/Synapse.git
synced 2026-11-27 07:46:25 +00:00
feat(core): hubs, tag pages and types, with ffi, history and import support
Hubs and templates are page kinds; tags are pages of kind tag linked by a TAGGED edge; types are plain names on the page. Schema v5. Snapshots carry synapse-kind/tags/types. Also adapts search, import and server tests. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
91a8276966
commit
b800248d67
35 files changed
+7983
-141
No files matched your search
@@ -318,7 +318,8 @@ impl Search {
|
||||
Some(d) => (day_of_date(d), true),
|
||||
None => (day_of_ms(p.updated_at), false),
|
||||
};
|
||||
self.ft.upsert_page(id, &p.title, &aliases, day, journal)?;
|
||||
self.ft
|
||||
.upsert_page(id, &p.title, &aliases, &p.description, day, journal)?;
|
||||
}
|
||||
None => {
|
||||
self.ft.delete(id);
|
||||
@@ -350,7 +351,8 @@ impl Search {
|
||||
Some(d) => (day_of_date(d), true),
|
||||
None => (day_of_ms(p.updated_at), false),
|
||||
};
|
||||
self.ft.upsert_page(p.id, &p.title, &al, day, journal)?;
|
||||
self.ft
|
||||
.upsert_page(p.id, &p.title, &al, &p.description, day, journal)?;
|
||||
}
|
||||
}
|
||||
Ok(())
|
||||
|
||||
Reference in new issue
Block a user