On Wed, Dec 1, 2010 at 10:56 AM, Jerry Li <zongjie...@gmail.com> wrote: > Hi team > > My solr version is 1.4 > There is an ArrayIndexOutOfBoundsException when i sort one field and the > following is my code and log info, > any help will be appreciated. > > Code: > > SolrQuery query = new SolrQuery(); > query.setSortField("author", ORDER.desc); [...]
Please show us how the field "author" defined in your schema.xml. Sorting has to be done on a non-tokenized field, e.g., a StrField. Regards, Gora