We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If we set less node urls than existing, our request will be always forwarded to these nodes. We want to use other nodes too.
We need to configure DiscoverNodesOnStart and DiscoverNodesInterval configs, we just need to add these configs to elasticsearch.NewClient function.
elasticsearch.NewClient
The text was updated successfully, but these errors were encountered:
You may consider exposing all internal elastic client configurations to go-dcp-elasticsearch clients.
it will be good if I can overwrite any parameters here:
https://github.com/Trendyol/go-dcp-elasticsearch/blob/master/elasticsearch/client/client.go#L11
Sorry, something went wrong.
btw , if I set one url or lb for DiscoverNodesOnStart then I got error like dialing to the given TCP address timed out.
its fixed when set to true in config.yml Because it was configured as DiscoverNodesOnStart: !config.Elasticsearch.DisableDiscoverNodesOnStart
Keep in mind that 💯
No branches or pull requests
If we set less node urls than existing, our request will be always forwarded to these nodes. We want to use other nodes too.
We need to configure DiscoverNodesOnStart and DiscoverNodesInterval configs, we just need to add these configs to
elasticsearch.NewClient
function.The text was updated successfully, but these errors were encountered: