Re: Alpha numeric sort problem

2008-02-17 Thread Mahesh Udupa
Thanks Yonik, I was using example schema.xml, in that alphaOnlySort FieldType contains following analyzer. Due to last filter class, I could not sort any field other than alphabets. I removed that, it is

Re: Alpha numeric sort problem

2008-02-15 Thread Yonik Seeley
On Fri, Feb 15, 2008 at 3:36 AM, Mahesh Udupa <[EMAIL PROTECTED]> wrote: > Thanks Yonik, > > It works fine. But sort is *case sensitive. * > And also, > If my String contains some white space(or - or any other special char) then > failed to sort, with following error. > > INFO: /select/ > ver

Re: Alpha numeric sort problem

2008-02-15 Thread Mahesh Udupa
Thanks Yonik, It works fine. But sort is *case sensitive. * And also, If my String contains some white space(or - or any other special char) then failed to sort, with following error. INFO: /select/ version=2.2&rows=20&fl=rcid,status,categoryid,cmprice_value,cmprice_model,cmprice_noofdays,cmpric

Re: Alpha numeric sort problem

2008-02-14 Thread Yonik Seeley
On Thu, Feb 14, 2008 at 10:45 PM, Mahesh Udupa <[EMAIL PROTECTED]> wrote: > Even I tried with *text* Field type. But no use. > As splitOnCaseChange="1", do we have splitOnLetterToNumberChange or > something like that? Sorting requires a single token in the field (you want to sort on the whole

Re: Alpha numeric sort problem

2008-02-14 Thread Mahesh Udupa
Thanks Erick for your quick response. Even I tried with *text* Field type. But no use. As splitOnCaseChange="1", do we have splitOnLetterToNumberChange or something like that? Thanks in advance kmu On Thu, Feb 14, 2008 at 9:50 PM, Erick Erickson <[EMAIL PROTECTED]> wrote: > I admit I know l

Re: Alpha numeric sort problem

2008-02-14 Thread Erick Erickson
I admit I know little about SOLR, but wouldn't an AlphaOnlySorter ignore the digits? Erick On Thu, Feb 14, 2008 at 3:51 AM, Mahesh Udupa <[EMAIL PROTECTED]> wrote: > Hello, > > I have following entry in my title list: > > Content1 > Content2 > Content3 > Content4 > Content5 > > If I try to Sort

Alpha numeric sort problem

2008-02-14 Thread Mahesh Udupa
Hello, I have following entry in my title list: Content1 Content2 Content3 Content4 Content5 If I try to Sort it in ascending or descending order, I am getting same order. I am using following alphaOnlySort field and text. Please let me know if I miss anything here. Thanks in advance for looki