Last active
August 20, 2016 16:17
-
-
Save soen/756d5e1eb8e0192d2d1671553eb952a1 to your computer and use it in GitHub Desktop.
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
// A custom implementation of the SearchResultItem | |
public class MySearchResultItem : SearchResultItem | |
{ | |
// I've added a new property, that will be mapped to the Solr field named 'mytextfield' | |
[IndexField("mytextfield")] | |
public string MyTextField { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment