You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Gabe <gj...@yahoo.com> on 2004/02/09 23:03:23 UTC

Ordering by a field value

Hi,

I was wondering whether it was possible to sort search
results by the order of the String value of a stored
or unstored field. How would one implement this?

Thanks,
Gabe

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

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


Re: Ordering by a field value

Posted by Otis Gospodnetic <ot...@yahoo.com>.
I suggest you check either Lucene patches link on Lucene site or check
lucene-dev mailing list archives for details.
You should be able to drop the new classes into unzipped Lucene 1.3
final Jar, and re-jar everything.

Otis


--- Gabe <gj...@yahoo.com> wrote:
> 
> Thanks Otis.
> 
> What will the names of the relevant files be and will
> I be able to use 1.3 final still (simply integrating
> the contributions into my own code) or would I have to
> go with the latest code from CVS?
> 
> Thanks again,
> Gabe
> 
> --- Otis Gospodnetic <ot...@yahoo.com>
> wrote:
> > There were some recent contributions that should
> > make this possible and
> > simple to do.
> > The code should be added to Lucene CVS repository in
> > the next week or
> > so.
> > 
> > Otis
> > 
> > --- Gabe <gj...@yahoo.com> wrote:
> > > 
> > > Hi,
> > > 
> > > I was wondering whether it was possible to sort
> > search
> > > results by the order of the String value of a
> > stored
> > > or unstored field. How would one implement this?
> > > 
> > > Thanks,
> > > Gabe
> > > 
> > > __________________________________
> > > Do you Yahoo!?
> > > Yahoo! Finance: Get your refund fast by filing
> > online.
> > > http://taxes.yahoo.com/filing.html
> > > 
> > >
> >
> ---------------------------------------------------------------------
> > > 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
> > 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance: Get your refund fast by filing online.
> http://taxes.yahoo.com/filing.html
> 
> ---------------------------------------------------------------------
> 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


Re: Ordering by a field value

Posted by Gabe <gj...@yahoo.com>.
Thanks Otis.

What will the names of the relevant files be and will
I be able to use 1.3 final still (simply integrating
the contributions into my own code) or would I have to
go with the latest code from CVS?

Thanks again,
Gabe

--- Otis Gospodnetic <ot...@yahoo.com>
wrote:
> There were some recent contributions that should
> make this possible and
> simple to do.
> The code should be added to Lucene CVS repository in
> the next week or
> so.
> 
> Otis
> 
> --- Gabe <gj...@yahoo.com> wrote:
> > 
> > Hi,
> > 
> > I was wondering whether it was possible to sort
> search
> > results by the order of the String value of a
> stored
> > or unstored field. How would one implement this?
> > 
> > Thanks,
> > Gabe
> > 
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Finance: Get your refund fast by filing
> online.
> > http://taxes.yahoo.com/filing.html
> > 
> >
>
---------------------------------------------------------------------
> > 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
> 


__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

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


Re: Ordering by a field value

Posted by Otis Gospodnetic <ot...@yahoo.com>.
There were some recent contributions that should make this possible and
simple to do.
The code should be added to Lucene CVS repository in the next week or
so.

Otis

--- Gabe <gj...@yahoo.com> wrote:
> 
> Hi,
> 
> I was wondering whether it was possible to sort search
> results by the order of the String value of a stored
> or unstored field. How would one implement this?
> 
> Thanks,
> Gabe
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance: Get your refund fast by filing online.
> http://taxes.yahoo.com/filing.html
> 
> ---------------------------------------------------------------------
> 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