You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let index_doc = if index.keys.iter().any(|ind| matches!(ind,IndexKey::TextIndex(_))){
373
+
let index_doc = if index
374
+
.keys
375
+
.iter()
376
+
.any(|ind| matches!(ind,IndexKey::TextIndex(_)))
377
+
{
373
378
letmut doc = index.into_document();
374
379
375
380
// There can only be 1 text index per collection so when a text index is saved, the keys are automatically changed to this. We keep a copy for the weight comparison.
0 commit comments