[ POPULAR STORIES ]

CATCH UP THE POPULAR STORIES

Access Tomcat Server URL from Smartphone/Mobile/Tablet

One Line Answer : Disable the System Firewall  I was developing a small web application in my Laptop using Spring MVC and was testing the application in Laptop browser. In one case, I wanted to see the web page in mobile and so I opened the URL in Android smartphone. But the page was not reachable due to the… Read More »

Read more
Alternative text

Execute Multiple Search Query in Elasticsearch

           The following query can be used to execute multiple search queries on the required index and type. Elasticsearch will process the request and the response is sent as array field named responses which contains the response for each query.  Note : { “index”: “INDEX_NAME_1”, “type”: “TYPE_NAME_1” } in Example 1… Read More »

Read more
Alternative text

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

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

Displair – An Interactive, Screenless and Virtual Display

           The world we live in has become virtual. We are able to feel the technology. In the movies Iron Man, Star Wars we can see a lot technologies particularly interactive displays where the images and videos will be projected in air. They were first just a computer graphics. But its… Read More »

Read more
Alternative text

[ LATEST STORIES ]

CATCH UP THE LATEST STORIES

[ SUBSCRIBE TO OUR BLOG ]