From 9507221d2a2bdc96c8e695d6cbc13547c0d3bc64 Mon Sep 17 00:00:00 2001 From: Marko Budiselic Date: Sat, 30 Dec 2023 16:11:55 +0100 Subject: [PATCH] Fix wrong underlying lib version --- README.md | 5 ----- text_search/Cargo.toml | 6 ++++-- text_search/ci.sh | 1 + 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0163995..e34bf85 100644 --- a/README.md +++ b/README.md @@ -5,12 +5,7 @@ ### TODOs - [ ] Figure out the right API ⏳ - - [ ] Expose index std::path to be configurable on the C++ side - - [ ] Don't panic on create_index because if index can't be created -> just return to the user - - [ ] cxxtantivy::function but rust::Error -> unify - - [ ] Move includes to cxxtantivy/rust|cxx.hpp - [ ] All READ methods (`search`, `aggregate`, `find`) depend on the exact schema -> make it robust - - [ ] Consider adding multiple workspaces under rust/ because multiple libraries could be added (`memcxx` as a repo, because of the shared deps). - [ ] Write unit / integration test to compare STRING vs JSON fiels search query syntax. - [ ] Figure out what's the right search syntax for a property graph - [ ] Add some notion of pagination diff --git a/text_search/Cargo.toml b/text_search/Cargo.toml index f23aabd..64b11bd 100644 --- a/text_search/Cargo.toml +++ b/text_search/Cargo.toml @@ -1,14 +1,16 @@ [package] name = "tantivy_text_search" -version = "0.0.1" +version = "0.0.2" edition = "2021" [dependencies] -cxx = "1.0" +cxx = "1.0.111" tantivy = "0.21.1" log = "0.4.17" env_logger = "0.10.0" serde_json = "1.0.79" +# TODO(gitbuda): ahash fixed -> v0.8.7 does NOT compile -> remove below line. +ahash = "=0.8.5" [build-dependencies] cxx-build = "1.0" diff --git a/text_search/ci.sh b/text_search/ci.sh index 433d8f0..feb3c12 100755 --- a/text_search/ci.sh +++ b/text_search/ci.sh @@ -33,6 +33,7 @@ cd "$SCRIPT_DIR" # TODO(gitbuda): Add clang-format call here. cargo fmt +mkdir -p "$SCRIPT_DIR/../build" cd "$SCRIPT_DIR/../build" if [ "$MGCXX_TEXT_SEARCH_CI_FULL" = true ]; then rm -rf ./* && rm -rf .cache