OBJECT

Index

Index is a graph primitive used for fast lookups of docs/connections that pass a boolean CEL expression

link GraphQL Schema definition

  • type Index {
  • # name is the unique name of the index in the graph
  • name: String!
  • # gtype is the type of object the index will be applied to (ex: user)
  • gtype: String!
  • # expression is a boolean CEL expression used to evaluate the doc/connection
  • expression: String!
  • # if target_docs is true, this index will be applied to documents.
  • target_docs: Boolean!
  • # if target_connections is true, this index will be applied to connections.
  • target_connections: Boolean!
  • }