Hi all,

I am trying to resolve a problem here where I have to fiddle around with
set of dates ( created and updated date).
My use is that I have to make sure that the document with latest (recent)
 update date should come higher in my search results.
Precisely,  I am required to maintain 3 buckets wherein documents with
updated date falling in range of last 30 days should have maximum weight,
followed by update date in 60 and 90 and the rest.
However in cases where update date is unavailable I need to sort it using
created date.
I am not sure how do I achieve this.
Any insights here would be a great help.
Thanks in advance.
Regards,
Atita

Reply via email to