Re: Return all docs with same last-value when sorting by non-unique-value

2017-04-15 Thread Alexandre Rafalovitch
I don't think Solr supports this. Maybe you can do that in a custom component by cutting off in Solr at max-limit and then cutting again in the search component afterwards down to limit. Or just get more documents and deal with this on the middle-ware side. Regards, Alex. http://www.solr-s

Re: Return all docs with same last-value when sorting by non-unique-value

2017-04-15 Thread Dorian Hoxha
Say order_by=likes descending, limit(4). And the likes are::: 10,9,8,7,7,7,4,2. Then we'd get back all 10-7 documents, so 6 docs. The same thing if they sort in the middle. It can also have a max-limit, so we don't get too many docs returned. Makes sense ? On Sat, Apr 15, 2017 at 8:24 AM, Alexa

Re: Return all docs with same last-value when sorting by non-unique-value

2017-04-14 Thread Alexandre Rafalovitch
Not really making sense, no. Could you show an example? Also, you seem to imply that after sorting only the documents sorted at the end may have same values. What if they have the same values but sort into the middle? Regards, Alex http://www.solr-start.com/ - Resources for Solr users, new

Re: Return all docs

2009-08-21 Thread Elaine Li
thanks for the info. On Fri, Aug 21, 2009 at 1:42 PM, Chris Hostetter wrote: > > : I want the query to return all the found docs, not just 10 of them by > : default. It could be in the thousands. So i can furture process the > : returned json structure in my javascript. > > FAQ... > > http://wiki.

Re: Return all docs

2009-08-21 Thread Chris Hostetter
: I want the query to return all the found docs, not just 10 of them by : default. It could be in the thousands. So i can furture process the : returned json structure in my javascript. FAQ... http://wiki.apache.org/solr/FAQ http://wiki.apache.org/solr/FAQ#head-ad538363dc33eba936af39b95ad0f0e719

Re: Return all docs

2009-08-21 Thread Jason Rutherglen
I guess you'd set the the rows parameter in the HTTP request to a high number? Check out /solr/admin/form.jsp which has the rows text field visible. On Fri, Aug 21, 2009 at 9:30 AM, Elaine Li wrote: > I want the query to return all the found docs, not just 10 of them by > default. It could be in