Re: sorting using org.apache.solr.client.solrj.SolrQuery not working

2013-09-16 Thread Chris Hostetter
: In the log i see the sorting column as "LAST_NAM". : Is there a difference between "LAST_NAM asc" and "LAST_NAM+asc"...I see only : this diff? the log message you are looking at is showing you the request params recieved by the handler fro mthe client, with URL escaping -- so the "+" you see

Re: sorting using org.apache.solr.client.solrj.SolrQuery not working

2013-09-16 Thread suren
Shawn, I am doing exactly same. Data output is not sorting on "LAST_NAME" column , but it is always sorting on different column "CLAIM_NUM", and I am not adding this sorting condition( sort on CLAIM_NUM). solrQuery.setQuery("*:*"); solrQuery.setSort("LAST_NAM",SolrQuery.ORDER.asc); solrQ

Re: sorting using org.apache.solr.client.solrj.SolrQuery not working

2013-09-13 Thread Shawn Heisey
On 9/13/2013 6:56 PM, suren wrote: > I tried below 3 methods to sort the output from solr 4.3.1., no error and not > sorting on any given field. > 1)addSort(field, order) > 2)addOrUpdateSort(field, order) > 3)setSort(field, order) > > my schema setting for the fields i tried are > multiValued="fa