
MoreLikeThisParameters
- Namespace
- Rowles.LeanLucene.Search.Queries
- Assembly
- Rowles.LeanLucene.dll
Configuration for MoreLikeThis term extraction and query generation.
public sealed record MoreLikeThisParameters : IEquatable<MoreLikeThisParameters>
MoreLikeThisParameters
Properties
BoostByScore
Whether to boost terms by their TF-IDF weight. Default: true.
MaxDocFreq
Maximum document frequency (filters ultra-common terms). Default: int.MaxValue.
MaxQueryTerms
Maximum number of terms used in the generated query. Default: 25.
MinDocFreq
Minimum document frequency across the index. Default: 1.
MinTermFreq
Minimum term frequency in the source document. Default: 1.
MinWordLength
Minimum word length to consider. Default: 3.