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

chore: Expose TopDocs::order_by_u64_field again #2282

Merged

Conversation

ditsuke
Copy link
Contributor

@ditsuke ditsuke commented Dec 17, 2023

The TopDocs::order_by_u64_field API was restricted from public use in #2111, but it is useful in contexts where the field type may not be important or known ahead of time.

Note that the unavailability of this API breaks ordering on non-u64 fields in tantity-py. Reference: quickwit-oss/tantivy-py#166

@ditsuke
Copy link
Contributor Author

ditsuke commented Jan 15, 2024

Bump for review. Open to discussing other ways to solve the issue with tantivy-py, but I think order_by_u64_field is a convenient API for general sorting that should remain public.

@PSeitz PSeitz merged commit e1d18b5 into quickwit-oss:main Jan 18, 2024
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.

2 participants