File tree 1 file changed +0
-7
lines changed
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)
75
75
}
76
76
public MatchQueryDescriptor < T > Analyzer ( string analyzer )
77
77
{
78
- analyzer . ThrowIfNullOrEmpty ( "analyzer" ) ;
79
78
this . _Analyzer = analyzer ;
80
79
return this ;
81
80
}
82
81
public MatchQueryDescriptor < T > Fuzziness ( double fuzziness )
83
82
{
84
- fuzziness . ThrowIfNull ( "fuzziness" ) ;
85
83
this . _Fuzziness = fuzziness ;
86
84
return this ;
87
85
}
88
86
public MatchQueryDescriptor < T > CutoffFrequency ( double cutoffFrequency )
89
87
{
90
- cutoffFrequency . ThrowIfNull ( "cutoffFrequency" ) ;
91
88
this . _CutoffFrequency = cutoffFrequency ;
92
89
return this ;
93
90
}
94
91
95
92
public MatchQueryDescriptor < T > Rewrite ( RewriteMultiTerm rewrite )
96
93
{
97
- rewrite . ThrowIfNull ( "rewrite" ) ;
98
94
this . _Rewrite = rewrite ;
99
95
return this ;
100
96
}
@@ -107,19 +103,16 @@ public MatchQueryDescriptor<T> Boost(double boost)
107
103
}
108
104
public MatchQueryDescriptor < T > PrefixLength ( int prefixLength )
109
105
{
110
- prefixLength . ThrowIfNull ( "prefixLength" ) ;
111
106
this . _PrefixLength = prefixLength ;
112
107
return this ;
113
108
}
114
109
public MatchQueryDescriptor < T > MaxExpansions ( int maxExpansions )
115
110
{
116
- maxExpansions . ThrowIfNull ( "maxExpansions" ) ;
117
111
this . _MaxExpansions = maxExpansions ;
118
112
return this ;
119
113
}
120
114
public MatchQueryDescriptor < T > Slop ( int slop )
121
115
{
122
- slop . ThrowIfNull ( "slop" ) ;
123
116
this . _Slop = slop ;
124
117
return this ;
125
118
}
You can’t perform that action at this time.
0 commit comments