You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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:
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!
The text was updated successfully, but these errors were encountered: