Note two things:
1> the lowercasefilter is NOT applied to the STORED data. So the
     display will still have the original case although the sorting
     should be what you want.
2> you should NOT be sorting on a tokenized field. Use something
     like KeywordTokenizer followed by the lowercase filter. String
     types don't go through filters as I remember.

Best
Erick

On Mon, Jan 17, 2011 at 7:57 AM, Brad Dewar <bde...@stfx.ca> wrote:

> Haha, Yes, you're not wrong.
>
> The field you are sorting on should be a fieldtype that has the lowercase
> filter applied.  You'll probably have to re-index your data, unless you
> happen to already have such a field (via copyField, perhaps).
>
> Brad
>
>
>
>
> -----Original Message-----
> From: Salman Akram [mailto:salman.ak...@northbaysolutions.net]
> Sent: January-17-11 5:47 AM
> To: solr-user@lucene.apache.org
> Subject: Re: sort problem
>
> Yes.
>
> On Mon, Jan 17, 2011 at 2:44 PM, Philippe VINCENT-ROYOL <
> vincent.ro...@gmail.com> wrote:
>
> > Le 17/01/11 10:32, Grijesh a écrit :
> >
> >  Use Lowercase filter to lowering your data at both index time and search
> >> time
> >> it will make case insensitive
> >>
> >> -----
> >> Thanx:
> >> Grijesh
> >>
> > Thanks,
> > so tell me if i m wrong... i need to modify my schema.xml to add
> lowercase
> > filter and reindex my content?
> >
> >
> >
>
>
> --
> Regards,
>
> Salman Akram
> Senior Software Engineer - Tech Lead
> 80-A, Abu Bakar Block, Garden Town, Pakistan
> Cell: +92-321-4391210
>

Reply via email to