@@ -21,6 +21,7 @@ public interface IKeywordProperty : IDocValuesProperty
21
21
int ? IgnoreAbove { get ; set ; }
22
22
23
23
[ JsonProperty ( "include_in_all" ) ]
24
+ [ Obsolete ( "Scheduled to be removed in 6.0" ) ]
24
25
bool ? IncludeInAll { get ; set ; }
25
26
26
27
[ JsonProperty ( "index" ) ]
@@ -47,6 +48,7 @@ public KeywordProperty() : base(FieldType.Keyword) { }
47
48
public double ? Boost { get ; set ; }
48
49
public bool ? EagerGlobalOrdinals { get ; set ; }
49
50
public int ? IgnoreAbove { get ; set ; }
51
+ [ Obsolete ( "Scheduled to be removed in 6.0" ) ]
50
52
public bool ? IncludeInAll { get ; set ; }
51
53
public bool ? Index { get ; set ; }
52
54
public IndexOptions ? IndexOptions { get ; set ; }
@@ -75,6 +77,7 @@ public KeywordPropertyDescriptor() : base(FieldType.Keyword) { }
75
77
public KeywordPropertyDescriptor < T > Boost ( double boost ) => Assign ( a => a . Boost = boost ) ;
76
78
public KeywordPropertyDescriptor < T > EagerGlobalOrdinals ( bool eagerGlobalOrdinals = true ) => Assign ( a => a . EagerGlobalOrdinals = eagerGlobalOrdinals ) ;
77
79
public KeywordPropertyDescriptor < T > IgnoreAbove ( int ignoreAbove ) => Assign ( a => a . IgnoreAbove = ignoreAbove ) ;
80
+ [ Obsolete ( "Scheduled to be removed in 6.0" ) ]
78
81
public KeywordPropertyDescriptor < T > IncludeInAll ( bool includeInAll = true ) => Assign ( a => a . IncludeInAll = includeInAll ) ;
79
82
public KeywordPropertyDescriptor < T > Index ( bool index = true ) => Assign ( a => a . Index = index ) ;
80
83
public KeywordPropertyDescriptor < T > IndexOptions ( IndexOptions indexOptions ) => Assign ( a => a . IndexOptions = indexOptions ) ;
0 commit comments