Bot releases are visible (Hide)
Published by github-actions[bot] 10 months ago
Published by github-actions[bot] almost 2 years ago
Published by github-actions[bot] almost 2 years ago
Published by github-actions[bot] almost 2 years ago
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] almost 3 years ago
75bdbd2 Merge pull request #90 from github/update_go_versions_and_deps
6e78911 Update go versions and some dependencies
Published by github-actions[bot] over 3 years ago
8949b6f Add CLI command to reload secure settings
8417e90 Add a method to create a snapshot repository
81eb665 Add cli command to remove a snapshot repository
1dbcb4d Add library function to call reload secure settings API
d661eb6 Add method to remove a snapshot repository
3183aeb Add repository register command to cli
ea4ed12 Fix link in README
1dea692 Merge pull request #87 from github/add_register_and_remove_repository_commands
db3bbdb Merge pull request #88 from github/add_reload_secure_settings_command
Published by github-actions[bot] over 3 years ago
b32915b Add config file and action for goreleaser
c39f9a8 Merge pull request #86 from github/setup_goreleaser
Published by migue almost 4 years ago
Published by nickcanz about 4 years ago
SetClusterSetting
now takes and returns a *string
instead of a string
to support "unsetting" a cluster setting
SetClusterSetting(setting string, value *string) (*string, *string, error)
Published by nickcanz about 5 years ago
.
) in the index name - https://github.com/github/vulcanizer/issues/62
Published by nickcanz over 5 years ago
GetIndices()
renamed to GetAllIndices()
GetIndices(string)
- returns a subset of indices matching the stringSeveral functions to work with aliases
GetAliases(string)
- returns a subset of indices matching the stringGetAllAliases()
- return all the aliases on the clusterModifyAliases([]AliasAction)
- add/update/delete aliasesSeveral functions to work with shards
GetShards([]string)
- returns shards that exist on the given nodes, empty array returns all shardsGetShardOverlap([]string)
- provide a list of node names and returns a map containing information to determine if all copies of a shard exist on those nodesGetShardRecovery([]string, bool)
- returns information about recovering shardsNew functions to operate on indices
OpenIndex(string)
- opens the index with the given index nameCloseIndex(string)
- closes the index with the given index nameNew client configuration options
Added Elasticsearch version to the Node
struct as Version
Snapshot
struct to deal with in progress snapshots "ending" at 1970-01-01
func (s *Snapshot) GetDuration()
func (s *Snapshot) GetEndTime()
Published by nickcanz over 5 years ago
This release adds some features around managing indices.
ClusterSettings
struct to Settings
- This struct is now used when listing Cluster or Index settings.func (c *Client) GetSettings()
method to func (c *Client) GetClusterSettings()
to differentiate between Cluster or Index settings.func (c *Client) SetSetting
method to func (c *Client) SetClusterSetting
to differentitate between Cluster or Index settings.indexSettings map[string]interface{}
to the arguments of func (c *Client) RestoreSnapshotIndices
to allow setting specific index settings when restoring an index.func (c *Client) DeleteIndex(indexName string) error
- Deleting an indexfunc (c *Client) GetPrettyIndexSettings(index string) (string, error)
- Get a human readable JSON of the settings of an indexfunc (c *Client) GetIndexSettings(index string) ([]Setting, error)
- Get the settings of an indexfunc (c *Client) SetIndexSetting(index, setting, value string) (string, string, error)
- Set the settings of an indexfunc (c *Client) GetPrettyIndexMappings(index string)
- Get a human readable JSON of the mappings of an indexfunc (c *Client) AnalyzeText(analyzer, text string) ([]Token, error)
- Call the Elasticsearch analyze API to preview how given text will be broken down into tokens.func (c *Client) AnalyzeTextWithField(index, field, text string) ([]Token, error)
- Call the Elasticsearch analyze API with a specific field to preview how the text will be broken down into tokens for that field.Client
struct to support more connection properties
Secure
- boolean whether to connect using HTTPS or notAuth
- struct containing username and password for HTTP basic authTimeout
- set a time.Duration
for the API calls to ElasticsearchTLSConfig
- set tls.Config
options for things like client certificates or ignoring certificate validationPublished by nickcanz almost 6 years ago
This release expands what you can do in regards to snapshots and repositories.
[]ClusterHealth
to ClusterHealth
- The array was a holdover from using the _cat API and didn't make logical sense as there is only one cluster health.Repository
IndexHealth
, similar to the ClusterHealth
struct, but scoped to an indexfunc (c *Client) GetRepositories() ([]Repository, error)
func (c *Client) SnapshotAllIndices(repository string, snapshot string) error
func (c *Client) SnapshotIndices(repository string, snapshot string, indices []string) error
func (c *Client) RestoreSnapshotIndices(repository string, snapshot string, indices []string, restoredIndexPrefix string) error
Jdk
added to Node
struct - contains the Jdk version of the nodeClusterHealth
has two new fields
UnhealthIndices []IndexHealth
- contains indices that are non-green statusHealthyIndices []IndexHealth
- contains indices that are green status