File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public class FuzzyLikeThisDescriptor<T> : IQuery where T : class
21
21
[ JsonProperty ( PropertyName = "max_query_terms" ) ]
22
22
internal int ? _MaxQueryTerms { get ; set ; }
23
23
[ JsonProperty ( PropertyName = "min_similarity" ) ]
24
- internal int ? _MinSimilarity { get ; set ; }
24
+ internal double ? _MinSimilarity { get ; set ; }
25
25
[ JsonProperty ( PropertyName = "prefix_length" ) ]
26
26
internal int ? _PrefixLength { get ; set ; }
27
27
[ JsonProperty ( PropertyName = "boost" ) ]
@@ -59,7 +59,7 @@ public FuzzyLikeThisDescriptor<T> IgnoreTermFrequency(bool ignore)
59
59
this . _IgnoreTermFrequency = ignore ;
60
60
return this ;
61
61
}
62
- public FuzzyLikeThisDescriptor < T > MinimumSimilarity ( int minSimilarity )
62
+ public FuzzyLikeThisDescriptor < T > MinimumSimilarity ( double minSimilarity )
63
63
{
64
64
this . _MinSimilarity = minSimilarity ;
65
65
return this ;
You can’t perform that action at this time.
0 commit comments