elasticsearch 我的ElasticSearch索引中有哪些字段?
我运行了一个转换程序,并将结果发送到elasticsearch。我不熟悉elasticsearch。你知道我如何在elasticsearch中找到类似于sqlite3的“.schema”的东西吗?我想知道那里有哪些字段 今天早上,我四处寻找,找不到任何东西,如果我事先不知道这些字段,它们会告诉我这些字段elasticsearch 我的ElasticSearch索引中有哪些字段?,elasticsearch,elasticsearch,我运行了一个转换程序,并将结果发送到elasticsearch。我不熟悉elasticsearch。你知道我如何在elasticsearch中找到类似于sqlite3的“.schema”的东西吗?我想知道那里有哪些字段 今天早上,我四处寻找,找不到任何东西,如果我事先不知道这些字段,它们会告诉我这些字段 感谢您的帮助。您可以使用映射API获取索引的当前映射。这将显示已编制索引的所有字段: curl -XGET "http://localhost:9200/{yourIndex}/_mapping
感谢您的帮助。您可以使用映射API获取索引的当前映射。这将显示已编制索引的所有字段:
curl -XGET "http://localhost:9200/{yourIndex}/_mapping"