Class Alias
Implements
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class Alias : IAlias
Properties
| Edit this page View SourceFilter
Provides an easy way to create different "views" of the same index. A filter can be defined using Query DSL and is applied to all Search, Count, Delete By Query and More Like This operations with this alias.
Declaration
public QueryContainer Filter { get; set; }
Property Value
Type | Description |
---|---|
QueryContainer |
IndexRouting
Associates routing values with aliases for index operations. This feature can be used together with filtering aliases in order to avoid unnecessary shard operations.
Declaration
public Routing IndexRouting { get; set; }
Property Value
Type | Description |
---|---|
Routing |
IsHidden
If true, the alias will be excluded from wildcard expressions by default, unless overriden in the request using the expand_wildcards parameter, similar to hidden indices. This property must be set to the same value on all indices that share an alias. Defaults to false.
Declaration
public bool? IsHidden { get; set; }
Property Value
Type | Description |
---|---|
bool? |
IsWriteIndex
If an alias points to multiple indices, OpenSearch will reject the write operations unless one is explicitly marked as the write alias using this property.
Declaration
public bool? IsWriteIndex { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Routing
Associates routing values with aliases for both index and search operations. This feature can be used together with filtering aliases in order to avoid unnecessary shard operations.
Declaration
public Routing Routing { get; set; }
Property Value
Type | Description |
---|---|
Routing |
SearchRouting
Associates routing values with aliases for search operations. This feature can be used together with filtering aliases in order to avoid unnecessary shard operations.
Declaration
public Routing SearchRouting { get; set; }
Property Value
Type | Description |
---|---|
Routing |