Skip to content
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
merged 5 commits into from
Aug 14, 2024

Conversation

rfairfax
Copy link
Contributor

@rfairfax rfairfax commented Aug 1, 2024

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

  • The commit(s) message(s) follows the contribution guidelines ?
  • Tests for the changes have been added (for bug fixes / features) ?
  • Docs have been added / updated (for bug fixes / features) ?

New behavior :

Part 2 of Tantivy index support. The functionality is still incomplete and not ready for usage yet.

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.
Copy link
Member

@vishramachandran vishramachandran left a 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 👍

amolnayak311
amolnayak311 previously approved these changes Aug 13, 2024
core/src/rust/Cargo.toml Show resolved Hide resolved
@rfairfax rfairfax merged commit 4ef88b0 into filodb:feat-index-rust Aug 14, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants