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
If you want to have some categories before another ones, but the other
categories sorted alphabeticaly, you could create another field on your
index like cat_priority and put numerical values, so you can sort by this
field and by secondarily by your category name.
2008/5/27 anuvenk <[EMAIL PROTECT
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