下列哪段代码是用于判断ElasticSearch索引是否存在?

发布于 2021-03-06 02:10:46
【单选题】
A lic boolean is ExistsIndex(String indexName)( Indi ces Exi stsResponse respo aDmin Cl i ent 0. prepare Exi sts(indexName). get(
B public boolean is ExistsIndex(String indexName)( Indi cesExists Response response getAdmin ClientO. prepare Exi sts(indexName): return esponse. isExistso true: false:
C public boolean i sExistsIndex(String indexName)( Indi cesExists Response response= getAdmin Client( geto: return response is ExistsO? true false.
D public boolean i sExistsIndex(String indexName)( Indi cesExists Response response= getAdmi ncClientO. prepare Exists(indexName), getO: return response. isExists0? true: false:

查看更多

关注者
0
被浏览
46
  • 体验AI问答!更聪明、超智能!
  • 一款基于GPT的超级AI助手,可以对话、创作、写文案!
1 个回答

撰写答案

请登录后再发布答案,点击登录

发布
问题

手机
浏览

扫码手机浏览

分享
好友

在线
客服