Skip to content

fix: use tantivy version to make json index compatible with milvus 2.5 #43563

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 26, 2025

Conversation

sunby
Copy link
Contributor

@sunby sunby commented Jul 25, 2025

issue: #43562

@sre-ci-robot sre-ci-robot added the size/M Denotes a PR that changes 30-99 lines. label Jul 25, 2025
@mergify mergify bot added dco-passed DCO check passed. kind/bug Issues or changes related a bug labels Jul 25, 2025
Copy link

codecov bot commented Jul 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.96%. Comparing base (369a811) to head (b1f5526).
⚠️ Report is 7 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #43563   +/-   ##
=======================================
  Coverage   78.96%   78.96%           
=======================================
  Files        1567     1567           
  Lines      224630   224644   +14     
=======================================
+ Hits       177374   177399   +25     
+ Misses      40831    40821   -10     
+ Partials     6425     6424    -1     
Components Coverage Δ
Client 79.47% <ø> (ø)
Core 74.03% <100.00%> (+0.01%) ⬆️
Go 79.92% <ø> (+<0.01%) ⬆️
Files with missing lines Coverage Δ
internal/core/src/index/IndexFactory.cpp 91.69% <100.00%> (+0.09%) ⬆️
internal/core/src/index/JsonFlatIndex.h 91.20% <100.00%> (ø)
internal/core/src/index/JsonInvertedIndex.h 79.54% <100.00%> (ø)

... and 32 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

field_name.c_str(),
this->d_type_,
this->path_.c_str(),
TANTIVY_INDEX_LATEST_VERSION /* json index is not supported in old version */);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is json index supported in 2.5?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is json index supported in 2.5?

actually yes

@mergify mergify bot added the ci-passed label Jul 25, 2025
Copy link
Contributor

@SpadeA-Tang SpadeA-Tang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@zhengbuqian
Copy link
Collaborator

/approve

@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: SpadeA-Tang, sunby, zhengbuqian

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sre-ci-robot sre-ci-robot merged commit a89e579 into milvus-io:master Jul 26, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved ci-passed dco-passed DCO check passed. kind/bug Issues or changes related a bug lgtm size/M Denotes a PR that changes 30-99 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants