> 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