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

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

Open
DiscoPYF opened this issue Jan 18, 2023 · 1 comment
Labels
ArangoDB 3.9 Identify issues for supporting ArangoDB 3.9 ArangoDB 3.10

Comments

@DiscoPYF
Copy link
Collaborator

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

  • A cache option for individual View links or fields (boolean, default: false).
  • A cache option in the definition of a storedValues View property
    (boolean, immutable, default: false).

Introduced in: v3.9.6, v3.10.2

  • A primarySortCache View property (boolean, immutable, default: false).
  • A primaryKeyCache View property (boolean, immutable, default: false).

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 DiscoPYF added ArangoDB 3.9 Identify issues for supporting ArangoDB 3.9 ArangoDB 3.10 labels Jan 18, 2023
@DiscoPYF
Copy link
Collaborator Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ArangoDB 3.9 Identify issues for supporting ArangoDB 3.9 ArangoDB 3.10
Projects
None yet
Development

No branches or pull requests

1 participant