fix schema & fix tests

This commit is contained in:
qdequele 2020-01-15 18:53:49 +01:00
parent 116a637cfd
commit ae0a11e422
No known key found for this signature in database
GPG key ID: B3F0A000EBF11745
3 changed files with 22 additions and 6 deletions

View file

@ -44,8 +44,6 @@ pub fn apply_settings_update(
}
};
println!("settings: {:?}", settings);
match settings.ranking_rules {
UpdateState::Update(v) => {
index.main.put_ranking_rules(writer, v)?;
@ -126,8 +124,6 @@ pub fn apply_settings_update(
index.main.put_schema(writer, &schema)?;
println!("schema: {:?}", schema);
match settings.stop_words {
UpdateState::Update(stop_words) => {
if apply_stop_words_update(writer, index, stop_words)? {