1
from redisearch import Client
client = Client('myIndex')
res = client.search(search_key)
我需要50個結果res
。如何設置redisearch默認限制的限制是10。我想設置50
from redisearch import Client
client = Client('myIndex')
res = client.search(search_key)
我需要50個結果res
。如何設置redisearch默認限制的限制是10。我想設置50
閱讀文檔 - 您需要使用查詢對象的paging
方法:http://redisearch.io/python_client/#paging