File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -75,26 +75,22 @@ public MatchQueryDescriptor<T> QueryString(string queryString)
7575 }
7676 public MatchQueryDescriptor < T > Analyzer ( string analyzer )
7777 {
78- analyzer . ThrowIfNullOrEmpty ( "analyzer" ) ;
7978 this . _Analyzer = analyzer ;
8079 return this ;
8180 }
8281 public MatchQueryDescriptor < T > Fuzziness ( double fuzziness )
8382 {
84- fuzziness . ThrowIfNull ( "fuzziness" ) ;
8583 this . _Fuzziness = fuzziness ;
8684 return this ;
8785 }
8886 public MatchQueryDescriptor < T > CutoffFrequency ( double cutoffFrequency )
8987 {
90- cutoffFrequency . ThrowIfNull ( "cutoffFrequency" ) ;
9188 this . _CutoffFrequency = cutoffFrequency ;
9289 return this ;
9390 }
9491
9592 public MatchQueryDescriptor < T > Rewrite ( RewriteMultiTerm rewrite )
9693 {
97- rewrite . ThrowIfNull ( "rewrite" ) ;
9894 this . _Rewrite = rewrite ;
9995 return this ;
10096 }
@@ -107,19 +103,16 @@ public MatchQueryDescriptor<T> Boost(double boost)
107103 }
108104 public MatchQueryDescriptor < T > PrefixLength ( int prefixLength )
109105 {
110- prefixLength . ThrowIfNull ( "prefixLength" ) ;
111106 this . _PrefixLength = prefixLength ;
112107 return this ;
113108 }
114109 public MatchQueryDescriptor < T > MaxExpansions ( int maxExpansions )
115110 {
116- maxExpansions . ThrowIfNull ( "maxExpansions" ) ;
117111 this . _MaxExpansions = maxExpansions ;
118112 return this ;
119113 }
120114 public MatchQueryDescriptor < T > Slop ( int slop )
121115 {
122- slop . ThrowIfNull ( "slop" ) ;
123116 this . _Slop = slop ;
124117 return this ;
125118 }
You can’t perform that action at this time.
0 commit comments