Skip to content

impl gql index_spec - #2116

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

shivamka1 merged 15 commits into
masterfrom
features/gql_index_spec

Conversation

@shivamka1

@shivamka1 shivamka1 commented Jun 6, 2025 •

Copy link
Copy Markdown
Contributor

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

@ljeub-pometry ljeub-pometry left a comment

Copy link
Copy Markdown
Collaborator

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

Comment thread raphtory-graphql/src/model/graph/index.rs Outdated
Comment thread raphtory-graphql/src/model/mod.rs Outdated
Comment thread raphtory-graphql/src/model/graph/index.rs Outdated
Comment thread raphtory-graphql/src/model/graph/index.rs Outdated
Comment thread raphtory/src/db/api/view/graph.rs
Comment thread raphtory-graphql/src/model/graph/graph.rs Outdated
@shivamka1
shivamka1 marked this pull request as ready for review June 12, 2025 19:55

@ljeub-pometry ljeub-pometry left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

one minor api fix

Comment thread python/tests/test_base_install/test_graphql/test_gql_index_spec.py Outdated
Comment thread raphtory-graphql/src/config/app_config.rs Outdated
Comment thread raphtory-graphql/src/config/mod.rs
Comment thread raphtory-graphql/src/config/app_config.rs
Comment thread raphtory-graphql/src/model/graph/index.rs Outdated
Comment thread raphtory-graphql/src/model/mod.rs Outdated
Comment thread raphtory-graphql/src/model/mod.rs Outdated
@shivamka1
shivamka1 merged commit 6c26edb into master Jun 13, 2025
@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