Skip to content

Commit

Permalink
chore: use json_object field to merge doc index and code index, makin…
Browse files Browse the repository at this point in the history
…g future index schema migration possible (#2229)

* chore: adapt json schema

* extract web builder

* migrate code index

* reorg

* migrate

* format id into different corpus

* migrate code search to united schema

* fix

* cleanup

* extract field_tokens

* extract field_chunk_tokens

* Update answer.rs

* update

* [autofix.ci] apply automated fixes

* restructure tabby_common::index

* cleanup again

* rename IndexSchema

* rename web -> doc

* rename web -> doc in tabby_common

* better naming for index

* better naming in index

* renaming

* renaming

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
  • Loading branch information
wsxiaoys and autofix-ci[bot] authored May 23, 2024
1 parent 62498be commit 8b24727
Show file tree
Hide file tree
Showing 18 changed files with 597 additions and 666 deletions.
48 changes: 23 additions & 25 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ tracing = "0.1"
tokio-cron-scheduler = "0.9.4"
tracing-subscriber = "0.3"
anyhow = "1.0.71"
tantivy = "0.22"
tantivy = { git = "https://github.com/quickwit-oss/tantivy", rev = "b806122" }
async-trait = "0.1.72"
reqwest = { version = "0.12" }
derive_builder = "0.12.0"
Expand Down
128 changes: 0 additions & 128 deletions crates/tabby-common/src/index/code/document.rs

This file was deleted.

Loading

0 comments on commit 8b24727

Please sign in to comment.