For example, first name, department, job title etc.

Thanks
Xuesong

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yonik
Seeley
Sent: Monday, June 11, 2007 6:35 PM
To: solr-user@lucene.apache.org
Subject: Re: question about sorting

On 6/11/07, Xuesong Luo <[EMAIL PROTECTED]> wrote:
> My sorting fields include both TextField type and StrField type.
Because
> TextField uses TokenizerFactory, they can't be sorted. I have to copy
> each TextField to a StrField and sort on those StrFields. Does anyone
> know if there is a better way to do that?

What information does this TextField carry?
Sorting works on indexed field values, and thus needs to be
single-valued per document.

-Yonik


Reply via email to