MCPcopy
hub / github.com/redis/redis-py / info

Method info

redis/commands/search/commands.py:1744–1753  ·  view source on GitHub ↗

Get info an stats about the the current index, including the number of documents, memory consumption, etc For more information see `FT.INFO <https://redis.io/commands/ft.info>`_.

(self)

Source from the content-addressed store, hash-verified

1742
1743class AsyncSearchCommands(SearchCommands):
1744 async def info(self):
1745 """
1746 Get info an stats about the the current index, including the number of
1747 documents, memory consumption, etc
1748
1749 For more information see `FT.INFO <https://redis.io/commands/ft.info>`_.
1750 """
1751
1752 res = await self.execute_command(INFO_CMD, self.index_name)
1753 return self._parse_results(INFO_CMD, res)
1754
1755 async def search(
1756 self,

Callers

nothing calls this directly

Calls 2

_parse_resultsMethod · 0.80
execute_commandMethod · 0.45

Tested by

no test coverage detected