Open floatingbits opened 2 years ago
I haven't found the time to really work on this issue but you might be able to fix the issue by implementing some pagination as described here.
I agree with you, hardcoding the limit isn't the right thing to do!
I'm migrating a slightly bigger website to a new craft system and trying to integrate craft-elasticsearch. After importing the content with multiple 10k entries, I get the following error:
I'm sure it is due to the "->limit" part in:
return self::find()->query($queryParams)->highlight($highlightParams)->limit(self::find()->count())->all();
which anyway seems quite useless to me (don't know if it is technically necessary in some case, though). If it is in deed technically necessary, it should be configurable, not hard-coded to the maximum result length.