Class SourceRequest<TDocument>
Inheritance
SourceRequest<TDocument>
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class SourceRequest<TDocument> : SourceRequest, ISourceRequest<TDocument>, ISourceRequest, IRequest<SourceRequestParameters>, IRequest where TDocument : class
Type Parameters
Name | Description |
---|---|
TDocument |
Constructors
| Edit this page View SourceSourceRequest()
Used for serialization purposes, making sure we have a parameterless constructor
Declaration
protected SourceRequest()
SourceRequest(Id)
/{index}/_source/{id}
Declaration
public SourceRequest(Id id)
Parameters
Type | Name | Description |
---|---|---|
Id | id | this parameter is required |
SourceRequest(IndexName, Id)
/{index}/_source/{id}
Declaration
public SourceRequest(IndexName index, Id id)
Parameters
Type | Name | Description |
---|---|---|
IndexName | index | this parameter is required |
Id | id | this parameter is required |
SourceRequest(TDocument, IndexName, Id)
/{index}/_source/{id}
Declaration
public SourceRequest(TDocument documentWithId, IndexName index = null, Id id = null)
Parameters
Type | Name | Description |
---|---|---|
TDocument | documentWithId | |
IndexName | index | |
Id | id | The document used to resolve the path from |
Properties
| Edit this page View SourceTypedSelf
Declaration
protected ISourceRequest<TDocument> TypedSelf { get; }
Property Value
Type | Description |
---|---|
ISourceRequest<TDocument> |