Skip to content

impl gql index_spec#2116

Merged
shivamka1 merged 15 commits intomasterfrom
features/gql_index_spec
Jun 13, 2025
Merged

impl gql index_spec#2116
shivamka1 merged 15 commits intomasterfrom
features/gql_index_spec

Conversation

@shivamka1
Copy link
Collaborator

@shivamka1 shivamka1 commented Jun 6, 2025

Create index:

mutation {
  createIndex(
    path: "g"
    indexSpec: {
      nodeProps: { all: ALL }
      edgeProps: { all: ALL_CONSTANT }
    }
    inRam: true
  )
}
mutation {
  createIndex(
    path: "g"
    inRam: true
  )
}

Query IndexSpec:

query {
  graph(path: "g") {
    getIndexSpec {
      nodeConstProps
      nodeTempProps
      edgeConstProps
      edgeTempProps
    }
  }
}

fixes #1985

Copy link
Collaborator

@ljeub-pometry ljeub-pometry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor tidy up of apis

@shivamka1 shivamka1 marked this pull request as ready for review June 12, 2025 19:55
Copy link
Collaborator

@ljeub-pometry ljeub-pometry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one minor api fix

@shivamka1 shivamka1 merged commit 6c26edb into master Jun 13, 2025
29 checks passed
@shivamka1 shivamka1 deleted the features/gql_index_spec branch June 13, 2025 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mechanism to enable index for specific properties (for nodes and edge independently) instead of all properties

2 participants