Beispiel #1
0
 public MoreLikeThisQueryDescriptor <T> MinimumShouldMatch(MinimumShouldMatch minMatch) => Assign(a => a.MinimumShouldMatch = minMatch);
 /// <inheritdoc cref="IQueryStringQuery.MinimumShouldMatch" />
 public QueryStringQueryDescriptor <T> MinimumShouldMatch(MinimumShouldMatch minimumShouldMatch) =>
 Assign(minimumShouldMatch, (a, v) => a.MinimumShouldMatch = v);
Beispiel #3
0
 public MatchQueryDescriptor <T> MinimumShouldMatch(MinimumShouldMatch minimumShouldMatch) => Assign(a => a.MinimumShouldMatch = minimumShouldMatch);
Beispiel #4
0
 public SimpleQueryStringQueryDescriptor <T> MinimumShouldMatch(MinimumShouldMatch minimumShouldMatch) =>
 Assign(a => a.MinimumShouldMatch = minimumShouldMatch);
 ///<inheritdoc/>
 public CommonTermsQueryDescriptor <T> MinimumShouldMatch(MinimumShouldMatch minimumShouldMatch) =>
 Assign(a => a.MinimumShouldMatch = minimumShouldMatch);
Beispiel #6
0
		/// <summary>
		/// Specifies a minimum number of the optional BooleanClauses which must be satisfied.
		/// </summary>
		/// <param name="minimumShouldMatches"></param>
		/// <returns></returns>
		public BoolQueryDescriptor<T> MinimumShouldMatch(MinimumShouldMatch minimumShouldMatches) => Assign(a => a.MinimumShouldMatch = minimumShouldMatches);