0

I am creating index using dynamic mapping from input json, But in my json date parameter am passing as a String, But ES was considering as a date, And i found the issue But i dont know how to apply through JAVA Api in ES, below mapping i needs to do it in ES java api..? Any help will be appreciate Thanks in advance..

{
  "mappings": {
    "date_detection": false
  }
}

1 Answer 1

0

You can try with the Put Mapping API for the Java Client. It will let you create and set mappings for your indices.

It includes Synchronous and Asynchronous execution, Mapping source and what to expect after using it.

Hope this is helpful.

Sign up to request clarification or add additional context in comments.

1 Comment

I don't want to define mapping , am using dynamic mapping just I need to set the date detection false

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.