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 <k...@r.email.ne.jp> wrote:
> (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:
>>
>> *<field name="id" type="string" indexed="true" stored="true"
>> required="true" />
>>    <field name="first" type="textgen" indexed="true" stored="true"
>> termVectors="true" />
>>    <field name="last" type="textgen" indexed="true" stored="true"/>
>>    <field name="line1" type="textgen" indexed="true" stored="true"/>
>>    <field name="state" type="textgen" indexed="true" stored="true"/>
>>    <field name="zipcode" type="textgen" indexed="true" stored="true"/>
>>    <field name="tax" type="textgen" indexed="true" stored="true"/>
>> **
>> *
>>
>>
>
> Tokenized field is one of multiValued type fields since
> multiple tokens (values) are generated in that field by
> tokenizer.
>
> Koji
>
> --
> http://www.rondhuit.com/en/
>
>



-- 
Lance Norskog
goks...@gmail.com

Reply via email to