Update arangosearch-views-reference.md #362
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix "higher" and "lower" in explanation for commitIntervalMsec
Description
A higher value for the interval means the data is commited less frequently, so there will be more time where the index does not account for the changes. Also, memory consumption will grow because the data is not yet flushed to disk yet.
I'm quite confused by this part of the documentation, and I'd be a little bit less confused if you confirm that higher / lower are the wrong way around here.
I still don't quite understand why the documentation dinstinguishes between lots of inserts/updates and few inserts/updates in the way it does. Does the parameter really matter in the case of few inserts/updates, because the commit would not have anything to do anyway (and just be a no-op) when there are no changes?
My understanding would be
If you confirm my understanding and you agree that the docs could be improved in this way, I'd be happy to extend my PR to reflect these changes (and also port it to 3.12 and 3.10). If you tell me I'm wrong, I'd also try to make the docs a little bit clearer.