Description
Hey, first of all thank you a lot for creating this awesome software.
We're currently trying to adopt your software for our internal solutions, and we've stumbled upon two rather annoying limits that seem arbitrary. In particular, that is limiting sort_by clause to only 3 fields, and per_page to 250. This currently doesn't meet our requirements, as we need to sort/include more than allowed number.
Steps to reproduce
Well, simply specify per_page=300 or more than 3 fields in sort_by.
Expected Behavior
I'd expect those limits to be configurable in the provided ini config. It doesn't seem rational making it hardcoded at compilation time. I agree that some limits have to be put in place, but it should be up to the system administrator how severe those are.
Actual Behavior
Error code 400 when out of the hardcoded range.
Metadata
Typsense Version: 0.22.2
OS: Debian Stable
Thank you in advance for your time in regards to this issue.
Description
Hey, first of all thank you a lot for creating this awesome software.
We're currently trying to adopt your software for our internal solutions, and we've stumbled upon two rather annoying limits that seem arbitrary. In particular, that is limiting
sort_byclause to only3fields, andper_pageto250. This currently doesn't meet our requirements, as we need to sort/include more than allowed number.Steps to reproduce
Well, simply specify
per_page=300or more than3fields insort_by.Expected Behavior
I'd expect those limits to be configurable in the provided
iniconfig. It doesn't seem rational making it hardcoded at compilation time. I agree that some limits have to be put in place, but it should be up to the system administrator how severe those are.Actual Behavior
Error code
400when out of the hardcoded range.Metadata
Typsense Version: 0.22.2
OS: Debian Stable
Thank you in advance for your time in regards to this issue.