OriginChainDB
Database endpoints

Configure stopwords

Replaces the stopword list for a table field's full-text index.

POST /v1/tenants/{tenant}/fts/{table}/{field}/stopwords

Replace a field's ignored-word listSend the complete desired list; an empty list disables stopwords.
  1. Choose the indexed fieldTarget the table and full-text field.
  2. Supply the complete listInclude every word the setting should retain.
  3. Confirm the saved settingExpect an empty 201 response.

Before you start

Use your database bearer token.

Connection setup

This replaces the field's complete stopword list. Send an empty list to disable stopwords for that field.

Path parameters

FieldTypeRequired
tenantstringRequired
tablestringRequired
fieldstringRequired

Headers

FieldTypeRequiredDescription
x-oc-db-userstringOptionalActing database user (role, grant and row-policy checks). Send with x-oc-db-key.
x-oc-db-keystringOptionalAPI key of the x-oc-db-user user.

Request body

application/json

Limits and accepted values
  • The complete list for this table field;
  • an empty array disables stopwords for the field.
FieldTypeRequired
stopwordsstring[]Required
Fields in stopwords
FieldTypeRequired
stopwordsstringOptional

Read the result

Success is 201 with an empty body. The supplied array replaces the whole field's stopword list. Send all words you want to keep, or an empty array to disable the list.

Response statuses

HTTP status reference
StatusWhat to do
201Created
400Correct the request before retrying.
401Check the credential and Authorization header.
402Check feature access or available credits.
403Check tenant access, roles and permissions.
409Resolve the conflict before retrying.
413Split or reduce the request body.
415Send the required Content-Type.
422Correct the values or unsupported combination.
429Honor Retry-After when present; back off.
503Honor Retry-After when present; check write outcomes.
ยฉ 2026 Silicoyn Technologies Pvt Ltd