Skip to main content

Glossary: MoreLikeThisQuery

Properties

NameTypeDescription
MinimumTermFrequencyint?Ignore terms with less than this frequency in the source doc. Default is 2.
MinimumDocumentFrequencyint?Ignore words which do not occur in at least this many documents. Default is 5.
MaximumDocumentFrequencyint?Ignore words which occur in more than this many documents. Default is Int32.MaxValue.
MaximumDocumentFrequencyPercentageint ?Ignore words which occur in more than this percentage of documents.
Boostbool?Boost terms in query based on score. Default is false.
BoostFactorfloat?Boost factor when boosting based on score. Default is 1.
MinimumWordLengthint?Ignore words less than this length or if 0 then this has no effect. Default is 0.
MaximumWordLengthint?Ignore words greater than this length or if 0 then this has no effect. Default is 0.
MaximumQueryTermsint?Return a Query with no more than this many terms. Default is 25.
MaximumNumberOfTokensParsedint ?The maximum number of tokens to parse in each example doc field that is not stored with TermVector support. Default is 5000.
StopWordsDocumentIdstringThe document id containing the custom stop words
Fieldsstring[]The fields to compare
DocumentIdstringThe document id to use as the basis for comparison
IndexNamestringThe name of the index to use for this operation
AdditionalQuerystringAn additional query that the matching documents need to also match to be returned
MapGroupFieldsNameValueCollectionValues for the the mapping group fields to use as the basis for comparison
ResultsTransformerstringThe results transformer
Includesstring[]The includes
TransformerParametersDictionary<string, RavenJToken>Additional transformer parameters