[ POPULAR STORIES ]

CATCH UP THE POPULAR STORIES

Elasticsearch Java API – Get Alias List

The following is sample Java program to get the list of aliases in an Elasticsearch instance. Sample Program: package com.report.test; import java.util.ArrayList; import java.util.List; import org.elasticsearch.client.Client; import org.elasticsearch.client.transport.TransportClient; import org.elasticsearch.cluster.metadata.AliasMetaData; import org.elasticsearch.common.collect.ImmutableOpenMap; import org.elasticsearch.common.settings.ImmutableSettings; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.common.transport.InetSocketTransportAddress; public class SampleProgram{ public static void main(String[] args) { String hostname = "localhost"; String clusterName = "elasticsearch"; Settings… Read More »

Read more
Alternative text

Update Multiple Properties of Vertex – Gremlin Query – Titan

Update Multiple Properties of Vertex – Gremlin Query – Titan v = g.V().hasLabel('TEST_LABEL').has('property1','value1').next(); ElementHelper.attachProperties(v, 'property2','value2'); Related Links:

Read more
Alternative text

Samsung Galaxy Grand – A Powerful Beast at Better Price

            Everyone wants to own a high end smartphones like Samsung Galaxy S3, iPhone, Xperia Ion which costs more than Rs 30,000($600). Is it really worth having such costly mobile for normal use? Instead you can go for Samsung Galaxy Grand,a dual sim phone which is priced Rs 21,500 in… Read More »

Read more
Alternative text

Linked List in C – Split a Linked List into 2 Separate Linked List

DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Try DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Linked List in C – Split a Linked List into 2 Separate Linked List : Input:         Head Pointer: head         Original linked list: node 1->node 2->node 3->node 4->node 5->node 6->node 7 Output:… Read More »

Read more
Alternative text

Check If Vertex/Edge Exist – Gremlin Query – Titan

Check If Vertex/Edge Exist – Gremlin Query Example 1: // Returns boolean value exist = g.V().hasLabel('TEST_LABEL').has('property1','value1').hasNext(); Example 2: // Returns boolean value exist = g.V().hasLabel('TEST_LABEL').has('property1','value1').bothE().hasNext(); Related Links:

Read more
Alternative text

[ LATEST STORIES ]

CATCH UP THE LATEST STORIES

[ SUBSCRIBE TO OUR BLOG ]