Files
elasticsearch-js/docs/reference/api/QueryDslMoreLikeThisQuery.md
2025-05-27 15:30:21 -05:00

2.5 KiB

Interface QueryDslMoreLikeThisQuery

Name Type Description
analyzer string The analyzer that is used to analyze the free form text. Defaults to the analyzer associated with the first field in fields.
boost_terms double Each term in the formed query could be further boosted by their tf-idf score. This sets the boost factor to use when using this feature. Defaults to deactivated (0).
fail_on_unsupported_field boolean Controls whether the query should fail (throw an exception) if any of the specified fields are not of the supported types ( text or keyword).
fields Field[] A list of fields to fetch and analyze the text from. Defaults to the index.query.default_field index setting, which has a default value of *.
include boolean Specifies whether the input documents should also be included in the search results returned.
like QueryDslLike QueryDslLike[]
max_doc_freq integer The maximum document frequency above which the terms are ignored from the input document.
max_query_terms integer The maximum number of query terms that can be selected.
max_word_length integer The maximum word length above which the terms are ignored. Defaults to unbounded ( 0).
min_doc_freq integer The minimum document frequency below which the terms are ignored from the input document.
min_term_freq integer The minimum term frequency below which the terms are ignored from the input document.
min_word_length integer The minimum word length below which the terms are ignored.
minimum_should_match MinimumShouldMatch After the disjunctive query has been formed, this parameter controls the number of terms that must match.
routing Routing  
stop_words AnalysisStopWords An array of stop words. Any word in this set is ignored.
unlike QueryDslLike QueryDslLike[]
version_type VersionType  
version VersionNumber