@@ -844,16 +844,6 @@ impl ProjectSearchView {
.detach();
let filters_enabled = false;
- // Initialize Semantic Index if Needed- if SemanticIndex::enabled(cx) {- let model = model.read(cx);- project = model.project.clone();- SemanticIndex::global(cx).map(|semantic| {- dbg!("Initializing project");- semantic.update(cx, |this, cx| this.initialize_project(project.clone(), cx));- });- }-
// Check if Worktrees have all been previously indexed
let mut this = ProjectSearchView {
search_id: model.read(cx).search_id,