How can you boost documents by recency in RavenDB?
问题 Is it possible to boost recent documents in a RavenDB query? This question is exactly what I want to do but refers to native Lucene, not RavenDB. For example, if I have a Document like this public class Document { public string Title { get; set; } public DateTime DateCreated { get; set; } } How can I boost documents who's date are closer to a given date, e.g. DateTime.UtcNow ? I do not want to OrderByDecending(x => x.DateCreated) as there are other search parameters that need to affect the