Re: Sorting solrdocumentlist object after querying

2012-02-10 Thread Kashif Khan
hey Tommaso, That result grouping is during the query but i want to sort the solrdocumentlist after it has been queried and i hv injected few solrdocs in the solrdocumentlist. Thus i want this solrdocumentlist to be sorted based on the fields i specify and cannot query the solr for result grouping

Re: Sorting solrdocumentlist object after querying

2012-02-09 Thread Tommaso Teofili
Hi Kashif, maybe the field collapsing feature [1] may help you with your requirement. Hope this helps, Tommaso [1] : http://wiki.apache.org/solr/FieldCollapsing

Re: Sorting solrdocumentlist object after querying

2012-02-08 Thread Kashif Khan
No that sorting is based on multiple fields. Basically i want to sort them as the group by statement like in the SQL based on few fields and many loops to go through. The problem is that i have say 1,000,000 solr docs after injecting my few solr docs and then i want to do group by these solr docs b

Re: Sorting solrdocumentlist object after querying

2012-02-08 Thread Ahmet Arslan
> I want to sort a SolrDocumentList after it has been queried > and obtained > from the QueryResponse.getResults(). The reason is i have a > SolrDocumentList > obtained after querying using QueryResponse.getResults() and > i have added > few docs to it. Now i want to sort this SolrDocumentList > ba