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: make SegmentMeta.with_max_doc public #2499

Merged
merged 10 commits into from
Sep 23, 2024

Conversation

triandco
Copy link
Contributor

@triandco triandco commented Sep 23, 2024

I was working with an implementation of tantivy where one segment can be shared between multiple participants. This allows us to support many distributed indexing use cases.

The current API already support this 99% of this use case. Exposing Segment.with_max_doc publicly is the last bit.

@PSeitz
Copy link
Contributor

PSeitz commented Sep 23, 2024

Formatting on nightly seems to have changed

@triandco
Copy link
Contributor Author

@PSeitz, Can I do anything here? like matching the style in the format check output?

@PSeitz
Copy link
Contributor

PSeitz commented Sep 23, 2024

cargo +nightly fmt --all

@PSeitz PSeitz merged commit 8bd6eb0 into quickwit-oss:main Sep 23, 2024
3 checks 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.

2 participants