Class ClearCacheRequest
Request for ClearCache
Inheritance
ClearCacheRequest
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class ClearCacheRequest : PlainRequestBase<ClearCacheRequestParameters>, IClearCacheRequest, IRequest<ClearCacheRequestParameters>, IRequest
Constructors
| Edit this page View SourceClearCacheRequest()
/_cache/clear
Declaration
public ClearCacheRequest()
ClearCacheRequest(Indices)
/{index}/_cache/clear
Declaration
public ClearCacheRequest(Indices index)
Parameters
Type | Name | Description |
---|---|---|
Indices | index | Optional, accepts null |
Properties
| Edit this page View SourceAllowNoIndices
Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes _all
string or when no indices have
been specified)
Declaration
public bool? AllowNoIndices { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ExpandWildcards
Whether to expand wildcard expression to concrete indices that are open, closed or both.
Declaration
public ExpandWildcards? ExpandWildcards { get; set; }
Property Value
Type | Description |
---|---|
ExpandWildcards? |
Fielddata
Clear field data
Declaration
public bool? Fielddata { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Fields
A comma-separated list of fields to clear when using the fielddata
parameter (default: all)
Declaration
public Fields Fields { get; set; }
Property Value
Type | Description |
---|---|
Fields |
IgnoreUnavailable
Whether specified concrete indices should be ignored when unavailable (missing or closed)
Declaration
public bool? IgnoreUnavailable { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Query
Clear query caches
Declaration
public bool? Query { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Request
Clear request cache
Declaration
public bool? Request { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Self
Declaration
protected IClearCacheRequest Self { get; }
Property Value
Type | Description |
---|---|
IClearCacheRequest |