1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

Fixed a small typo. (#2168)

This commit is contained in:
Simon Prickett
2022-06-30 17:53:26 +01:00
committed by GitHub
parent e1c13f874a
commit 5fefcca8df

View File

@@ -42,7 +42,7 @@ async function searchHashes() {
// Perform a search query, find all the dogs... sort by age, descending. // Perform a search query, find all the dogs... sort by age, descending.
// Documentation: https://oss.redis.com/redisearch/Commands/#ftsearch // Documentation: https://oss.redis.com/redisearch/Commands/#ftsearch
// Query synatax: https://oss.redis.com/redisearch/Query_Syntax/ // Query syntax: https://oss.redis.com/redisearch/Query_Syntax/
const results = await client.ft.search( const results = await client.ft.search(
'idx:animals', 'idx:animals',
'@species:{dog}', '@species:{dog}',
@@ -88,4 +88,4 @@ async function searchHashes() {
await client.quit(); await client.quit();
} }
searchHashes(); searchHashes();