Last active
August 29, 2015 14:06
-
-
Save mattgartman/b5b874cd2e4e33c707c5 to your computer and use it in GitHub Desktop.
SolrDateBoost: Search Model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SearchResultItemModel : Sitecore.ContentSearch.SearchTypes.SearchResultItem | |
{ | |
[IndexField("_val_")] | |
public string _val_ { get; set; } | |
//custom publication date field defined in the Sitecore data template | |
[IndexField("PublicationDate")] | |
public DateTime PublicationDate { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment