lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: only use sorting when there's no "q" is "*:*"?
Date Fri, 15 Jan 2010 22:04:11 GMT
It uses the doc insertion order by default.

Otis
--
Sematext -- http://sematext.com/ -- Solr - Lucene - Nutch



----- Original Message ----
> From: Andy <angelflow@yahoo.com>
> To: solr-user@lucene.apache.org
> Sent: Fri, January 15, 2010 4:52:44 PM
> Subject: Re: only use sorting when there's no "q" is "*:*"?
> 
> I see. Thank you.
> 
> Out of curiosity, when q is *:*, how does Solr decide on the ordering of the 
> results?
> 
> --- On Fri, 1/15/10, Otis Gospodnetic wrote:
> 
> > From: Otis Gospodnetic 
> > Subject: Re: only use sorting when there's no "q" is "*:*"?
> > To: solr-user@lucene.apache.org
> > Date: Friday, January 15, 2010, 4:42 PM
> > I don't think there is anything like
> > that built right into Solr, but it looks like something that
> > should be easy enough to add to your search app talking to
> > Solr.
> > 
> > Otis
> > --
> > Sematext -- http://sematext.com/ -- Solr - Lucene - Nutch
> > 
> > 
> > 
> > ----- Original Message ----
> > > From: Andy 
> > > To: solr-user@lucene.apache.org
> > > Sent: Fri, January 15, 2010 3:47:26 PM
> > > Subject: only use sorting when there's no "q" is
> > "*:*"?
> > > 
> > > Is it possible to set up Solr such that when there's
> > no query (client would send 
> > > in "*:*" for "q"), Solr would sort results (basically
> > all the documents) by date 
> > > or some other criterion.
> > > 
> > > And when there is a query other than "*:*", I'd want
> > the results to be ranked by 
> > > score.
> > > 
> > > Is that something that's possible?
> > 
> > 


Mime
View raw message