I am using Elasticsearch and NEST to query posts similar to Stackoverflow's.
public class Post
{
public string Id { get; set; }
public string Title { get; set; }
public string Body { get; set; }
public IEnumerable<string> Tags { get; set; }
public int Score { get; set; }
public int Views{ get; set; }
}
I want Elasticsearch to look at Score and Views when calculating hits relevance, so that high Score or Views value move results higher in the results.