Re: java.lang.OutOfMemoryError: Requested array size exceeds VM limit

2013-07-13 Thread Stephane Gamard
Hi Ali, You are getting an error because of the number of rows you are trying to fetch. Solr will keep all results in its queue before submitting the results. Solution is to page thru your results (but be careful about deep paging). _Stephane On July 13, 2013 at 2:31:57 AM, Ali, Saqib (docbook@

Re: Solr on Amazon EC2

2013-05-06 Thread Stephane Gamard
Hi Rajesh, Rule of thumb when it comes to Solr and the cloud is run your own instance. There are so many difference (subtle but could be painful) between Solr releases that it is best that you know which you are using. Solr is also package to work directly out of the box (using the jetty starter: s

Sorting on alias fields

2013-04-18 Thread Stephane Gamard
Hi all, I am trying to sort results based on multiple fields aliased as one. Is that possible? While solr does not complain (no error, results OK, etc etc etc) it fails to sort the hits appropriately. I've attached the query, relevant schema part and result. I am very curious to know if that

Getting count for Multi-Select Faceting

2012-10-19 Thread Stephane Gamard
Hi all, Congrats on the 4.0.0 delivery, it's a pleasure to work with! I have a small problem that I am trying to "elegantly" resolve: while using multi-select faceting it might happen that a facet is selected which is not part of the facet list (due to limit for example). When executing the q