You cannot sort on text fields, only string&number&date fields. The
ArrayIndexOutOfBounds exception happens when there are more terms to
sort on than documents (I think?).
On Sat, Jul 17, 2010 at 3:11 PM, Koji Sekiguchi wrote:
> (10/07/18 4:51), Girish wrote:
>>
>> Hi Lance,
>>
>> Thanks for th
(10/07/18 4:51), Girish wrote:
Hi Lance,
Thanks for the reply!
I checked the settings and I don't think it has multivalue setting. Here is
the current field configuration:
*
**
*
Tokenized field is one of multiValued type fields since
multiple tokens (valu
Hi Lance,
Thanks for the reply!
I checked the settings and I don't think it has multivalue setting. Here is
the current field configuration:
*
**
*
> *
> *Lance Norskog wrote:
>
> This can happen when there are multiple values in a field. Is 'first'
> a multi-valued
This can happen when there are multiple values in a field. Is 'first'
a multi-valued field?
Sorting only works on single-valued fields. After all, if there are
multiple values, it can only sort on one field and there is no way to
decide which one. So, make sure that 'field' has multiValued='false'
Hi,
As soon as I add "sort=first+desc" parameter to the select clause, it
throws ArrayIndexOutOfBound exception. Please suggest if I am missing
anything.
http://localhost:8983/solr/select?q=girish&start=0&indent=on&wt=json&sort=first+desc
I have close to 1 million records indexed.
Thanks
Gi