[ POPULAR STORIES ]

CATCH UP THE POPULAR STORIES

Chrome Elasticsearch Sense Not Working – Solved

Sense plugin has been marked as malware by Google and so the same has been removed from the Chrome Web Store. We have a work around to install Kibana which has Sense builtin. But If you do not want to break your head, we have an option to install Sense plugin by enabling Developer mode in Extensions.… Read More »

Read more
Alternative text

Query/Access Root Level Properties and Nested Properties of Vertex in Single Query – Gremlin Query – Titan

Gremlin Query: g.V().hasLabel('TEST_LABEL').has('_id','xxxxxxxxxxxxxx').as('v') .select('v').valueMap(true).as('properties') .select('v').properties('nestedPropertiesKey').valueMap().as('nestedProperties') .select('properties','nestedProperties') Sample Response: { "properties":{ "attr1":"value1" }, "nestedProperties":{ "nestedAttr1":"nestedValue1" } } Related Links:

Read more
Alternative text

Oculus Rift – nxtGen Virtual Reality Headset

              Computers and Laptops are one of the daily used electronic products particularly for entertainment. Movies, Gaming, Music are some of its kind in entertainment. Considering movies and gaming, we get maximum experience with large displays and monitors.  Some people will even use projector for such kind of great experience. Here we have another… Read More »

Read more
Alternative text

Execute Raw Elasticsearch Query using Transport Client – Java API

           The following sample program details on how to execute raw Elasticsearch query using Transport Client (Java API).  Maven Dependencies: <dependencies> <dependency> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch</artifactId> <version>1.5.0</version> </dependency> <dependency> <groupId>org.json</groupId> <artifactId>json</artifactId> <version>20140107</version> </dependency> </dependencies>            Add the above MAVAN dependencies to the POM file or add the JARs specified in… Read More »

Read more
Alternative text

Java – Replace First Occurrence of String without Regular Expression

           The String class in Java has a method replaceFirst(String regex, String replacement) which replaces first occurrence of given regular expression with given replacement string. If you want to replace first occurrence of any given string (with Regular Expression), use the following code. Sample Code: package test; import java.util.regex.Pattern; public class test{… Read More »

Read more
Alternative text

[ LATEST STORIES ]

CATCH UP THE LATEST STORIES

[ SUBSCRIBE TO OUR BLOG ]