- Java Date
1. Java Date and Time Overview If you have ever dealt with dates in Java using java.util.Date or java.util.Calendar, you know the pain: mutable objects that change unexpectedly, months starting from 0, thread-safety issues, and a confusing API that mixes date concepts with time concepts. For over a…
- Elasticsearch Installation
Local Installation Installing Elasticsearch on your local Mac computer. I have a Mac laptop so this local installation will be for Mac users but you can google Elasticsearch Windows installation. I use docker and here is the docker command, docker pull…
- Elasticsearch Search API
You can search data in Elasticsearch by sending a get request with query string as a parameter or post a query in the message body of post request. A search query, or query, is a request for information about data in Elasticsearch data streams or indices. GET doctor_ut/_search { “query”: {…
- Elasticsearch CAT API
Usually the results from various Elasticsearch APIs are displayed in JSON format. But JSON is not easy to read always. So CAT APIs feature is available in Elasticsearch helps in taking care of giving an easier to read and comprehend printing format of the results. There are various parameters used…
- Elasticsearch Mapping
Mapping is the process of defining how a document, and the fields it contains, are stored and indexed. Mappings are used to define: which string fields should be treated as full text fields. which fields contain numbers, dates, or geolocations. the format of date values. custom rules to control the…