You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jack L <jl...@yahoo.ca> on 2007/06/13 21:56:16 UTC
Re[2]: "sort" throws exception
Hello Chris,
I'm using version 1.1.
If I'm only using 1.1 features, should I still try 1.2 for other
improvements such as stability, error handling, etc.?
--
Best regards,
Jack
Wednesday, June 13, 2007, 12:23:35 PM, you wrote:
> : However, the moment I add sort, I get an exception (listed at the
> : bottom of this email.) Then I tried with "sort=score" and the
> : exception still happens. I'm sure it's due to my ignorance because
> : sort must be a well tested parameter. I wonder what I'm doing wrong?
> : java.lang.ArrayIndexOutOfBoundsException: 1
> as yonik said, you need a sort direction ... but i'm curious which version
> of Solr you are using, for as long as i can remmeber dismax has logged
> Sort parsing errors but "ignored" them and returned results anyway using
> the default sort.
> StandardRequest handler on the other hand returns a 400 error page with
> "Missing sort order." as the message (i thought that was in 1.1, but
> aparently it wasn't official until 1.2)
> -Hoss
Re: "sort" throws exception
Posted by Ryan McKinley <ry...@gmail.com>.
Jack L wrote:
> Hello Chris,
>
> I'm using version 1.1.
>
> If I'm only using 1.1 features, should I still try 1.2 for other
> improvements such as stability, error handling, etc.?
>
If you can upgrade, it is highly recommended. There are lots of little
annoying fixes included in 1.2 -- in addition to lucene performance
improvements.
I think i posted this same question in january...