Re: MaxRows and disabling sort

2011-01-15 Thread Salman Akram
It still returns me (total) 'numFound' that means its scanning all records. So it seems except timeAllowed there is no way to tell SOLR to stop searching for all records? Thanks! On Sat, Jan 15, 2011 at 7:03 AM, Chris Hostetter wrote: > > : Also I guess default sorting is on Scoring and sorting

MaxRows and disabling sort

2011-01-15 Thread Salman Akram
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 cl

Re: MaxRows and disabling sort

2011-01-14 Thread Chris Hostetter
: 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? http://wiki.apache.org/solr/Comm

Re: MaxRows and disabling sort

2011-01-14 Thread Salman Akram
In some cases my search takes too long. Now I want to show user partial matches if its taking too long. The problem with timeAllowed is that lets say I set its value to 10 secs then for some queries it would be fine and will at least return few hundred rows but in really worse scenarios it might n

Re: MaxRows and disabling sort

2011-01-14 Thread Erick Erickson
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 Eric

MaxRows and disabling sort

2011-01-14 Thread Salman Akram
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 cl