Skip to content

[DISCUSS] Index config update #1024

@guilload

Description

@guilload

Currently, once an index is created, its config is immutable. We want to provide an API for updating an index config.

CLI API

Creating an index
quickwit index apply --id my-index --uri s3://my-indexes/my-index --config-file path/to/my/index/config.yaml

Updating an index config
quickwit index apply --index my-index --config-file path/to/my/index/config.yaml

Fetching an index config
quickwit index get --index my-index

REST API

TDB

Metastore API

The following API already exists for creating an index:

metastore.create_index(&self, index_metadata: IndexMetadata) -> MetastoreResult<()>;
metastore.apply_index_config(&self, index_id: &str, index_config: IndexConfig) -> MetastoreResult<()>;

Implementation

Ideally, the CLI and REST API both rely on the

Out of scope:

  • Index ID update
  • Index URI update
  • DocMapping update

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions