younifyd
Menu

Declaratively create or migrate a property's inverted index

Declaratively create or migrate a property's inverted index

PUT/v1/schema/{className}/properties/{propertyName}/index/{indexName}

Use it in a workflow

  1. Add a step and choose the Weaviate connector.
  2. Pick the Declaratively create or migrate a property's inverted index action (under schema).
  3. Fill in the fields below, then reference the result from later steps as {{declarativelyCreateOrMigrateAPropertySInvertedIndex.response.data}}.

Request

Path parameters

classNamestringrequired

The name of the collection (class) containing the property.

propertyNamestringrequired

The name of the property whose inverted index should be upserted.

indexNamestringrequired

The inverted index type to upsert. `rangeable` is accepted as a write-path alias for `rangeFilters`.

One offilterablesearchablerangeFiltersrangeable

Query parameters

tenantsarray<string>

Tenant names to target. Never valid on PUT: every migration this endpoint can submit is semantic, and semantic migrations are always cluster-wide, so passing tenants is rejected with a `400`. Tenant scoping remains available on the `/rebuild` variant.

Request body

Enter the body as JSON in the step's Body field.

tokenizationstring

Target tokenization for a `searchable` or `filterable` index. Required when creating a `searchable` index; optional otherwise (omitted = keep the current value). On `filterable` creation it must be omitted or equal the property's current tokenization.

algorithmstring

Target BM25 algorithm for a `searchable` index. Only `blockmax` is a valid target (input aliases `block-max`, `block_max`, `blockmaxwand`, `bmw` are accepted case-insensitively). From WAND this triggers the Map → BlockMax migration; on an already-`blockmax` index it is a NO_OP. `wand` is rejected (deprecated); downgrade is intentionally not supported.

json
{
  "tokenization": "string",
  "algorithm": "string"
}

Response

Returns 200 with a any. Read it in later steps with {{declarativelyCreateOrMigrateAPropertySInvertedIndex.response.data.<field>}}.

Need more? See the Weaviate guide for connection setup and behaviour shared by every action.