lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Praveen Peddi" <ppe...@contextmedia.com>
Subject Re: sorting tokenized field
Date Fri, 10 Dec 2004 19:27:10 GMT
I was only thinking in terms of other search engines. I worked with other 
search engines and I didn't see this requirements before. I think you are 
right that its wasteful to duplicate all tokenized fields. Not sure if there 
is a smart of dealing with it.

Praveen
----- Original Message ----- 
From: "Erik Hatcher" <erik@ehatchersolutions.com>
To: "Lucene Users List" <lucene-user@jakarta.apache.org>
Sent: Friday, December 10, 2004 1:53 PM
Subject: Re: sorting tokenized field


>
> On Dec 10, 2004, at 1:40 PM, Praveen Peddi wrote:
>> I read that the tokenised fields cannot be sorted. In order to sort 
>> tokenized field, either the application has to duplicate field with diff 
>> name and not tokenize it or come up with something else. But shouldn't 
>> the search engine takecare of this? Are there any plans of putting this 
>> functionality built into lucene?
>
> It would be wasteful for Lucene to assume any field you add should be 
> available for sorting.
>
> Adding one more line to your indexing code to accommodate your sorting 
> needs seems a pretty small price to pay.  Do you have suggestions to 
> improve how this works?   Or how it is documented?
>
> Erik
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message