lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fanny Yeung" <>
Subject Re: Sorting
Date Wed, 19 Jun 2002 17:50:16 GMT

Thanks the reply from Ype. Sorry, I am a newbie of lucene, would Ype give me 
more details on how to implement it? Would the sorting affect the 
performance a lot?

Many Thanks,


>From: Ype Kingma <>
>Reply-To: "Lucene Users List" <>
>To: "Lucene Users List" <>
>Subject: Re: Sorting
>Date: Wed, 19 Jun 2002 19:40:59 +0100
> >
> >I want to implement search function using Lucene. As I need to sort the 
>result by number of indexed fields. (say 3 indexed fields). I am wondering 
>how can I implement that. Can anyone give me some hints?
>The easiest way is to create an extra stored field with the number of 
>You could also store the names of the remaining fields and count these
>before sorting. This gives you the bonus of allowing to search for the
>presence of a field.
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 

Get your FREE download of MSN Explorer at

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message