Class GetRequest<TDocument>
Inheritance
GetRequest<TDocument>
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class GetRequest<TDocument> : GetRequest, IGetRequest<TDocument>, IGetRequest, IRequest<GetRequestParameters>, IRequest where TDocument : class
Type Parameters
Name | Description |
---|---|
TDocument |
Constructors
| Edit this page View SourceGetRequest()
Used for serialization purposes, making sure we have a parameterless constructor
Declaration
protected GetRequest()
GetRequest(Id)
/{index}/_doc/{id}
Declaration
public GetRequest(Id id)
Parameters
Type | Name | Description |
---|---|---|
Id | id | this parameter is required |
GetRequest(IndexName, Id)
/{index}/_doc/{id}
Declaration
public GetRequest(IndexName index, Id id)
Parameters
Type | Name | Description |
---|---|---|
IndexName | index | this parameter is required |
Id | id | this parameter is required |
GetRequest(TDocument, IndexName, Id)
/{index}/_doc/{id}
Declaration
public GetRequest(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 IGetRequest<TDocument> TypedSelf { get; }
Property Value
Type | Description |
---|---|
IGetRequest<TDocument> |