-
获取项目ID和名称 - 云搜索服务 CSS
"projects": [ { "domain_id": "65382450e8f64ac0870cd180d14exxxx", "is_domain": false, "parent_id": "
-
Elasticsearch集群报错:unassigned shards all indices - 云搜索服务 CSS
当前集群存在未分配的shard。 解决方案 在Kibana的“Dev Tools”页面,执行如下命令: POST /_cluster/reroute?retry_failed=true 父主题: 访问集群类
-
设置自动创建快照策略 - 云搜索服务 CSS
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
创建配置文件 - 云搜索服务 CSS
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
更新配置文件 - 云搜索服务 CSS
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
添加独立master、client - 云搜索服务 CSS
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
恢复快照 - 云搜索服务 CSS
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
按需集群转包周期 - 云搜索服务 CSS
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
指定节点类型规格变更 - 云搜索服务 CSS
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
管理标签 - 云搜索服务 CSS
管理标签 标签是集群的标识。为集群添加标签,可以方便用户识别和管理拥有的集群资源。 您可以在创建集群时添加标签,也可以在集群创建完成后,在集群的详情页添加标签。 如您的组织已经设定云搜索服务的相关标签策略,则需按照标签策略规则为集群添加标签。标签如果不符合标签策略的规则,则可能会
-
管理标签 - 云搜索服务 CSS
管理标签 标签是集群的标识。为集群添加标签,可以方便用户识别和管理拥有的集群资源。 您可以在创建集群时添加标签,也可以在集群创建完成后,在集群的详情页添加标签。 如您的组织已经设定云搜索服务的相关标签策略,则需按照标签策略规则为集群添加标签。标签如果不符合标签策略的规则,则可能会
-
创建集群 - 云搜索服务 CSS
object 子网信息。 availability_zone 是 String 可用区。需要指定可用区的名称(可用分区名称)。 默认指定单AZ。指定多AZ时,各个可用分区名称需要使用英文逗号(,)分隔,以“华北-北京四”为例,选择三AZ时,availability_zone取值为cn-north-4a
-
集群内核升级 - 云搜索服务 CSS
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
扩容实例的数量和存储容量 - 云搜索服务 CSS
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
简繁体转换搜索(使用简繁分析插件) - 云搜索服务 CSS
onvert”索引中。 POST /stconvert/_doc/1 { "desc": "國際電視臺" } 当返回结果信息中“failed”字段的值为“0”时,表示数据导入成功。 在Console界面,执行如下命令,搜索关键字“国际”,并查看搜索结果。 GET /stconvert/_search
-
访问统计、查看流量控制信息 - 云搜索服务 CSS
/_nodes/stats/filter/v2 查看所有节点的流量控制详细情况 GET /_nodes/stats/filter/v2?detail 查看某个具体节点的流量控制情况 GET /_nodes/{nodeId}/stats/filter/v2 {nodeId}为需要查看流量控制的节点ID。
-
向量检索的客户端代码示例(Java) - 云搜索服务 CSS
RequestOptions.DEFAULT); if (response.hasFailures()) { System.out.println(response.buildFailureMessage()); } else {
-
ES-Hadoop导数据时报"Could not write all entries"异常 - 云搜索服务 CSS
可修改以下参数: “es.batch.write.retry.count”:默认重试3次。 “es.batch.write.retry.wait”:每次重试等待时间10s。 如果对查询的实时性级别要求不高的话,可以调整下分片刷新的时间(默认是每秒刷新一次),提高写入速度。 PUT
-
通过Transport Client接入集群 - 云搜索服务 CSS
java.util.concurrent.ExecutionException; public class Main { public static void main(String[] args) throws ExecutionException, InterruptedException
-
简繁体转换搜索(使用简繁分析插件) - 云搜索服务 CSS
x版本及高于7.x版本 POST /stconvert/_doc/1 { "desc": "國際電視臺" } 当返回结果信息中“failed”字段的值为“0”时,表示数据导入成功。 在Console界面,执行如下命令,搜索关键字“国际”,并查看搜索结果。 GET /stconvert/_search