Repository navigation
Conversation
5 of 7 tasks
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7143 +/- ##
=======================================
Coverage 52.32% 52.33%
=======================================
Files 459 459
Lines 58095 58109 +14
Branches 8560 8564 +4
=======================================
+ Hits 30397 30410 +13
Misses 25614 25614
- Partials 2084 2085 +1
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
The milvus.analyzer_params and milvus.enable_match field tags set the analyzer and TEXT_MATCH on a String feature when Feast creates the collection. Feast does not query the tokens; clients that query Milvus directly can. Co-authored-by: jonasfagerlund <jonashfagerlund@gmail.com> Signed-off-by: jonasfagerlund <jonashfagerlund@gmail.com> Signed-off-by: jiwidi <fhjaime96@gmail.com>
ntkathole
force-pushed
the
feat/milvus-text-analysis-tags
branch
from
November 13, 2026 09:30
69b54e2 to
e6d4fdb
Compare
franciscojavierarceo
approved these changes
Nov 13, 2026
ntkathole
approved these changes
Nov 13, 2026
Member
|
@jiwidi please resolve the conflicts |
…analysis-tags Signed-off-by: jiwidi <fhjaime96@gmail.com>
Contributor
Author
|
changes went in together in a extra commit of #7144 closing this one now thanks @ntkathole |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Adds two field tags so the Milvus online store can set up text analysis on a
Stringfeature whenit creates a collection, in the same way
milvus.indexdeclares scalar indexes (#7120):milvus.analyzer_params: JSON object with the field's analyzer. Turns onenable_analyzer.milvus.enable_match:"true"builds the token index that MilvusTEXT_MATCHfilters need.Stringfeatures and need Milvus 2.5 or later.TEXT_MATCHoperator andretrieve_online_documents_v2still filters aquery_stringwithLIKE. Clients that querythe collection directly can use them. A follow-up will add BM25 field tags on top of the
analyzer.
Unlike them, Feast does not compare them with an existing collection or warn when they differ.
_nullable_tagbecomes_boolean_tag(field, tag)so both boolean tags share one parser anderror message.
Which issue(s) this PR fixes:
N/A
Checks
git commit -s)Testing Strategy
Unit tests
Integration tests
Manual tests
Testing is not required for this change
Unit: the created schema per tag combination, and validation (non-String feature, invalid
boolean, analyzer JSON that is not an object).
Integration (
test_milvus_remote.py, against Milvus 2.5.27, 2.6.27 and 3.0.2): awhitespaceanalyzerkeeps
wool-blendas one token, soTEXT_MATCHfindswool-blendand notwool.Milvus Lite accepts both tags but does not apply them (its
TEXT_MATCHalways uses the standardanalyzer), so only the server tests cover the behaviour.
Misc
Milvus 2.6 makes new rows visible to
TEXT_MATCHabout 2 seconds after the write, even withStrongconsistency, so the integration test retries that query.Written with @jonasfagerlund, who is a co-author of the commit. A BM25 PR builds on this one.