Why do you want to do this? That is, what problem do you think would be solved by this? Because there are other problems if you're trying to, say, return all rows that match....
But no, there's nothing that I know of that would do what you want (of course that doesn't mean there isn't). Best Erick On Fri, Jan 14, 2011 at 12:17 PM, Salman Akram < salman.ak...@northbaysolutions.net> wrote: > Hi, > > I want to limit my SOLR results so that it stops further searching once it > founds a certain number of records (just like 'limit' in MySQL). > > I know it has timeAllowed property but is there anything like MaxRows? I am > NOT talking about 'rows' attribute which returns a specific no. of rows to > client. This seems a very nice way to stop SOLR from traversing through the > complete index but I am not sure if there is anything like this. > > Also I guess default sorting is on Scoring and sorting can only be done > once > it has the scores of all matches so then limiting it to the max rows > becomes > useless. So if there a way to disable sorting? e.g. it returns the rows as > it finds without any order? > > Thanks! > > > -- > Regards, > > Salman Akram > Cell: +92-321-4391210 >