我elasticsearch-dsl-py用来从elasticsearch.
我想保存@timestamp字段 ( hits.hits._source.@timestamp) 的值。但我不知道如何处理@Python 中不允许该字符的事实。
我如何从中获得价值@timestamp?这不起作用:
h = response.hits[0]
print(h.@timestamp)
谢谢
我elasticsearch-dsl-py用来从elasticsearch.
我想保存@timestamp字段 ( hits.hits._source.@timestamp) 的值。但我不知道如何处理@Python 中不允许该字符的事实。
我如何从中获得价值@timestamp?这不起作用:
h = response.hits[0]
print(h.@timestamp)
谢谢