Fix Typesense tests (#5541)

* Fix Typesense tests

* fix

* add back author

* Split project title and authors by words and index on that

* clippy
This commit is contained in:
aecsocket
2026-03-13 13:34:51 +00:00
committed by GitHub
parent cc9059fb4a
commit 991b4d8c13
8 changed files with 66 additions and 8 deletions
+5
View File
@@ -186,6 +186,9 @@ pub enum SearchBackendKind {
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, strum::EnumIter)]
pub enum SearchField {
Categories,
Name,
Author,
License,
ProjectTypes,
ProjectId,
OpenSource,
@@ -225,7 +228,9 @@ pub struct UploadSearchProject {
pub project_types: Vec<String>,
pub slug: Option<String>,
pub author: String,
pub indexed_author: String,
pub name: String,
pub indexed_title: String,
pub summary: String,
pub categories: Vec<String>,
pub display_categories: Vec<String>,