Interface IMultiTermVectorOperation
An operation to define the calculation of term vectors when using Multi termvectors API
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IMultiTermVectorOperation
Properties
| Edit this page View SourceDocument
A document not indexed in OpenSearch, to generate term vectors for
Declaration
[DataMember(Name = "doc")]
object Document { get; set; }
Property Value
Type | Description |
---|---|
object |
FieldStatistics
Whether to include field statistics. When set to false
,
true
.
Declaration
[DataMember(Name = "field_statistics")]
bool? FieldStatistics { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Fields
The document field to generate term vectors for
Declaration
[DataMember(Name = "fields")]
Fields Fields { get; set; }
Property Value
Type | Description |
---|---|
Fields |
Filter
Filter terms based on their tf-idf scores. This can be useful in order find out a good characteristic vector of a document.
Declaration
[DataMember(Name = "filter")]
ITermVectorFilter Filter { get; set; }
Property Value
Type | Description |
---|---|
ITermVectorFilter |
Id
The id of the document
Declaration
[DataMember(Name = "_id")]
Id Id { get; set; }
Property Value
Type | Description |
---|---|
Id |
Index
The index in which the document resides
Declaration
[DataMember(Name = "_index")]
IndexName Index { get; set; }
Property Value
Type | Description |
---|---|
IndexName |
Offsets
Whether to include the start and end offsets.
Default is true
.
Declaration
[DataMember(Name = "offsets")]
bool? Offsets { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Payloads
Whether to include the term payloads as
base64 encoded bytes. Default is true
Declaration
[DataMember(Name = "payloads")]
bool? Payloads { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Positions
Whether to include the term positions.
Default is true
Declaration
[DataMember(Name = "positions")]
bool? Positions { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Routing
When requesting term vectors for Document, a shard to get the statistics from is randomly selected. Use Routing only to hit a particular shard.
Declaration
[DataMember(Name = "routing")]
Routing Routing { get; set; }
Property Value
Type | Description |
---|---|
Routing |
TermStatistics
Whether to include term statistics. When set to true
,
false
since
term statistics can have a large performance impact.
Declaration
[DataMember(Name = "term_statistics")]
bool? TermStatistics { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Version
The version number
Declaration
[DataMember(Name = "version")]
long? Version { get; set; }
Property Value
Type | Description |
---|---|
long? |
VersionType
The type of version
Declaration
[DataMember(Name = "version_type")]
VersionType? VersionType { get; set; }
Property Value
Type | Description |
---|---|
VersionType? |