FT.SYNUPDATE

Since 1.1.0SearchKnown issue

Syntax

FT.SYNUPDATE index group_id [SKIPINITIALSCAN] term [term ...]
  • Flags: write
  • ACL categories: @search, @slow, @write
  • Arity: -1

Creates or updates a synonym group of an index: words to be treated as the same.

Known issue

In KiviDB 1.1, groups are stored, and FT.SYNDUMP shows them, but they do not change what a query matches. Filed as kividb#130, fixed in 1.2.

Examples

> FT.SYNUPDATE products g1 lamp light
OK