Skip to content

docu for new properties ires #299

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

Merged
merged 1 commit into from
Aug 19, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion docs/Drivers/Java/Reference/View/ArangoSearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,24 @@ view information from the server.

- **options**: `ArangoSearchCreateOptions`

- **commitIntervalMsec**: `Long`

Wait at least this many milliseconds between committing view data store changes
and making documents visible to queries (default: 1000, to disable use: 0). For
the case where there are a lot of inserts/updates, a lower value, until commit,
will cause the index not to account for them and memory usage would continue to
grow. For the case where there are a few inserts/updates, a higher value will
impact performance and waste disk space for each commit call without any added
benefits. Background: For data retrieval ArangoSearch views follow the concept
of "eventually-consistent", i.e. eventually all the data in ArangoDB will be
matched by corresponding query expressions. The concept of ArangoSearch view
"commit" operation is introduced to control the upper-bound on the time until
document addition/removals are actually reflected by corresponding query
expressions. Once a "commit" operation is complete all documents added/removed
prior to the start of the "commit" operation will be reflected by queries
invoked in subsequent ArangoDB transactions, in-progress ArangoDB transactions
will still continue to return a repeatable-read state.

- **consolidationIntervalMsec**: `Long`

Wait at least this many milliseconds between committing index data changes
Expand Down Expand Up @@ -54,10 +72,15 @@ view information from the server.
Apply the "consolidation" operation if and only if (default: 300):
`{segmentThreshold} < number_of_segments`

- **link**: `CollectionLink[]`
- **links**: `CollectionLink[]`

A list of linked collections

- **primarySorts**: `CollectionLink[]`

A list of primary sort objects. When creating an ArangoSearch View, you
can optionally define a default sort order.

**Examples**

```Java
Expand Down