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 <otis_gospodne...@yahoo.com> wrote: > From: Otis Gospodnetic <otis_gospodne...@yahoo.com> > 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 <angelf...@yahoo.com> > > 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? > >