$params = [ 'index' => 'your_index', 'type' => 'your_type', 'body' => [ "_source" => ['id','username'], ] ]; 配置 _source 来控制你要返回的字段,默认是返回所有
$params = [ 'index' => 'your_index', 'type' => 'your_type', 'body' => [ "_source" => ['id','username'], ] ];
21,886
社区成员
140,364
社区内容
加载中
试试用AI创作助手写篇文章吧