Documents are not getting inserted in ES6.2


I'm trying to insert documents in ES 6.2. My concern is when I'm inserting data into ES by mapping one of index and mentioning

"index": false,
This is my mapping query:

'    "state": {
  "type": "text",
  "index": false,
  "fields": {
    "keyword": {
      "type": "keyword",
      "ignore_above": 256

Data is not getting populating in ES 6.2. And same code is inserting data when I'm removing ** "index": false,** field from mapping .

Can you please quickly help me to find the issue. I've written the code in JAVA

Could you provide a full recreation script as described in About the Elasticsearch category. It will help to better understand what you are doing. Please, try to keep the example as simple as possible.

A full reproduction script is something anyone can copy and paste in Kibana dev console, click on the run button to reproduce your use case. It will help readers to understand, reproduce and if needed fix your problem. It will also most likely help to get a faster answer.

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