File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed
src/Nest/Domain/Mapping/Types Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -10,16 +10,12 @@ namespace Nest
1010 /// in order to specify "{dynamic_template}" the type, or if you have some plugin that exposes a new type.
1111 /// </summary>
1212 [ JsonObject ( MemberSerialization . OptIn ) ]
13- public class GenericMapping : IElasticType , IElasticCoreType
13+ public class GenericMapping : MultiFieldMapping , IElasticType , IElasticCoreType
1414 {
15-
16- public PropertyNameMarker Name { get ; set ; }
17-
18- [ JsonProperty ( "type" ) ]
19- public TypeNameMarker Type { get ; set ; }
20-
21- [ JsonProperty ( "similarity" ) ]
22- public string Similarity { get ; set ; }
15+ public GenericMapping ( )
16+ {
17+ Type = string . Empty ;
18+ }
2319
2420 /// <summary>
2521 /// The name of the field that will be stored in the index. Defaults to the property/field name.
@@ -39,9 +35,6 @@ public class GenericMapping : IElasticType, IElasticCoreType
3935 [ JsonProperty ( "boost" ) ]
4036 public double ? Boost { get ; set ; }
4137
42- [ JsonProperty ( "include_in_all" ) ]
43- public bool ? IncludeInAll { get ; set ; }
44-
4538 [ JsonProperty ( "term_vector" ) ]
4639 public string TermVector { get ; set ; }
4740
You can’t perform that action at this time.
0 commit comments