Class MatchPhrasePrefixQueryDescriptor<T>
Inheritance
MatchPhrasePrefixQueryDescriptor<T>
Assembly: OpenSearch.Client.dll
Syntax
public class MatchPhrasePrefixQueryDescriptor<T> : FieldNameQueryDescriptorBase<MatchPhrasePrefixQueryDescriptor<T>, IMatchPhrasePrefixQuery, T>, IDescriptor, IMatchPhrasePrefixQuery, IFieldNameQuery, 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
Analyzer(string)
Declaration
public MatchPhrasePrefixQueryDescriptor<T> Analyzer(string analyzer)
Parameters
Type |
Name |
Description |
string |
analyzer |
|
Returns
|
Edit this page
View Source
MaxExpansions(int?)
Declaration
public MatchPhrasePrefixQueryDescriptor<T> MaxExpansions(int? maxExpansions)
Parameters
Type |
Name |
Description |
int? |
maxExpansions |
|
Returns
|
Edit this page
View Source
Query(string)
Declaration
public MatchPhrasePrefixQueryDescriptor<T> Query(string query)
Parameters
Type |
Name |
Description |
string |
query |
|
Returns
|
Edit this page
View Source
Slop(int?)
Declaration
public MatchPhrasePrefixQueryDescriptor<T> Slop(int? slop)
Parameters
Type |
Name |
Description |
int? |
slop |
|
Returns
|
Edit this page
View Source
ZeroTermsQuery(ZeroTermsQuery?)
If the analyzer used removes all tokens in a query like a stop filter does, the default behavior is
to match no documents at all. In order to change that, ZeroTermsQuery can be used,
which accepts None (default) and All
which corresponds to a match_all query.
Declaration
public MatchPhrasePrefixQueryDescriptor<T> ZeroTermsQuery(ZeroTermsQuery? zeroTermsQuery)
Parameters
Returns
Implements
Extension Methods