FT._LIST command provides a list of all RediSearch indexes in your database:
FT.INFO provides information about a specific index:
As you are build your application and add more information to the database you may need to add new fields to the index. The
FT.ALTER command enables you to do this.
WEIGHT declares the importance of this field when calculating result accuracy. This is a multiplication factor (default is 1); so in this example the plot is less important than the title.
Let's do a query with the new indexed field:
You can drop an index using the
Dropping an index does not impact the indexed hashes, this means that the movies are still inside the database.
Note: You can delete the indexed document/hashes by adding the