Neo4j vs ElasticSearch & Full Text Search In Neo4j

Knoldus

Hello Graphistas,

Are you missing this series 🙂 ?

Welcome back again in the series of Neo4j with Scala 😉 . Let’s start our journey again. Till now we have talked and learnt about the use of Neo4j with Scala and how easily we can integrated both two amazing technologies.

Before starting the blog here is recap :

  1. Getting Started Neo4j with Scala : An Introduction
  2. Neo4j with Scala: Defining User Defined Procedures and APOC
  3. Neo4j with Scala: Migrate Data From Other Database to Neo4j
  4. Neo4j with Scala: Awesome Experience with Spark

ElasticSearch is a modern search and analytic engine based on Apache Lucene. ElasticSearch is a full-text search engine and is highly scalable. It allows RESTful web interface and schema-free documents. ElasticSearch is able to achieve fast search responses because it searches an index instead of searching the text directly. ElasticSearch also provides the capability of store data…

View original post 539 more words

Advertisements

Best Practices in Javascript

Knoldus

Javascript has been the most popular and wonderful language for the web development in years and It has certainly got no match. When we write javascript to make our web pages beautiful, interactive & dynamic, most of the time we tend to make some silly mistakes since it is a dynamically typed language we need to be extra careful with it. These mistakes won’t hamper the productivity of the code not prevent any functionality but it might affect the performance of the application and break your code after a while when complicated things come into play. So it is better to follow some thumb rules in order to make your code more beautiful, readable, & efficient. Most of the times developers worry “Will my code be efficient and performance ready when goes into production?” the answer to the question is unpredictable. So use the following best practices I am sharing…

View original post 750 more words

Getting started with Julia

Nice blog

Knoldus

What is Julia ?

“Julia is a high-level, high-performance dynamic programming language for technical computing, with syntax that is familiar to users of other technical computing environments. ”

It provides a sophisticated compiler and extensive mathematical function library.

It has a wide range of statistical packages like R and is easy to write and learn like Python.

Benchmark time of Julia relative to C : ( smaller is better, C performance = 1.0 )

julia-benchmark-fig [Image source : http://julialang.org/benchmarks/]

Growing importance of Julia:

Ambition of Julia’s project team is to create an open source language that is general purpose and excels at numerical computing and data science. The motivation and goals behind Julia excite researchers and analysts because many have had first hand experience with the difficulties of writing high performance codes.

Julia offers a unique feature set as well :

  • Syntax similar to MATLAB.
  • Free and open source.
  • Sophisticated…

View original post 185 more words

How to run an application on Standalone cluster in Spark?

pushpendupurkait

In this blog, we will run an application on a standalone cluster in spark.

cluster-overview

Steps
1. Launch the cluster.
2. Create a package of the application.
3. Run command to launch

Step-1:

To run an application on standalone cluster, we need to run a cluster on our standalone machine. for that refer this blog.

Click Here
Your Master and slaves, all should be alive. In my case, i have 3 slave instances with 1024 MB Mamory.

Step-2:

First of all we will create a package of the application. the package is a jar file of the application.
To create package we will follow these commands:

$cd <path-of application>    //It will take us to the directory of the application.
$ sbt package             //It will create a package of the application.Screenshot from 2015-03-27 15:22:55

Screenshot from 2015-03-27 15:23:27

The package will be created in “target/scala-2.11/<application-name>.jar”. It is ready to use. As you…

View original post 301 more words