Re: Sorting results by last update date

2013-05-31 Thread Kamal Palei
oday if the current time is before noon." > > But use "*" and you will be better off anyway. > > -- Jack Krupansky > > -Original Message- From: Jack Krupansky > Sent: Thursday, May 30, 2013 8:27 AM > > To: solr-user@lucene.apache.org > Subject:

Re: Sorting results by last update date

2013-05-30 Thread Jack Krupansky
---Original Message- From: Jack Krupansky Sent: Thursday, May 30, 2013 8:27 AM To: solr-user@lucene.apache.org Subject: Re: Sorting results by last update date You can just use "NOW/DAY" for a filter that would only change once a day: [NOW/DAY-60DAY TO NOW/DAY] Oops... ma

Re: Sorting results by last update date

2013-05-30 Thread Jack Krupansky
--Original Message- From: Kamal Palei Sent: Thursday, May 30, 2013 5:41 AM To: solr-user@lucene.apache.org Subject: Re: Sorting results by last update date Thanks Shalini... It is solr 3.6.2 Instead of NOW, I can use today's date (I did not know this cache issue,, thanks). Later I real

Re: Sorting results by last update date

2013-05-30 Thread Tom Gullo
&sort=last_updated_date desc Maybe adding %20 will help: &sort=last_updated_date%20desc -- View this message in context: http://lucene.472066.n3.nabble.com/Sorting-results-by-last-update-date-tp4066692p4066986.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Sorting results by last update date

2013-05-30 Thread Kamal Palei
Thanks Shalini... It is solr 3.6.2 Instead of NOW, I can use today's date (I did not know this cache issue,, thanks). Later I realized , it looks it is my mistake that misleads asc and desc ordering result. After I get data from solr, again I do mysql query where the order changes again. Reg

Re: Sorting results by last update date

2013-05-29 Thread Shalin Shekhar Mangar
On Wed, May 29, 2013 at 12:10 PM, Kamal Palei wrote: > Hi All > I am trying to sort the results as per last updated date. My url looks as > below. > > *&fq=last_updated_date:[NOW-60DAY TO NOW]&fq=experience:[0 TO > 588]&fq=salary:[0 TO 500] OR > > salary:0&fq=-bundle:job&fq=-bundle:panel&fq=-bund