上聲明的類型爲[date_hour_minute_second]的處理程序我正在爲Elasticsearch開發一個帶Python Pyes客戶端的驅動程序。我需要一個日期列索引映射格式具有基於文檔http://www.elasticsearch.org/guide/reference/mapping/date-format/否「date_hour_minute_second」還我檢查pyes文檔https://pyes.readthedocs.org/en/latest/guide/reference/mapping/date-format.htmlMapperParsingException:沒有在字段
當我用我的場「date_hour_minute_second」格式我在標題中提到的例外。
這裏是我的字段定義:
"date": {
"boost": 1.0,
"store": "yes",
"type": "date_hour_minute_second_fraction",
"term_vector": "with_positions_offsets"
}
爲什麼它會拋出這樣的例外,甚至文檔說,這是支持我無法弄清楚。
我能幫忙嗎?如果有的話,請接受答案!否則發佈你的問題,我會盡力幫助。 – ramseykhalaf