valkey-search - Man Page

Valkey Search

Configuration

Static configuration

The following list of configurations can be passed to the loadmodule command:

  1. --reader-threads: (Optional) Controls the amount of threads executing queries. (Default: number of physical CPU cores on the host machine)
  2. --writer-threads: (Optional) Controls the amount of threads processing index mutations. (Default: number of physical CPU cores on the host machine)
  3. --use-coordinator: (Optional) Cluster mode enabler. Default: false.
  4. --hnsw-block-size: (Optional) Specifies the allocation block size used by the HNSW graph for storing new vectors. Larger block sizes may improve performance by enhancing CPU cache efficiency, but come at the cost of increased memory usage due to pre-allocation for potential future growth. (Default: 10K)
  5. --log-level Controls the log verbosity level. Possible values are: debug, verbose, notice and warning. (Default: Valkey’s log level)

Runtime configuration

The following list of configurations can be modified at runtime using the CONFIG SET command:

1.

search.hnsw-block-size:: Specifies the allocation block size used by the HNSW graph for storing new vectors. Larger block sizes may improve performance by enhancing CPU cache efficiency, but come at the cost of increased memory usage due to pre-allocation for potential future growth. (Default: 10K)

Referenced By

valkey-valkey-bundle(7).

2025-10-21 9.0.0 Valkey Manual