Field datatype for index are missing


Need help guys please !!!

As you can see on this picture ,the field "text" is missing on kibana interface ,i don't know why only that specific field is missing .

If you take a look on my elasticsearch mapping ,you will see that i have to choose between "keyword" and "text" type .

curl -X PUT "localhost:9200/newsout/_mapping/test-type" -H 'Content-Type: application/json' -d' {
"properties": {
    "author": { "type": "keyword"  },
    "date": {
        "type": "date",
        "format": "yyyy-MM-dd"
    },
    "description": {
        "type": "text",
        "analyzer": "french"
    },
    "topics": { "type": "keyword"  },
    "link": { "type": "text", "index": "true"  },
    "locations": { "type": "keyword"  },
    "organizations": { "type": "keyword"  },
    "persons": { "type": "keyword"  },
    "text": {
        "type": "text",
        "analyzer": "french"
    },
    "title": {
        "type": "text",
        "analyzer": "french"
    }
}

}'

i don't know if "text" as type is appropriate to declare text on elasticsearch mapping.

do your documents contain this fields, or could it be that none of selected documents have the field set ?

i used scrapy library from python to crawl xml format( that contains each field described on elasticsearch mapping (title,description,text,locations,persons..etc)) ,the main objective is to constitute these documents and visualize it on kibana interface .

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