FT.CONFIG SET

Since 1.1.0Search

Syntax

FT.CONFIG SET option value

Sets a setting. An unknown name, or a value of the wrong kind, is an error.

Two are acted on: CURSOR_MAX_IDLE, the longest a cursor may sit unread, and MAXSEARCHRESULTS, the largest LIMIT an FT.SEARCH may ask for. The others are kept and reported. In KiviDB 1.1, TIMEOUT and ON_TIMEOUT do not cut a query short.

Examples

> FT.CONFIG SET MAXSEARCHRESULTS 1000
OK
> FT.CONFIG SET NOPE 1
(error) Invalid option