remove conditional action registration for activate semantic search mode
This commit is contained in:
parent
22d095bd35
commit
37a0c6615f
4 changed files with 16 additions and 17 deletions
|
@ -6,13 +6,11 @@ use settings::Setting;
|
|||
#[derive(Deserialize, Debug)]
|
||||
pub struct SemanticIndexSettings {
|
||||
pub enabled: bool,
|
||||
pub reindexing_delay_seconds: usize,
|
||||
}
|
||||
|
||||
#[derive(Clone, Default, Serialize, Deserialize, JsonSchema, Debug)]
|
||||
pub struct SemanticIndexSettingsContent {
|
||||
pub enabled: Option<bool>,
|
||||
pub reindexing_delay_seconds: Option<usize>,
|
||||
}
|
||||
|
||||
impl Setting for SemanticIndexSettings {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue