[ POPULAR STORIES ]

CATCH UP THE POPULAR STORIES

Elasticsearch Java API – Get Field List for a given Index and Type

The following is sample Java program to get the list of fields for a given index and type name in an Elasticsearch instance. Sample Program: package com.report.test; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Set; import org.elasticsearch.client.Client; import org.elasticsearch.client.transport.TransportClient; import org.elasticsearch.cluster.ClusterState; import org.elasticsearch.cluster.metadata.IndexMetaData; import org.elasticsearch.cluster.metadata.MappingMetaData; import org.elasticsearch.common.settings.ImmutableSettings; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.common.transport.InetSocketTransportAddress; public class SampleProgram{ public… Read More »

Read more
Alternative text

Blogging Tips & Guidelines – SEO, Backlinks and Design

        Blogging is one of the most common things which we find on the internet. There are millions and millions of blogs in the internet of which only a part becomes much popular. The reason of their popularity is their useful and informative content. Most of the internet users search for required content… Read More »

Read more
Alternative text

Neo4j Query Tutorial – MATCH and MERGE

Example 1: Match two nodes and create a relationship between them. MATCH (person1:LABEL{id:'1234'}),(person2:LABEL{id:'5678'}) MERGE (person1)-[r:FRIEND]-(person2) Example 2: Match two nodes and create/update a relation between them. Optionally set properties to the nodes or relationships with ON CREATE SET or ON MATCH SET. Use r+={property:’value’} to add properties or update existing properties. MATCH (user1:USER{id:'123'}),(user2:USER{id:'456'}) MERGE (user1)-[r:FRIEND]-(user2) ON CREATE SET… Read More »

Read more
Alternative text

Writing REST APIs – CREATE/POST – Best Practices – Part II

This is my second post on Writing REST APIs. Today the focus is on POST HTTP method. Basically POST method is used for create a resource. Sample Request : POST /users { "users" : [{ "firstName" : "Tom", "lastName" : "Cruise" },{ "firstName" : "Tom", "lastName" : "Hardy" }] } Sample Response : { "statusCode" :… Read More »

Read more
Alternative text

Moto E/Moto G/Moto X – Stuck in Circle Blue M Screen – Solved

           I personally own Moto E and all of a sudden the mobile restarted and got stuck in Blue M screen after the boot animation screen. This problem was also faced by the people using Moto G and Moto X. I restarted the mobile few times and there was no improvement.… Read More »

Read more
Alternative text

[ LATEST STORIES ]

CATCH UP THE LATEST STORIES

[ SUBSCRIBE TO OUR BLOG ]