Closed
Description
Running a page query returns all results:
Redis config:
FT.CONFIG SET MAXSEARCHRESULTS -1
class TemplateGray(JSONModel):
idd: str = Field(primary_key=True)
version: str
obj_id: str
gray: pickled
@classmethod
def get_gray_page(cls):
return TemplateGray.find().page(limit=1000)
print(len(TemplateGray.get_gray_page()))
> 157995
I would expect the length of this to be 1000, not every single record under the schema
Metadata
Metadata
Assignees
Labels
No labels