attr-protected

Elastic Search: how to see the indexed data

冷暖自知 提交于 2019-12-18 10:00:58
问题 I had a problem with ElasticSearch and Rails, where some data was not indexed properly because of attr_protected. Where does Elastic Search store the indexed data? It would be useful to check if the actual indexed data is wrong. Checking the mapping with Tire.index('models').mapping does not help, the field is listed. 回答1: Probably the easiest way to explore your ElasticSearch cluster is to use elasticsearch-head. You can install it by doing: cd elasticsearch/ ./bin/plugin -install mobz

Elastic Search: how to see the indexed data

被刻印的时光 ゝ 提交于 2019-11-29 19:00:27
I had a problem with ElasticSearch and Rails, where some data was not indexed properly because of attr_protected. Where does Elastic Search store the indexed data? It would be useful to check if the actual indexed data is wrong. Checking the mapping with Tire.index('models').mapping does not help, the field is listed. DrTech Probably the easiest way to explore your ElasticSearch cluster is to use elasticsearch-head . You can install it by doing: cd elasticsearch/ ./bin/plugin -install mobz/elasticsearch-head Then (assuming ElasticSearch is already running on your local machine), open a browser