succeeds, coming back with a single result, whereas changing the 'limit' to '5' fails.
It looks as though the limit is applying to the initial search (on text+type) rather than to the number of results returned by the search after filtering based on the property, and therefore we're not getting matches when we really should.
Yes thats right, in my first pass I'm just using the Platform features and then filtering properties locally.
I can improve this in two ways:
pushing more filtering down to the Platform search. If the filter is for a literal property, and its indexed, then we can do that
requesting additional search results from the Platform if we don't have a full page. Some cut-off will need to be applied to avoid endlessly searching or unnecessarily fetching very low matching data.
The request:
succeeds, coming back with a single result, whereas changing the 'limit' to '5' fails.
It looks as though the limit is applying to the initial search (on text+type) rather than to the number of results returned by the search after filtering based on the property, and therefore we're not getting matches when we really should.