{"id":42394699,"url":"https://github.com/myscale/tantivy-search","last_synced_at":"2026-01-28T00:54:35.444Z","repository":{"id":204811110,"uuid":"712228566","full_name":"myscale/tantivy-search","owner":"myscale","description":"Tantivy-search is a C++ wrapper for Tantivy, a full-text search engine written in Rust. It is designed to integrate with MyScaleDB and ClickHouse.","archived":false,"fork":false,"pushed_at":"2024-11-27T09:43:32.000Z","size":1202,"stargazers_count":12,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-27T10:32:12.395Z","etag":null,"topics":["clickhouse","cpp","myscale","myscaledb","rust","search-engine"],"latest_commit_sha":null,"homepage":"https://myscale.com","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/myscale.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-31T03:47:45.000Z","updated_at":"2024-11-27T09:43:36.000Z","dependencies_parsed_at":"2023-11-06T07:51:10.921Z","dependency_job_id":"1ff84bd7-9c30-4f51-b509-abc800a3c27a","html_url":"https://github.com/myscale/tantivy-search","commit_stats":null,"previous_names":["mochixu/tantivy_search"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/myscale/tantivy-search","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myscale%2Ftantivy-search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myscale%2Ftantivy-search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myscale%2Ftantivy-search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myscale%2Ftantivy-search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/myscale","download_url":"https://codeload.github.com/myscale/tantivy-search/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myscale%2Ftantivy-search/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28830482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T23:29:49.665Z","status":"ssl_error","status_checked_at":"2026-01-27T23:25:58.379Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clickhouse","cpp","myscale","myscaledb","rust","search-engine"],"created_at":"2026-01-28T00:54:34.845Z","updated_at":"2026-01-28T00:54:35.439Z","avatar_url":"https://github.com/myscale.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tantivy Search\n\n[![coverage](https://git.moqi.ai/mqdb/tantivy-search/badges/master/coverage.svg?job=CodeCoverage)]()\n[![pipeline status](https://git.moqi.ai/mqdb/tantivy-search/badges/master/pipeline.svg)](https://git.moqi.ai/mqdb/tantivy-search/-/pipelines?page=1\u0026scope=all\u0026ref=master)\n[![codecov](https://codecov.io/gh/MochiXu/tantivy-search/graph/badge.svg?token=DRUQZXPYRP)](https://codecov.io/gh/MochiXu/tantivy-search)\n\n\n\nThis library is designed to integrate [tantivy](https://github.com/quickwit-oss/tantivy/) into [ClickHouse](https://github.com/ClickHouse/ClickHouse) and [MyScaleDB](https://github.com/myscale/myscaledb).\n\n## Development\n\nAll FFI (Foreign Function Interface) functions are exposed in [lib.rs](./src/lib.rs). Developers need to regenerate the header file after making any changes to the relevant code:\n\n```bash\ncbindgen . -o include/tantivy_search_cbindgen.h --config cbindgen.toml\ncxxbridge src/lib.rs --header \u003e include/tantivy_search_cxx.h\n```\n\nIf developers do not add, delete, or modify the names of FFI functions, there is no need to execute the above command.\n\n## Work in progress\n\n- [x] Added unit tests in C++ to test Rust FFI functions.\n- [x] Add additional unit tests within Rust FFI functions.\n- [ ] Refactor the `tantivy_search` code using object-oriented principles.\n\n## How to build?\n\nYou can use `cargo` to build this library, use this command:\n\n```bash\ncargo build --release\n```\n\nIf you need to test FFI function in C++, run:\n\n```bash\nmkdir build\ncd build \u0026\u0026 cmake ..\nmake -j\n```\n\nYou can use `vscode` or other compilers to make the build process more elegant.\n\n## How to test?\n\nTest in Rust:\n\n```bash\ncargo test\n```\n\nHere is an example to run unit test in C++:\n\n```bash\ncd build/tests/unit_test\n./unit_test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyscale%2Ftantivy-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmyscale%2Ftantivy-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyscale%2Ftantivy-search/lists"}