Boom!
This works: sort=map(query($qq,-1),0, ,
1)+desc,score+desc&qq=domain:domainA
Thanks,
Mike
On Wed, Feb 29, 2012 at 3:45 PM, Mike Austin wrote:
> I have content that I index for several different domains. What I'd like
> to do is have all search results found for domainA returned
I have content that I index for several different domains. What I'd like
to do is have all search results found for domainA returned first and
results for domainB,C,D..etc.. returned second. I could do two different
searches but was wondering if there was a way to only do one query but
return res
e grouped in ascending order. But
> i
> want certain categories to come up first in the sort order. I don't want
> them to be grouped in ascending order. Please shed some light anyone. How
> to
> do it. Is it possible?
> --
> View this message in context:
> http://www.
tain categories to come up first in the sort order. I don't want
them to be grouped in ascending order. Please shed some light anyone. How to
do it. Is it possible?
--
View this message in context:
http://www.nabble.com/solr-sorting-question-tp17498596p17498596.html
Sent from the Solr - Use
Thanks a ton, that worked
-Original Message-
From: Ryan McKinley [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 04, 2007 3:08 PM
To: solr-user@lucene.apache.org
Subject: Re: SOLR sorting - question
Kasi Sankaralingam wrote:
> Do I need to select the fields in the query that I
Kasi Sankaralingam wrote:
Do I need to select the fields in the query that I am trying to sort on?, for
example if I want sort on update date then do I need to select that field?
I don't think so... are you getting an error?
I run queries like:
/select?q=*:*&fl=name&sort=added desc
without p
I don't think you have to. Just try the query on the REST interface and you
will know.
On Dec 5, 2007 9:56 AM, Kasi Sankaralingam <[EMAIL PROTECTED]> wrote:
> Do I need to select the fields in the query that I am trying to sort on?,
> for example if I want sort on update date then do I need to se
Do I need to select the fields in the query that I am trying to sort on?, for
example if I want sort on update date then do I need to select that field?
Thanks,