I have a simple query to a Solr instance using SolrNet, But for some reason, the score is always 0.
I have verified :
have a field [SolrField("Score")] public double Score { get; set; } in my mapping class
have checked that the fields being searched are string instead of text.
What else could be wrong? Please help
Update:
var results = solr.Query(q,
new QueryOptions
{
OrderBy = new[] { new SolrNet.SortOrder("DateSubmitted", Order.ASC) },
Fields = new[] { "score" }
}
);