Pometry / Raphtory

Scalable graph analytics database powered by a multithreaded, vectorized temporal engine, written in Rust
https://raphtory.com
GNU General Public License v3.0
347 stars 54 forks source link

GraphQL optional indexing #1827

Closed ricopinazo closed 1 month ago

ricopinazo commented 1 month ago

What changes were proposed in this pull request?

This PR makes indexing optional for the GraphQL server. It is turned on by default and can by turned off calling turn_off_index.

Why are the changes needed?

This change is a temporal solution for scenarios with large graphs where the search API is not needed.

Does this PR introduce any user-facing change? If yes is this documented?

Yes, it adds a method turn_off_index in both rust and python and it is documented

How was this patch tested?

A new python test was added

Are there any further changes required?

No