Class ClearCacheDescriptor
Descriptor for ClearCache
Inheritance
ClearCacheDescriptor
Assembly: OpenSearch.Client.dll
Syntax
public class ClearCacheDescriptor : RequestDescriptorBase<ClearCacheDescriptor, ClearCacheRequestParameters, IClearCacheRequest>, IDescriptor, IClearCacheRequest, IRequest<ClearCacheRequestParameters>, IRequest
Constructors
|
Edit this page
View Source
ClearCacheDescriptor()
Declaration
public ClearCacheDescriptor()
|
Edit this page
View Source
ClearCacheDescriptor(Indices)
Declaration
public ClearCacheDescriptor(Indices index)
Parameters
Type |
Name |
Description |
Indices |
index |
Optional, accepts null
|
Methods
|
Edit this page
View Source
AllIndices()
A shortcut into calling Index(Indices.All)
Declaration
public ClearCacheDescriptor AllIndices()
Returns
|
Edit this page
View Source
AllowNoIndices(bool?)
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 ClearCacheDescriptor AllowNoIndices(bool? allownoindices = true)
Parameters
Type |
Name |
Description |
bool? |
allownoindices |
|
Returns
|
Edit this page
View Source
ExpandWildcards(ExpandWildcards?)
Whether to expand wildcard expression to concrete indices that are open, closed or both.
Declaration
public ClearCacheDescriptor ExpandWildcards(ExpandWildcards? expandwildcards)
Parameters
Returns
|
Edit this page
View Source
Fielddata(bool?)
Declaration
public ClearCacheDescriptor Fielddata(bool? fielddata = true)
Parameters
Type |
Name |
Description |
bool? |
fielddata |
|
Returns
|
Edit this page
View Source
Fields(Fields)
A comma-separated list of fields to clear when using the fielddata
parameter (default: all)
Declaration
public ClearCacheDescriptor Fields(Fields fields)
Parameters
Type |
Name |
Description |
Fields |
fields |
|
Returns
|
Edit this page
View Source
Fields<T>(params Expression<Func<T, object>>[])
A comma-separated list of fields to clear when using the fielddata
parameter (default: all)
Declaration
public ClearCacheDescriptor Fields<T>(params Expression<Func<T, object>>[] fields) where T : class
Parameters
Returns
Type Parameters
|
Edit this page
View Source
IgnoreUnavailable(bool?)
Whether specified concrete indices should be ignored when unavailable (missing or closed)
Declaration
public ClearCacheDescriptor IgnoreUnavailable(bool? ignoreunavailable = true)
Parameters
Type |
Name |
Description |
bool? |
ignoreunavailable |
|
Returns
|
Edit this page
View Source
Index(Indices)
A comma-separated list of index name to limit the operation
Declaration
public ClearCacheDescriptor Index(Indices index)
Parameters
Type |
Name |
Description |
Indices |
index |
|
Returns
|
Edit this page
View Source
Index<TOther>()
a shortcut into calling Index(typeof(TOther))
Declaration
public ClearCacheDescriptor Index<TOther>() where TOther : class
Returns
Type Parameters
|
Edit this page
View Source
Query(bool?)
Declaration
public ClearCacheDescriptor Query(bool? query = true)
Parameters
Type |
Name |
Description |
bool? |
query |
|
Returns
|
Edit this page
View Source
Request(bool?)
Declaration
public ClearCacheDescriptor Request(bool? request = true)
Parameters
Type |
Name |
Description |
bool? |
request |
|
Returns
Implements
Extension Methods