Solving Jboss Wildfly Oracle JDBC driver problem, with Dockerfile
Assuming your web application is using oracle, and you are deploying your app on…
April 09, 2018
While dealing with ELastic Search documents, you faced this issue while updating document:
ElasticSearch: Validation Failed: 1: script or doc is missing;
But, when you want to update the documents. There is a slight change in json. See example:
{
index: 'your_index_name',
type: 'your_type',
id: 'document_id',
body: {
doc: {
title: 'this is my sample title',
createdAt: 'some_date'
}
},
refresh: true
}
Notice the extra “doc” in there. Generally, users tend to put json without “doc”, and it caused this error.
Enjoy!
Assuming your web application is using oracle, and you are deploying your app on…
This library is ES6, promise compatible. Or, in your package.json file, include…
Introduction In this post, we will see how to theme form and its fields…
Introduction Javascript is not a strict type language. We can use a variable to…
Youtube APIs are great way to fetch details about video or channels. I’ve…
Problem Statement I developed a simple ReactJS application where I have used…
In this post, we will see some of the frequently used concepts/vocabulary in…
System design interview is pretty common these days, specially if you are having…
Introduction You are given an array of integers with size N, and a number K…
Graph Topological Sorting This is a well known problem in graph world…
Problem Statement Given a Binary tree, print out nodes in level order traversal…
Problem Statement Given an array nums of n integers and an integer target, are…