ArangoDB-Community / arangodb-net-standard

A consistent, comprehensive, minimal interface to enable .NET applications to use the complete range of features exposed by the ArangoDB REST API.
Apache License 2.0
76 stars 29 forks source link

Add support for all cache properties of View API introduced in minor versions #462

Open DiscoPYF opened 1 year ago

DiscoPYF commented 1 year ago

We should review and add any missing options listed on https://github.com/arangodb/docs/blob/main/3.10/release-notes-api-changes310.md#views-api

See below:

Views of the type arangosearch support new caching options in the Enterprise Edition.

Introduced in: v3.9.5, v3.10.2

Introduced in: v3.9.6, v3.10.2

The POST /_api/view endpoint accepts these new options for arangosearch Views, the GET /_api/view/<view-name>/properties endpoint may return these options, and you can change the cache View link/field property with the PUT /_api/view/<view-name>/properties and PATCH /_api/view/<view-name>/properties endpoints.

DiscoPYF commented 1 year ago

For example, I cannot see properties for primarySortCache and primaryKeyCache in ViewDetails, which is what's used as the body of the request for posting a new View.