Skip to main content

Posts

Integrating Elastic Search With Mongodb Using No-SQL

An insight about search engine: An application which provides the searched results of documents over the web for some itemized keywords. Here a series of document are found out which contains those specified keywords. Moreover, search engine is a pack of programs usually framed to be the Systems. More often than, Web Search engines perform its work by transmitting the data packets to retrieve the maxim amount of docs. Then an Indexer goes through these documents and formulates an Index depending on word count for every document. Several search engines use a varied algorithm to build Indices in such a way that uniquely worthy outcome is delivered to each & every query. Elastic search, Bobo Search, Index Tank, Apache Solr, Summa, Compass, Katta, Constellio ETC. are some of the search engines which are available in the Market. Also, every search engine has their own idiosyncrasy. An insight about Elastic search: Elastic Search is an immensely extensive Open Source sear...

Step To Host Local Custom Wordpress Site (i.e from Xampp in My case) to AMAZON EC2 instance.

1. Create AWS account and create ec2 instance for same as follows: -> select Linux AMI ->t2.micro ->security groups must be http,secure group and custom tcp (3306 for mysql) ->key generate(.pem file) -> launch instances 2. on windows create .ppk file from pem using puttygen 3. login to your instance using putty host - ec2-user@xxxxxxxxxxxxx user - ec2-user ssh(auth)-ppk file connection ---> Success 4. after successful login perform these commands > [ec2-user ~]$ sudo yum update -y > sudo yum install -y httpd24 php70 mysql56- server php70-mysqlnd > sudo service httpd start > sudo chkconfig httpd on > chkconfig --list httpd > ls -l /var/www >  sudo usermod -a -G apache ec2-user > sudo chown -R ec2-user:apache / var /www > echo " <?php phpinfo(); ?> " > /var/www/html/phpinfo.php > http:// my .public .dns .amazonaws .com /phpinfo.php > sudo yum list installed httpd24 php70 mysql56-s...
Search Interface with React js We’ll place a new index.html file inside the public folder that QEDServer created for us when we started it up. In this file, we place our usual HTML skeleton and a element that will hold our application. We’ll tell React to render its contents into this area of the page. We also import a few libraries in the header section of the page: react/index.html ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​Product Search​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​Waiting…​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ We’re including React, but we’re going to use jQuery for making our Ajax requests. React is purely a UI library; it doesn’t have its own way of fetching data from servers. The third library we’re loading is React’s JSX Transformer. React has its own dialect of JavaScript, called JSX, that makes creating templates easier. Let’s start by creating the outer component. In search.js, we create the initial version of our ProductSearch component: react/search.js ​ ​var​ ProductSearch = React.createCla...

Create mapify app using Angularjs and other frameworks

Getting prepared We will utilize the same code that we utilized as a part of the past case as a beginning stage. What’s more, it is suggested that you as of now have Bower introduced on your framework. On the off chance that you don’t have or know Bower, don’t stress, we will exhibit how to introduce it physically. At the root project folder, open your terminal window and type: bower install ngmap --save To get the directive to work properly, you need to add the Google Maps script. In this example, we will use the code directly from the Google CDN through this link: //maps.google.com/maps/api/js. Open the index.html file and add the following script tag right after the mappingService.js script: Add the ng-map script right after the Google Maps script: Don’t place any code inside the tag; when generators run any task, this block of code is always replaced. Open the app.js file and add the following highlighted code to the angularjs dependencies: angular.module('yeomana...
Learn Meteor and Build a real-time polling app Install Meteor download for windows: https://install.meteor.com/windows install for osx/linux: curl https://install.meteor.com/ | sh open cmd and type meteor --version Meteor comes with a few demo applications that you can try out. If you want to check out a few demo apps now, you can go into your command line and grab the demo application using: // todo sample app meteor create --example todos // example mobile application meteor create --example localmarket Once you create a demo app, just cd into that project and run the application with: meteor This will grab the necessary packages, bundle all the css and js, start your application using a Node server, and make it viewable in your browser. http://localhost:3000 Here is the sample Todos application which is quite good looking: meteor-demo-todos Definitely click around the files in these demo applications and you’ll see how Meteor apps tick. Let’s move onto creating our own a...
NodeJs Installation Guide
Develop desktop app using Node-webkit Node.js is built on Chrome V8 JavaScript engine. V8 is one of the fastest JavaScript engine which runs inside of your chrome browser. Node Organisation You can install node-webkit in Linux,Windows and MacOS. Here is direct link to download node-webkit package for your system. You don’t need to install it, just place it somewhere and proceed with tutorial. Windows : Download Node-webkit for Windows (32 bit) (64 bit). Linux : Download Node-webkit for Linux (32 bit) (64 bit). Mac : Download Node-webkit for MacOS (32 bit) Hello Node-webkit Program ! To get you started let’s build sample program which prints “Hello World !” on screen using node-webkit. Hope you have downloaded and extracted the node-webkit files. Package.json { "name" : "nw-demo", "main" : "index.html", "window" : { "toolbar" : true } } You don’t need to install any dependency here. Just save the file and cre...