Query with min_score - if no results above that score, return minimum number of skills


(Jason Woo) #1

I want my query to return all results above a certain score, which I can do with "min_score". But if there are no results above that score, or there are only 1 or 2, I want to return 5 best results.

I think the parameter I'm trying to look for is something like "min_size", if it existed. But since that parameter doesn't exist, is there another way to accomplish this kind of query?

Thanks


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.