📜  resi search create schema - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:45.485000             🧑  作者: Mango

代码示例1
# create schema
FT.CREATE products SCHEMA productName TEXT SORTABLE quantity NUMERIC SORTABLE description TEXT
# add document
FT.ADD products 70547 1 FIELDS productName pepsodent quantity 30 description "pasta gigi"