-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
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
关于elasticsearch建立索引,返回值为空 #12
Comments
elastic: 7.9.2 不加 x-pack 登录验证时,是正常的。
|
知道了, es就开启了本机访问,开启全网访问就正常了。 |
代码如下:
$config = new \EasySwoole\ElasticSearch\Config([
'host' => 'es01',
'port' => 9200,
'username' => 'elastic',
'password' => 'xxxxxxxxx',
'scheme' => 'https'
]);
结果如下:
The text was updated successfully, but these errors were encountered: