We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If I add a very long word to the index (8000 characters is enough on my machine), I get a stack overflow while serialising it.
Here's how I was testing:
fn main() { let mut index = Index::new(&["body"]); let long_string = "a".repeat(8000); index.add_doc("1", &[long_string]); index.to_json_pretty(); }
The text was updated successfully, but these errors were encountered:
I suggest you use https://github.com/dtolnay/serde-stacker to convert the index to JSON. I don't think I want to make this the default behavior.
Sorry, something went wrong.
No branches or pull requests
If I add a very long word to the index (8000 characters is enough on my machine), I get a stack overflow while serialising it.
Here's how I was testing:
The text was updated successfully, but these errors were encountered: