lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: sorting on text field fails
Date Wed, 21 Apr 2010 09:06:10 GMT
> I have a field configured as text type (default text type -
> with stemming enabled on both index and query time):
> 
> <field name="MyTitle" type="text" indexed="true"
> stored="true" />
> 
> When I try to sort on this field, it is throwing the
> exception:
> 
> HTTP Status 500 - there are more terms than documents in
> field "MyTitle", but it's impossible to sort on tokenized
> fields
> 
> How can I sort on a tokenized field?

Simply you cannot. You can copy your (tokenized) field into a string typed (un-tokenized)
field. Similar question:
http://search-lucene.com/m/uDxTF1scW0d2/sort+on+a+tokenized+field


      

Mime
View raw message