1FT.CREATE: 2 summary: Set the string value of a key 3 complexity: O(1) 4 arguments: 5 - 6 comment: the index name 7 name: index_name 8 type: key 9 - 10 name: 11 - field 12 - score | NUMERIC 13 type: 14 - string 15 - double | enum 16 - enum: 17 - NUMERIC 18 comment: 19 pairs of field name and relative weight in scoring. 20 The weight is a double, but does not need to be normalized. 21 22 since: 0.1 23 returns: 24 type: status 25 value: OK on success, error otherwise 26 27FT.ADD: 28 complexity: O(1) 29 arguments: 30 - 31 comment: the index name 32 name: index_name 33 type: key 34 - 35 name: docId 36 type: string 37 - 38 name: score 39 type: double 40 comment: The document's score, between 0.0 and 1.0 41 - 42 command: LANGUAGE 43 name: 44 - lang 45 type: 46 - string 47 optional: true 48 - 49 name: nosave 50 type: enum 51 enum: [NOSAVE] 52 - 53 54 index docId score [LANGUAGE lang] [NOSAVE] FIELDS <field> <text> .... 55 56 57