Re: sort desc and out of memory exception

2010-11-22 Thread Erick Erickson
Needmorecoffee That link should have been: http://wiki.apache.org/solr/UsingMailingLists Erick On Mon, Nov 22, 2010 at 8:03 AM, Erick Erickson wrote: > Peter's point is that sorting on a tokenized field is meaningless. Say you > index "e

Re: sort desc and out of memory exception

2010-11-22 Thread Erick Erickson
Peter's point is that sorting on a tokenized field is meaningless. Say you index "erick xu peter" and it's tokenized. You have three tokens: "erick", "xu", and "peter". What does sorting mean now? Should the document be in the e's? x's? p's? So if you're sorting on a tokenized field, trying to und

Re: sort desc and out of memory exception

2010-11-21 Thread xu cheng
thanks for replying but when it's sort with asc, it runs pretty well only if I sort with desc , it has the out o f memory exception 2010/11/17 Peter Karich > You are applying the sort against a (tokenized) text field? > You should better sort against a number or a string. Probably using the >

Re: sort desc and out of memory exception

2010-11-17 Thread Peter Karich
You are applying the sort against a (tokenized) text field? You should better sort against a number or a string. Probably using the copyField directive. Regards, Peter. hi all: I configure a solr application and there is a field of type text,and some kind like this 123456, that is a string

sort desc and out of memory exception

2010-11-16 Thread xu cheng
hi all: I configure a solr application and there is a field of type text,and some kind like this 123456, that is a string of number and I wanna solr to sort the result on this field however, when I use sort asc , it works perfectly ,and when I sort it with desc, the application became unacceptabll