Class MoreLikeThisQueryDescriptor<T>
Inheritance
MoreLikeThisQueryDescriptor<T>
Assembly: OpenSearch.Client.dll
Syntax
public class MoreLikeThisQueryDescriptor<T> : QueryDescriptorBase<MoreLikeThisQueryDescriptor<T>, IMoreLikeThisQuery>, IDescriptor, IMoreLikeThisQuery, 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 MoreLikeThisQueryDescriptor<T> Analyzer(string analyzer)
Parameters
Type |
Name |
Description |
string |
analyzer |
|
Returns
|
Edit this page
View Source
BoostTerms(double?)
Declaration
public MoreLikeThisQueryDescriptor<T> BoostTerms(double? boostTerms)
Parameters
Type |
Name |
Description |
double? |
boostTerms |
|
Returns
|
Edit this page
View Source
Fields(Fields)
Declaration
public MoreLikeThisQueryDescriptor<T> Fields(Fields fields)
Parameters
Type |
Name |
Description |
Fields |
fields |
|
Returns
|
Edit this page
View Source
Fields(Func<FieldsDescriptor<T>, IPromise<Fields>>)
Declaration
public MoreLikeThisQueryDescriptor<T> Fields(Func<FieldsDescriptor<T>, IPromise<Fields>> fields)
Parameters
Returns
|
Edit this page
View Source
Include(bool?)
Declaration
public MoreLikeThisQueryDescriptor<T> Include(bool? include = true)
Parameters
Type |
Name |
Description |
bool? |
include |
|
Returns
|
Edit this page
View Source
Like(Func<LikeDescriptor<T>, IPromise<List<Like>>>)
Declaration
public MoreLikeThisQueryDescriptor<T> Like(Func<LikeDescriptor<T>, IPromise<List<Like>>> selector)
Parameters
Returns
|
Edit this page
View Source
MaxDocumentFrequency(int?)
Declaration
public MoreLikeThisQueryDescriptor<T> MaxDocumentFrequency(int? maxDocumentFrequency)
Parameters
Type |
Name |
Description |
int? |
maxDocumentFrequency |
|
Returns
|
Edit this page
View Source
MaxQueryTerms(int?)
Declaration
public MoreLikeThisQueryDescriptor<T> MaxQueryTerms(int? maxQueryTerms)
Parameters
Type |
Name |
Description |
int? |
maxQueryTerms |
|
Returns
|
Edit this page
View Source
MaxWordLength(int?)
Declaration
public MoreLikeThisQueryDescriptor<T> MaxWordLength(int? maxWordLength)
Parameters
Type |
Name |
Description |
int? |
maxWordLength |
|
Returns
|
Edit this page
View Source
MinDocumentFrequency(int?)
Declaration
public MoreLikeThisQueryDescriptor<T> MinDocumentFrequency(int? minDocumentFrequency)
Parameters
Type |
Name |
Description |
int? |
minDocumentFrequency |
|
Returns
|
Edit this page
View Source
MinTermFrequency(int?)
Declaration
public MoreLikeThisQueryDescriptor<T> MinTermFrequency(int? minTermFrequency)
Parameters
Type |
Name |
Description |
int? |
minTermFrequency |
|
Returns
|
Edit this page
View Source
MinWordLength(int?)
Declaration
public MoreLikeThisQueryDescriptor<T> MinWordLength(int? minWordLength)
Parameters
Type |
Name |
Description |
int? |
minWordLength |
|
Returns
|
Edit this page
View Source
MinimumShouldMatch(MinimumShouldMatch)
Declaration
public MoreLikeThisQueryDescriptor<T> MinimumShouldMatch(MinimumShouldMatch minMatch)
Parameters
Returns
|
Edit this page
View Source
PerFieldAnalyzer(Func<PerFieldAnalyzerDescriptor<T>, IPromise<IPerFieldAnalyzer>>)
Declaration
public MoreLikeThisQueryDescriptor<T> PerFieldAnalyzer(Func<PerFieldAnalyzerDescriptor<T>, IPromise<IPerFieldAnalyzer>> analyzerSelector)
Parameters
Returns
|
Edit this page
View Source
Routing(Routing)
Declaration
public MoreLikeThisQueryDescriptor<T> Routing(Routing routing)
Parameters
Type |
Name |
Description |
Routing |
routing |
|
Returns
|
Edit this page
View Source
StopWords(StopWords)
Declaration
public MoreLikeThisQueryDescriptor<T> StopWords(StopWords stopWords)
Parameters
Returns
|
Edit this page
View Source
StopWords(IEnumerable<string>)
Declaration
public MoreLikeThisQueryDescriptor<T> StopWords(IEnumerable<string> stopWords)
Parameters
Returns
|
Edit this page
View Source
StopWords(params string[])
Declaration
public MoreLikeThisQueryDescriptor<T> StopWords(params string[] stopWords)
Parameters
Type |
Name |
Description |
string[] |
stopWords |
|
Returns
|
Edit this page
View Source
Unlike(Func<LikeDescriptor<T>, IPromise<List<Like>>>)
Declaration
public MoreLikeThisQueryDescriptor<T> Unlike(Func<LikeDescriptor<T>, IPromise<List<Like>>> selector)
Parameters
Returns
|
Edit this page
View Source
Version(long?)
Declaration
public MoreLikeThisQueryDescriptor<T> Version(long? version)
Parameters
Type |
Name |
Description |
long? |
version |
|
Returns
|
Edit this page
View Source
VersionType(VersionType?)
Declaration
public MoreLikeThisQueryDescriptor<T> VersionType(VersionType? versionType)
Parameters
Returns
Implements
Extension Methods