Closed
Description
Given the code listed below, how can I filter the terms returned from a term vector request as a means of ensuring no words with a frequency greater than x are returned? The ElasticSearch (ES) feature I'm trying to play around with is documented on the ES website.
Here's the code snippet:
var termVectorResponse = ElasticClient.MultiTermVectors(new MultiTermVectorsRequest(IndexName, Type)
{
Documents = documentIds.Select(id => new MultiTermVectorOperation<Document>(id)
{
FieldStatistics = true,
Payloads = true,
TermStatistics = true,
Positions = true,
Offsets = true,
Type = Type,
Index = IndexName
})
});
How can I alter this code to specify term filters like max_num_terms and min_term_freq? I'm using ES version 2.02. Thanks for the help!
Metadata
Metadata
Assignees
Labels
No labels