@@ -11,106 +11,106 @@ namespace Nest
1111 public interface ISignificantTermsAggregator : IBucketAggregator
1212 {
1313 [ JsonProperty ( "field" ) ]
14- PropertyPathMarker _Field { get ; set ; }
14+ PropertyPathMarker Field { get ; set ; }
1515
1616 [ JsonProperty ( "size" ) ]
17- int ? _Size { get ; set ; }
17+ int ? Size { get ; set ; }
1818
1919 [ JsonProperty ( "shard_size" ) ]
20- int ? _ShardSize { get ; set ; }
20+ int ? ShardSize { get ; set ; }
2121
2222 [ JsonProperty ( "min_doc_count" ) ]
23- int ? _MinimumDocumentCount { get ; set ; }
23+ int ? MinimumDocumentCount { get ; set ; }
2424
2525 [ JsonProperty ( "execution_hit" ) ]
26- TermsAggregationExecutionHint ? _ExecutionHint { get ; set ; }
26+ TermsAggregationExecutionHint ? ExecutionHint { get ; set ; }
2727
2828 [ JsonProperty ( "include" ) ]
29- IDictionary < string , string > _Include { get ; set ; }
29+ IDictionary < string , string > Include { get ; set ; }
3030
3131 [ JsonProperty ( "exclude" ) ]
32- IDictionary < string , string > _Exclude { get ; set ; }
32+ IDictionary < string , string > Exclude { get ; set ; }
3333 }
3434
3535 public class SignificantTermsAggregator : BucketAggregator , ISignificantTermsAggregator
3636 {
37- public PropertyPathMarker _Field { get ; set ; }
38- public int ? _Size { get ; set ; }
39- public int ? _ShardSize { get ; set ; }
40- public int ? _MinimumDocumentCount { get ; set ; }
41- public TermsAggregationExecutionHint ? _ExecutionHint { get ; set ; }
42- public IDictionary < string , string > _Include { get ; set ; }
43- public IDictionary < string , string > _Exclude { get ; set ; }
37+ public PropertyPathMarker Field { get ; set ; }
38+ public int ? Size { get ; set ; }
39+ public int ? ShardSize { get ; set ; }
40+ public int ? MinimumDocumentCount { get ; set ; }
41+ public TermsAggregationExecutionHint ? ExecutionHint { get ; set ; }
42+ public IDictionary < string , string > Include { get ; set ; }
43+ public IDictionary < string , string > Exclude { get ; set ; }
4444 }
4545
4646 public class SignificantTermsAggregationDescriptor < T > : BucketAggregationBaseDescriptor < SignificantTermsAggregationDescriptor < T > , T > , ISignificantTermsAggregator where T : class
4747 {
4848 private ISignificantTermsAggregator Self { get { return this ; } }
4949
50- PropertyPathMarker ISignificantTermsAggregator . _Field { get ; set ; }
50+ PropertyPathMarker ISignificantTermsAggregator . Field { get ; set ; }
5151
52- int ? ISignificantTermsAggregator . _Size { get ; set ; }
52+ int ? ISignificantTermsAggregator . Size { get ; set ; }
5353
54- int ? ISignificantTermsAggregator . _ShardSize { get ; set ; }
54+ int ? ISignificantTermsAggregator . ShardSize { get ; set ; }
5555
56- int ? ISignificantTermsAggregator . _MinimumDocumentCount { get ; set ; }
56+ int ? ISignificantTermsAggregator . MinimumDocumentCount { get ; set ; }
5757
58- TermsAggregationExecutionHint ? ISignificantTermsAggregator . _ExecutionHint { get ; set ; }
58+ TermsAggregationExecutionHint ? ISignificantTermsAggregator . ExecutionHint { get ; set ; }
5959
60- IDictionary < string , string > ISignificantTermsAggregator . _Include { get ; set ; }
60+ IDictionary < string , string > ISignificantTermsAggregator . Include { get ; set ; }
6161
62- IDictionary < string , string > ISignificantTermsAggregator . _Exclude { get ; set ; }
62+ IDictionary < string , string > ISignificantTermsAggregator . Exclude { get ; set ; }
6363
6464 public SignificantTermsAggregationDescriptor < T > Field ( string field )
6565 {
66- Self . _Field = field ;
66+ Self . Field = field ;
6767 return this ;
6868 }
6969
7070 public SignificantTermsAggregationDescriptor < T > Field ( Expression < Func < T , object > > field )
7171 {
72- Self . _Field = field ;
72+ Self . Field = field ;
7373 return this ;
7474 }
7575
7676
7777 public SignificantTermsAggregationDescriptor < T > Size ( int size )
7878 {
79- Self . _Size = size ;
79+ Self . Size = size ;
8080 return this ;
8181 }
8282
8383 public SignificantTermsAggregationDescriptor < T > ShardSize ( int shardSize )
8484 {
85- Self . _ShardSize = shardSize ;
85+ Self . ShardSize = shardSize ;
8686 return this ;
8787 }
8888
8989 public SignificantTermsAggregationDescriptor < T > MinimumDocumentCount ( int minimumDocumentCount )
9090 {
91- Self . _MinimumDocumentCount = minimumDocumentCount ;
91+ Self . MinimumDocumentCount = minimumDocumentCount ;
9292 return this ;
9393 }
9494
9595 public SignificantTermsAggregationDescriptor < T > ExecutionHint ( TermsAggregationExecutionHint executionHint )
9696 {
97- Self . _ExecutionHint = executionHint ;
97+ Self . ExecutionHint = executionHint ;
9898 return this ;
9999 }
100100
101101 public SignificantTermsAggregationDescriptor < T > Include ( string includePattern , string regexFlags = null )
102102 {
103- Self . _Include = new Dictionary < string , string > { { "pattern" , includePattern } } ;
103+ Self . Include = new Dictionary < string , string > { { "pattern" , includePattern } } ;
104104 if ( ! regexFlags . IsNullOrEmpty ( ) )
105- Self . _Include . Add ( "pattern" , regexFlags ) ;
105+ Self . Include . Add ( "pattern" , regexFlags ) ;
106106 return this ;
107107 }
108108
109109 public SignificantTermsAggregationDescriptor < T > Exclude ( string excludePattern , string regexFlags = null )
110110 {
111- Self . _Exclude = new Dictionary < string , string > { { "pattern" , excludePattern } } ;
111+ Self . Exclude = new Dictionary < string , string > { { "pattern" , excludePattern } } ;
112112 if ( ! regexFlags . IsNullOrEmpty ( ) )
113- Self . _Exclude . Add ( "pattern" , regexFlags ) ;
113+ Self . Exclude . Add ( "pattern" , regexFlags ) ;
114114 return this ;
115115 }
116116 }
0 commit comments