显示Lucene / Elasticsearch索引的字段 [英] Show fields for a Lucene/Elasticsearch index
本文介绍了显示Lucene / Elasticsearch索引的字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
您可以通过以下方式查看特定索引的映射和类型:
http:/ / localhost:9200 / index / type / _mapping
索引的任何内容都应该有一个条目。 >
Is there a way to get Lucene/Elasticsearch to just show what fields have been indexed in a given index? I'm trying to figure out whether certain fields have been indexed properly as a result of configuration options, but I have no idea how to make that determination.
解决方案
You can check the mappings for a specific index and type via a call to:
http://localhost:9200/index/type/_mapping
Anything indexed should have an entry there.
这篇关于显示Lucene / Elasticsearch索引的字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文