Re: Solr sorting question to boost a certain field first

2012-02-29 Thread Mike Austin
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

Re: solr sorting question

2008-05-28 Thread Alexander Ramos Jardim
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

RE: SOLR sorting - question

2007-12-04 Thread Kasi Sankaralingam
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

Re: SOLR sorting - question

2007-12-04 Thread Ryan McKinley
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

Re: SOLR sorting - question

2007-12-04 Thread climbingrose
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