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

Better support bytes, IPs, and JSON #152

Merged
merged 1 commit into from
Nov 19, 2023

Conversation

GodTamIt
Copy link
Contributor

This change fills in the gaps with the aforementioned types.

Most notably:

  • add_bytes_field() now supports parameters around fast, indexed, and stored.
  • add_ip_addr_field() is now available.
  • JSON fields can now be added using from_dict(), either via a JSON string or a PyDict.

@GodTamIt
Copy link
Contributor Author

The CI failures are due to an ICE when building tantivy, which is tracked here: quickwit-oss/tantivy#2260

@GodTamIt
Copy link
Contributor Author

r? @cjrh @adamreichold

@cjrh
Copy link
Collaborator

cjrh commented Nov 18, 2023

Sorry for the delay, busy week. I plan to review this weekend :)

@cjrh
Copy link
Collaborator

cjrh commented Nov 18, 2023

I'm also seeing the ICE locally, on rust 1.74. How annoying.

@cjrh
Copy link
Collaborator

cjrh commented Nov 18, 2023

This person mentions a reproducer compiling tantivy 0.21.1 in release mode: rust-lang/rust#117976 (comment)

@cjrh cjrh self-requested a review November 19, 2023 00:09
Copy link
Collaborator

@cjrh cjrh 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 👍🏼

@cjrh
Copy link
Collaborator

cjrh commented Nov 19, 2023

@GodTamIt You should be able to rebase your branch on top of master and have the tests run. I've pinned rust to 1.73.

@GodTamIt
Copy link
Contributor Author

@cjrh Thanks for fixing the build! Looks like everything is passing and can land 🚀

@cjrh cjrh merged commit eeaad34 into quickwit-oss:master Nov 19, 2023
10 checks passed
@ChronosWS
Copy link

Appreciate the fast turnaround on this!

Sidhant29 pushed a commit to Sidhant29/tantivy-py that referenced this pull request Mar 12, 2024
…t-oss#152)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Cameron <[email protected]>
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