-
Notifications
You must be signed in to change notification settings - Fork 226
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
feat(core): Add ingestion support for Tantivy #1827
Merged
rfairfax
merged 5 commits into
filodb:feat-index-rust
from
rfairfax:rfairfax/tantivy_p2
Aug 14, 2024
Merged
feat(core): Add ingestion support for Tantivy #1827
rfairfax
merged 5 commits into
filodb:feat-index-rust
from
rfairfax:rfairfax/tantivy_p2
Aug 14, 2024
Conversation
This file contains 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
This implements enough of the interface to add documents to the Tantivy index. This is part 2 of the series and is not usable end to end until additional PRs complete. Document additional and removal is covered in this PR. Documents are created by calling a single native method that has many of the built-in fields, such as start and end time, passed as method parameters. Dyanmic fields are passed to the Rust code via a simple binary encoding to reduce JNI overhead.
rfairfax
force-pushed
the
rfairfax/tantivy_p2
branch
from
August 2, 2024 21:09
7e430b9
to
bf797b5
Compare
vishramachandran
previously approved these changes
Aug 13, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thank you @rfairfax 👍
core/src/main/scala/filodb.core/memstore/PartKeyTantivyIndex.scala
Outdated
Show resolved
Hide resolved
core/src/main/scala/filodb.core/memstore/PartKeyTantivyIndex.scala
Outdated
Show resolved
Hide resolved
amolnayak311
previously approved these changes
Aug 13, 2024
rfairfax
dismissed stale reviews from amolnayak311 and vishramachandran
via
August 13, 2024 21:53
2b90c68
amolnayak311
approved these changes
Aug 13, 2024
vishramachandran
approved these changes
Aug 14, 2024
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.
This implements enough of the interface to add documents to the Tantivy index. This is part 2 of the series and is not usable end to end until additional PRs complete.
Document additional and removal is covered in this PR. Documents are created by calling a single native method that has many of the built-in fields, such as start and end time, passed as method parameters. Dyanmic fields are passed to the Rust code via a simple binary encoding to reduce JNI overhead.
Pull Request checklist
New behavior :
Part 2 of Tantivy index support. The functionality is still incomplete and not ready for usage yet.