Skip to main content

Posts

Showing posts from July, 2020

Elastic Search

Elasticsearch  is a full-text, distributed  NoSQL  database. In other words, it uses documents rather than schema or tables. It's a free, open source tool that allows for real-time searching and analyzing of your data. Elasticsearch  is distributed, which means that indices can be divided into shards and each shard can have zero or more replicas. Kibana:  Kibana  is merely a visualization tool for data stored in  Elasticsearch .  Kibana  uses the regular  Elasticsearch  REST API to retrieve and visualize data stored in Elastic. How to Install & configure The elastic search With Lando : Ref for All the type of services in lando, https://github.com/lando/lando/tree/master/examples

Elastic Search Vs Solr search

Solr is search server for creating standard search applications, no massive indexing and no real time updates are required, but on the other hand Elasticsearch takes it to the next level with an architecture aimed at building modern real-time search applications. Percolation is an exciting and innovative feature. Elasticsearch is scalable and speedy, and if distributed indexing is needed then Elasticsearch would be the right choice. If you’ve already invested a lot of time in Solr, stick with it, unless there are specific use cases that it just doesn’t handle well. If you need a data store that can handle analytical queries in addition to text searching, Elasticsearch is a better choice. At the end, Solr and ElasticSearch are very close to each other in feature sets, and it would be really difficult to make a decision on one or the other, without really knowing the exact requirements. What is Elasticsearch? “Elasticsearch is a highly scalable open-source full-text search and analytics ...

Lando : What, How and why

Lando is for developers who want to easily specify and quickly spin up the services and tools needed to develop their projects. It is a free and open-source local development environment built on Docker container technology. What makes Lando so great? 1 - Built pn docker(no need to manage local services) 2 - simplifies container management(abstraction layer) 3 - Quick & painless setup 4 - cross-plateform support(mac,window,linux) 5 - single configuration file (that lives in git) 6 - Highly configurable How to Install the drupal8 recipe and run :  You'll need a Drupal codebase, so go somewhere on your computer and use Git to clone it: git clone --branch 8.6.x https://git.drupal.org/project/drupal.git lando-d8 Change into the Drupal directory: cd lando-d8 Run lando init, answering drupal8, ., and Lando D8. Run lando start, and wait while all the Docker containers are set up. Run lando composer install (this will use Composer/PHP inside the Docker container t...

Use meld with git as a mergetool & difftool

Git config global as a merge tool meld: 1 - You can use a function like git config global mergetool meld or directly enter these below values in .gitconfig file(located in user or home folder) [user] name = XXXX email = XXXX@YYY.com [merge] tool = meld [diff] tool = meld [mergetool] prompt = true How to use : 1 - to compare the change in files 2 - compare the whole branch git difftool -d dev_backend_changes  Now my current directory branch is alpha_hd_api so it will pick up automatically, Current branch must be the branch in which I would like to write the changes, So in the meld tool, the left would be the dev_backend_changes ---- alpha_hd_api Now simply copy the changes from left to right & merge the changes