Class DisMaxQueryDescriptor<T>
Inheritance
DisMaxQueryDescriptor<T>
Assembly: OpenSearch.Client.dll
Syntax
[DataContract]
public class DisMaxQueryDescriptor<T> : QueryDescriptorBase<DisMaxQueryDescriptor<T>, IDisMaxQuery>, IDescriptor, IDisMaxQuery, IQuery where T : class
Type Parameters
Properties
|
Edit this page
View Source
Conditionless
Whether the query is conditionless. A conditionless query is not serialized as part of the request
sent to OpenSearch.
Declaration
protected override bool Conditionless { get; }
Property Value
Overrides
Methods
|
Edit this page
View Source
Queries(params QueryContainer[])
Declaration
public DisMaxQueryDescriptor<T> Queries(params QueryContainer[] queries)
Parameters
Returns
|
Edit this page
View Source
Queries(IEnumerable<Func<QueryContainerDescriptor<T>, QueryContainer>>)
Declaration
public DisMaxQueryDescriptor<T> Queries(IEnumerable<Func<QueryContainerDescriptor<T>, QueryContainer>> querySelectors)
Parameters
Returns
|
Edit this page
View Source
Queries(params Func<QueryContainerDescriptor<T>, QueryContainer>[])
Declaration
public DisMaxQueryDescriptor<T> Queries(params Func<QueryContainerDescriptor<T>, QueryContainer>[] querySelectors)
Parameters
Returns
|
Edit this page
View Source
TieBreaker(double?)
Declaration
public DisMaxQueryDescriptor<T> TieBreaker(double? tieBreaker)
Parameters
Type |
Name |
Description |
double? |
tieBreaker |
|
Returns
Implements
Extension Methods