No handler for type [text] declared on field [title] (python elasticsearch)

Hi, all
The python elasticsearch version I used is

import elasticsearch
print elasticsearch.version
(5, 0, 1)

the mappings is
request_body = {
'post': {
'properties': {
'title': {
'type': 'text',

Should I install the elasticsearch written by java ?

Thanks a lot!

What for ? Can you explain a little your problem please ?

Thanks! I find the reason. My es installed is 2.x not 5.x.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.