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

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

2017-04-14 Thread Dorian Hoxha
Hi friends, Say we're sorting by a non-unique-value, and also have a limit(x). But there are more docs in the end of list(x) that have the same value. Is it possible to return them even if the number of items will be > x ? This will make it possible so I don't have to sort by (non-unique,unique) v

Re: Search for abc AND *foo* return all docs for abc which do not have foo why?

2012-07-05 Thread Alok Bhandari
It is my mistake, the field which I was referring to was non existing so this effect is shown. Sorry for the stupid question I have asked :-) -- View this message in context: http://lucene.472066.n3.nabble.com/Search-for-abc-AND-foo-return-all-docs-for-abc-which-do-not-have-foo-why

Search for abc AND *foo* return all docs for abc which do not have foo why?

2012-07-04 Thread Alok Bhandari
Hello, If I Search for abc AND *foo* return all docs for abc which do not have foo why? I suspect that if the * is present on both the side of a word then that word is ignored. Is it the correct interpretation? I am using solr 3.6 and field uses StandardTokenizer. -- View this message in

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

Return all docs

2009-08-21 Thread Elaine Li
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. Is such option? What should i do with the 'rows' number in the solrconfig.xml file? Thanks. - fast_warm 0 10 -