Created
December 28, 2016 21:38
-
-
Save khalidabuhakmeh/499acabf161ef0d797c2479bf641c90b to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Document { | |
public string Id {get;set;} | |
public string Site {get;set;} | |
} | |
I would like the value of `Site` to be the document `_type`. How do I accomplish that via inference in NEST? `InferMappingFor<T>`. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment