Oihana PHP Arango

ViewType uses ConstantsTrait

ArangoDB view type discriminator, used as the `type` field of every payload sent to `POST /_api/view` and returned by `GET /_api/view/{name}` and `GET /_api/view/{name}/properties`.

Two types are supported:

  • arangosearch — the view owns its inverted index, configured through per-collection links,
  • search-alias — the view is a thin alias over one or more inverted indexes declared on the collections themselves (shareable, independent lifecycle, federatable across collections).
Tags
see
https://docs.arangodb.com/stable/index-and-search/arangosearch/
author

Marc Alcaraz (ekameleon)

since
1.0.0

Table of Contents

Constants

ARANGOSEARCH  : string = 'arangosearch'
ArangoSearch view — full-text indexing on top of one or more collections, configured through `links` mapping each indexed collection to per-field analyzer chains.
SEARCH_ALIAS  : string = 'search-alias'
Search-alias view — aggregates one `inverted` index per collection (declared on the collections), referenced through an `indexes` list of `{collection, index}` entries. The natural substrate for a federated, multi-collection search.

Constants

ARANGOSEARCH

ArangoSearch view — full-text indexing on top of one or more collections, configured through `links` mapping each indexed collection to per-field analyzer chains.

public string ARANGOSEARCH = 'arangosearch'

SEARCH_ALIAS

Search-alias view — aggregates one `inverted` index per collection (declared on the collections), referenced through an `indexes` list of `{collection, index}` entries. The natural substrate for a federated, multi-collection search.

public string SEARCH_ALIAS = 'search-alias'
On this page

Search results