Connect With Me

Contact Me If You Getting Any Problem on fb and twitter
facebook twitter

Friday, 31 July 2015

mcq question for rbi assistant

1 Which of the following is the disadvantage of going for public issue?
A Need to make continuous disclosures

2 Which of the following is not a criterion to select the Investment Bankers?
A No professional memberships or incorporations are required

3 Which of the following is not an asset of a bank?
A Overdue recurring deposits

4 The banking company has restriction to sanction loan to?
A Directors of the bank

5 Which of the following is a non-depository institution?
A Mutual funds

6 The disadvantage associated with leasing company is?
A High competitions because of entry to all financial institutions

7 Which of the following theory is associated with the financial system in the economic growth?
A Financial repression theory

8 Which of the following is not a financial intermediary in the financial markets?
A Small scale service institute.

9 Which of the following is not a function of a commercial bank?
A Registration of charges and mortgages

10 Which of the following is one of the three pillars of new Basel Capital Award?
A Market discipline

11 The interest in savings bank accounts of a bank is calculated on?
A Minimum amount of balance that is maintained in the account in between 10th and the last day of month

12 The credit policy of a bank does not deal with?
A Outstanding balances in deposit accounts

13 Issuing credit cards is a component of ?
A Retail banking

14 The origin of bank instruments can be traced to?
A Goldsmith receipts

15 Which of the following is not the function of commercial banks?
A Regulating the issue of bank notes.

16 The first woman Chief of State Bank of India (SBI) is -
A Arundhati Bhattacharya

17 Ashok Kumar Mathur is associated with which of the following institutions/commissions?
A 7th Pay Commission

18 The Kudankulam Nuclear Power Project (Tamil Nadu) has been set up in collaboration with which country?
A Russia

19 According to the new Company Act, 2013 companies earning profits have compulsorily to invest ………..per cent of their profit on Corporate Social Responsibility (CSR) -
A 2

20 Who headed the RBI-constituted committee to examine the recommendations of Financial Sector Legislative Reforms Commission (FSLRC)?
A G. Gopalakrishna

21 PDMA, which came to news during 2014 and associated with government’s borrowings, stands for -
A Public Debt Management Agency

22 The Bharatiya Mahila Bank (BMB) was set up with a seed capital of -
A Rs. 1,000 crore

23 The proposal to set up an Expenditure Management Commission (EMC) to bring in reforms related to govt. spending, came out of which of the following?
A Union Budget 2014-15

24 What is the minimum paid-up capital limit for Payments Banks and Small Banks as recommended by the RBI in its draft rules released during July 2014?
A Rs. 100 crore

25 Banco Espirito Santo (BES), which came to news recently, is a leading bank of which country currently going through a banking crisis?
A Portugal

26 Which bank organized the “The Banking and Economics Conclave 2014” during June 2014?
A SBI

27 Which IT company is the developer of Finacle e-Banking solution, which provides wide range of banking services to banks including CBS?
A Infosys

28 The Reserve Bank of India (RBI) announced its first bi-monthly monetary policy statement on which date, as an alternative to the traditional quarterly monetary policy statement?
A 1 April 2014

29 Which two entities were granted in-principle approval for bank licence by the RBI during 2014?
A IDFC Limited and Bandhan Financial Services

30 Which leading banking luminary was appointed as the special advisor of the interim President of IPL Sunil Gavaskar by the BCCI during April 2014?
A Deepak Parekh

31 What was the income criterion for “Super-Rich” individuals and Hindu Undivided Families (HUFs), as proposed in the draft of the Direct Taxes Code (DTC) released by the Finance Ministry during 2014?
A Annual Income of Over Rs. 10 crore

32 What is the extended deadline by the RBI for implementation of Basel III norms by the Indian banks?
A 31 March 2019

33 What is sbiINTOUCH?
A New range of high-tech digital branches launched by SBI

34 BCSBI, which is associated with country’s banking industry, stands for
A Banking Codes Standards Board of India

35 R. Gandhi has been working with which designation?
A Deputy Governor RBI

36 Loans to poor people by banks has many limitations including lack of security and high operating cost,so to help them which type of finance system developed.
A Micro Finance System

37 Who introduces the concept of micro finance in Bangladesh?
A Muhammad Yunus

38 One of the delivery channel for micro finance is SHG,what is SHG?
A Self help Group

39 JLG Means?
A Joint liability Group

40 Andhra Pradesh microfinance institution (regulations of money lending act) passed in?
A 2011

41 MACS Means?
A Mutually added co-operative society

42 LAB Means?
A Local Area Bank.

43 SKS Micro founded limited the only listed micro finance company in country is founded by
A Vikram Akula

44 Who launch an india micro-finance platform a portal on micro finance activity across the country with the assistance of world bank fund on 28 june 2013
A SIDBI

45 who is chairmen and managing director of Allahabad bank?
A Rakesh Sethi

46 Which committee has recommended creation of a separate category of NBFCs operating in the microfinance sector to be designated as NBFC-MFIs (Non-Banking Finance Company - Micro Finance Institutes) ?
A Y. H. Malegam

47 On 9th October 2013 RBI has announced set up a Technical Committee under the chairman ship of ____________ to examine the feasibility of encrypted SMS-based fund transfers.
A Sambamurthy

48 Which member of the world bank group launched the Indian Rupee Denominated bond, may be the first step towards internationalization of the Indian currency ?
A IFC

49 A Demand Draft payable to bearer may be issued only by
A RBI


50 Payment of a lost Demand Draft is made to the
A Purchaser









Saturday, 18 July 2015

Pro Kabaddi League Season 2

The Pro Kabaddi League (PKL) is a professional kabaddi league in India, based on the format of the Indian Premier League.The first edition of the tournament started on 26 July 2014 with eight franchises consisting of players from around the world.It is currently supervised by Mashal Sports Managing Director Charu Sharma.

Pro Kabaddi, an initiative of Mashal Sports, is a league level game of Kabaddi.


Pro Kabaddi is found by an an eight-city league played in a "caravan format," travelling together to all 8 venues to play 56 league matches, two semifinals, one 3rd and 4th position match and a Grand Finale, making a total of 60 Matches. 435 million viewers in India over its five-week run. This makes it the second-most viewed sporting tournament in the country after the annual twenty-20 tournament Indian Premier League, which in its 2014 edition was viewed by 552 million.

Franchises 

1 Bengal Warriors

Bengal Warriors Pro Kabaddi League
Bengal Warriors


Bengal Warriors is a Kabaddi team based in Kolkata, West Bengal that plays in the Pro Kabaddi League. The team is currently led by Nilesh Shinde, and coached by Raj Narain Sharma. The team is owned by Future Group. Warriors play their home matches at the Netaji Indoor Stadium.
Pro Kabaddi League is a Kabaddi tournament backed by the International Kabaddi Federation (IKF) and the Asian Kabaddi Federation (AKF). For the inaugural tournament to be held in July - August 2014, the PKL has finalized a list of 8 teams who will be participating in the tournament. The teams representing 8 different cities of India, including Kolkata

Bengal Warriors Team Player

1  Dinesh Kumar (C)
2  Nilesh Shinde
3  Nitin Madane 
4  Hitesh Patel 
5  Sachin Khambe
6  Mahesh Goud 
7  Shyam Kumar Sha
8  Bajirao Hodage
9  Mahendra Rajput
10 Vikas Kale
11 Sunil Jaipal
12 Parveen Madanlal Jangra
13 Kedar Lal
14 Deepak Dhull
15 Deepak Kumar 

2 Bengaluru Bulls


Pro Kabaddi League Bengaluru Bulls
Bengaluru Bulls



Bengaluru Bulls is a Kabaddi team based in Bangalore, Karnataka that plays in the Pro Kabaddi League. The team is currently led by Manjit Chillar, and coached by Randhir Singh. The team is owned by Kosmik Global Media. Bulls play their home matches at the Kanteerava Indoor Stadium. Bulls ended up as the semi finalists in the Pro kabbadi League 2014.

 Bengaluru Bulls Team Player

1 Manjit Chillar (Captain)
2 Gurpreet Singh 
3 Pramod Singh 
4 Ajay Thakur 
5 Dharmaraj Cheralathan 
6 Michael Adam Dubery 
7 Sarun Das 
8 Rajesh Mandal 
9 I Ketut Ariana 
10 Sinotharan Kanesharajah 
11 Sunil Hanumanthappa 
12 Kiran Parmar 
13 Vilam Singh 

3 Dabang Delhi

Dabang Delhi
Dabang Delhi
Dabang Delhi is a Kabaddi team based in New Delhi, Delhi that plays in the Pro Kabaddi League. The team is currently led by Jasmer Singh, and coached by Arjun Singh. The team is owned by Radha Kapoor. Dabang Delhi play their home matches at the Thyagaraj Sports Complex.


Dabang Delhi Team Player

1 Takamitsu Kono
2 Dong Ju Hong
3 Amit Singh
4 Dadaso Balaso Awad
5 Kashiling Adake
6 Shrikant Tewthia
7 Sachin Kumar
8 Avnish Kumar
9 Manikantha
10 Rajeev Kumar
11 Inderpal
12 Sandeep Tomar

4 Jaipur Pink Panthers
Jaipur Pink Panthers
Jaipur Pink Panthers
  
The Champions of the inaugural season of Star Sports Pro Kabaddi, Jaipur Pink Panthers represent the Pink City of Jaipur, Rajasthan in the league. Led by Navneet Gautam and coached by Kasinathan Baskaran, the team is owned by renowned Indian actor, Abhishek Bachchan.

An avid fan of all sports – cricket, basketball, football and Kabaddi being his favourite games, Abhishek is a proud owner of Jaipur Pink Panthers and co-owns the Indian Super League’s franchise – Chennaiyin FC. Additionally, he is the captain and one of the founders of the All Stars Football Club (ASFC). Abhishek believes in bringing sports to the forefront for the younger generation in India and is committed to actively promote all kinds of sports.

One of the most popular teams in the inaugural season, Jaipur Pink Panthers had many leading film and entertainment personalities dawning the pink jersey in their support. 

Jaipur Pink Panthers Team Player

1 Navneet Gautam
2 Shrestha Sanjay
3 Balbir Singh
4 Gangadhari Mallesh
5 Jasvir Singh
6 Rajesh Narwal
7 Raju Lal Choudhary
8  Rohit Rana
9 Gokul Shitole
10 Prashant Chavan
11 Samarjeet Singh
12 Ran Singh
13 Shrikant Jadhav
14 Sonu narwal
15 Kuldeep Singh
16 C Arun
17 Dharmendra Singh
18 Rohit Kumar Prajapat
19 C Karnan
20 Suraj Gurjar
21 Kazuhiro Takano
22 Hwangi A H N
23 Mohammad Maghsoulou

5  Patna Pirates


Patna Pirates
Patna Pirates


Owned by KVS Energy and Sports Limited, Patna Pirates believes that the spirit of the pirate is the spirit of not letting go, of using the environment to advantage, of striking when the enemy is least aware. It is named not after the criminal meaning of the word but after the Greek word ‘peirin’ which means “to attack”.

Patna Pirates is lead by Rakesh Kumar, the Indian Kabaddi team captain and is efficiently supported by Ravi Dalal, Sandeep Narwal, Wasim Sajjad and many others.

KVS Energy and Sports Limited, is owned by Rajesh Shah, Co Chairman and Managing Director of Mukand Ltd and his son Mr. Kaustubh Vir Shah.

Mukand is India’s leading integrated specialty steel producer and a manufacturer of heavy industrial machinery. Mr. Rajesh Shah is a third generation industrialist who has held several board positions in large Indian Public sector Units as well as multi national companies. He is the Past President of the Confederation of Indian Industries, and the Young Presidents’ Organisation. Mr. Shah is also a keen follower of sport and is himself a fitness enthusiast.

Patna Pirates is his first venture into sporting territory.

Patna Pirates  Team Player

1 Rakesh Kumar
2 Tae Deok Eom
3 Wasim Sajjad
4 Gurvinder Singh
5 Ravi Dalal
6 Sandeep Narwal
7 Girish Maruti Ernak
8 D Suresh Kumar
9 Vijay Malik
10 Aman Kumar
11 Nasir Ali
12 Sunil Kumar
13 Pradeep Kumar
14 Varinder Singh
15 Abhinandan Kumar
16 Sunny
17 Deepak Narwal
18 Amit Hooda
19 Santosh Kumar Singh

6 Puneri Paltan

Puneri Paltan
Puneri Paltan
Owned and managed by Insurekot Sports Pvt. Ltd., Puneri Paltan is one of two Pro Kabaddi League franchises from Maharashtra. The team represents the city of Pune, combining the magnificence of Maharashtra’s cultural capital with the true flavours of this indigenous sport. Insurekot Sports Pvt. Ltd. is passionate about Kabaddi and committed to promoting the sport and works with an aim to create awareness around Kabaddi’s rich heritage in the country. The team masterminded by Ashok Shinde is led by Wazir Singh.

Recreating the glory of the game’s rich history in India, Puneri Paltan unleashes the energy and fortitude of Kabaddi in its modern day version.

Puneri Paltan  Team Player

1 Wazir Singh
2 Amit Rathi
3 David Mosambayi
4 Mahipal Narwal
5 Pravin Niwale
6 Ravi V
7 Simon Maina Klbura
8 Surender Singh
9 Tushar Patil
10 Waleed Al Hasani
11 Yogesh Hudda
12 Anil Singh
13 Harvinder Singh
14 manoj Dhul
15 Ravi Kumar
16 Sagar Khatale
17 Vikas Tomar
18 Kalimuthu Balamahendran
19 Manoj Kumar
20 Sachin V
21 Vijendra Singh
22 Nitin More
23 Amit Kumar
24 Jitesh Joshi
25 Sanjay Kumar

7  TELUGU TITANS

TELUGU TITANS
TELUGU TITANS


Veera Sports backed by Core Green group, Greenko group and NED group own Telugu Titans. Veera Sports is led by Srinivas Sreeramaneni, co-founder and Chairman of the Core Green Group along with Mahesh Kolli & Anil of Greenko Group and Gautham Reddy of NED Group.

Core Green Group, founded in 2009, is a leading player in agri-business industries like sugar, power, bio-fuels and bio-fertilizers and also works with various software companies.

Star raider Rahul Chaudhari from Telugu Titans won the prestigious ?Raider of the Tournament? award in the inaugural season of the Star Sports Pro Kabaddi League.

Telugu Titans  Team Player

1 Rajaguru Subramanian
2 Chandran Ranjit
3 Isac Antony
4 Prashant Ral K
5 Rahul Chaudhari
6 Rohit Balian
7 Sukesh Hegde
8 Hyunil Park
9 Jishnu
10 D. Gopu
11 Sachin Shingade
12 Sandeep 
13 Deepak Nivas Hudda
14 Hadi Oshtorak
15 Meraj Sheykh
16 Ravit Kumar
17 Rupesh Tomar
18 T Prasad

8 U Mumba
U Mumba
U Mumba


Owned by Ronnie Screwvala, U Mumba, the Mumbai based franchise of the Pro Kabaddi League carved a niche for itself in the first season alone as it received a resounding response from millions of viewers who not only followed the team on television but also flocked to the stadiums in large numbers. Derived from the word Mumba, the name represents the mother island that gave birth to a mega city which is now known as Mumbai.

Led by captain, Anup Kumar, coached by Ravi Shetty with Bhaskaran E. as the Strategic Adviser, U Mumba consistently maintained its position as the front-runner with 11 games which included 8 wins and 3 draws. U Mumba claimed the second spot at the season finale after the final match against Jaipur Pink Panthers.

U Mumba is already gearing up for a powerful performance and is determined to win the PKL title this year. With the goal of furthering the sport of Kabaddi, the team’s parent company, U Sports is looking at constructing a first of its kind Kabaddi arena. The company also has an enabler program for young athletes to grow into professional Kabaddi players and runs a parallel incubation programme called U Mumba Future Stars.

U Mumba  Team Player

1 Anup Kumar
2 Anoop E V
3 Gopalappa Thimarayappa
4 K Prapanjan
5 Masayuki Shimokawa
6 Onkar Jadhav
7 Pawan Kumar
8 Pradeep Kumar
9 Rishank Devadiga
10 Shabeer Bapu
11 Sulieman Kabir
12 Suresu Kumar
13 Vinod Atyalkar
14 Vinod Paulyas
15 Mohit Chhillar
16 Vishal Prabhakar Mane
17 Fazel Atrachali
18 Jeeva Gopal
19 Surender Nada
20 Jeeva Kumar
21 Bhupender Singh
22 Jawahar Vivek


Pro Kabaddi League (PKL)  Season 1 Winner 2014
jaipur Pink Panther

Pro Kabaddi League (PKL)  Season 2 Winner 2015
U Mumba


Pro Kabaddi League: U Mumba Triumph Over Bengaluru Bulls to Win 2015 Edition 

 In the third place play-off, Telugu Titans displayed their might as they sealed the third spot in the Pro Kabaddi League beating the unpredictable Patna Pirates in what seemed to be a one-sided affair. They won 34-26 as super raider Rahul Chaudhari scored 12 points including two super raids. In the second half Patna tried to make a fight of it by effecting three super tackles but the Titans reworked their strategy to keep their stranglehold on the game and take it beyond the finish line.

U Mumba tames Bulls to win title

 
In the closing minutes Anup Kumar made his raids count, but the star of the evening for the winning team was Bapu who scored 10 points.

The raiders became wary of taking undue risks and the final of the STAR Sports ProKabaddi League’s second season dished out dismal fare in the presence of partisan and vociferous home fans at the National Sports Club of India here on Sunday.

The defenders of both sides either fell in a heap over the raider or hoisted him to win points. On this count U Mumba’s Vishal Mane and Rishank Devadiga, and Bengaluru Bulls’ Dharmaraj Cheralathan excelled.

The defensive tactics employed by the teams was the highlight of the final, and eventually U Mumba, which held the advantage at half time, sustained its effort in the second session to prevail 36-30 over a persevering opponent.

Taking the initiative, the home team’s Shabeer Bapu won two touch points, but it was the admirable work done by defender Mane and all-rounder Devadiga that caught the attention. Clearly the anxiety to win the title and prize money of Rs. 1 crore was weighing down the two teams.

U Mumba skipper Anup Kumar was ejected to the bench twice within the first eight minutes and when it happened again in the 34th minute of the second half that resulted in the Bulls taking the lead for the first time at 24-23, there were signs of the home team cracking under pressure.

Splendid team work saw the Bulls stage a great comeback. The match provided another twist when Bapu dragged three opponents down to help his side lead by five points.

In the closing minutes Anup Kumar made his raids count, but the star of the evening for the winning team was Bapu who scored 10 points.

He was followed by Anup Kumar 7, Mane and Devadiaga 5 each. Manjeet Chillar and Ajay Thakur went all out after their side took the lead, but Bapu’s three point win in a single raid made it a memorable evening for a side that had finished second best last year.

Telugu Titans beat Patna Pirates 34-26 to finish third.



U Mumba win Star Sports Pro Kabaddi season 2

U Mumba were crowned the winners of Star Sports Pro Kabaddi season 2 after a brilliant 36-30 win over Bengaluru Bulls. Last season’s finalists went one step further this time as they lifted the trophy in stunning fashion. A brilliant defensive performance in the first half was capped by an allround performance in the second by the home team.

Earlier in the day, Telugu Titans beat Patna Pirates convincingly in the 3rd place playoff to set the stage up for the final of the second season of Pro Kabaddi. U Mumba and Bengaluru Bulls went head-to-head for the title in front of a packed NSCI Stadium in Mumbai.

U Mumba won the toss and invited Bengaluru Bulls to raid first and it was Anup Kumar who got the first point of the match with a toe touch on Somvir Shekhar. In the 2nd minute, Shabeer Bapu made it 2-0 to Mumbai through a raid, but Rajesh Mondal halved Bengaluru Bulls’ deficit in the subsequent raid. From there, it was a half for the defenders as only 3 successful raids ensued for the rest of the half.

The Mumbai captain Anup Kumar was tackled by the Bulls defence while local boy Rishank Devadiga caught Rajesh Mondal. The officials called a timeout in the 7th minute as U Mumba led Bengaluru Bulls 4-3. Both the teams displayed some brilliant defending as they did not let the raiders from any team to get a point.
Great defending by U Mumba

With the scores tied at 7, Rajesh Mondal was caught by a strong tackle by the combination of Vishal Mane and Surender Nada while Shabeer Bapu broke the raiders’ 14-minute duck in the 16th minute by returning successfully from his raid. In the 18th minute, Shabeer got the Bulls down to just 3 men through his raid as the Mumbaikars looked to enforce an all out on their opponents.

Ajay Thakur was tackled in his raid while Anup Kumar brought the Bulls on the verge of an all out with just 1 player left for the Bulls on the court. In the final raid of the half, Deepak Dahiya was tackled by the Mumbai defenders as the Bulls suffered an all out to the delight of the home crowd as the home team led 16-8 at half-time. In a defensive half in the final, only 6 raid points were scored and Bengaluru Bulls contributed to just 1 of those 6.

Having scored 0 raid points in the first half, Manjeet Chhillar scored 3 in just 2 raids as the Bengaluru Bulls made it a 5-point game in the 24th minute. Rishank helped restore Mumbai’s 8-point advantage in the subsequent raid before Ajay Thakur was tackled by an alert Mumbai defence. Both the teams exchanged points for the next few minutes as the scoreline read 21-14 in favour of the home team after 29 minutes.
Ajay Thakur’s and Manjeet Chhillar’s efforts go in vain

A good run for the Bulls saw them reduce Mumbai’s lead to just 4 points with 10 minutes to go in the final. With the visitors trailing 18-23, Ajay Thakur levelled the score with a single raid! The Indian international, who had 0 raid points till this instant, scored 5 points for his team which included 2 points for an all out as the Bulls gave the home team a scare.

The U Mumba captain was tackled by the Bulls as they took the lead (24-23) for the first time in the match in the 34th minute. However, with the clock showing 35 minutes, U Mumba sparked back into life by not only levelling the score, but taking a healthy 5-point lead courtesy of a stellar raid by Shabeer. The man christened “India’s best raider” by Anup Kumar used his pace and strength to conjure up a super raid as the Mumbaikars led 29-24 with 4 minutes to go in the match.

Just when it looked like U Mumba would win comfortably, the Bulls charged through captain Manjeet. The Arjuna awardee amassed 3 points in 2 raids to make it a 2-point game (30-28) with 2 minutes to go. However, after the Bulls captain was tackled, Anup Kumar’s side cruised through to victory, enforcing another all out in the process when Ajay Thakur was tagged by Anup in the 39th minute.

Manjeet scored a couple of points in the final minutes while Anup won a point for U Mumba to put an end to the final which saw U Mumba win 36-30 vs Bengaluru Bulls. Shabeer Bapu scored 10 points for the newly-crowned league winners while Manjeet top scored in the match, with 11 points.

Man of the match: Shabeer Bapu
 




 

Thursday, 16 July 2015

elastic search php ubuntu

Here I Am Giving You How To Install Elastic Search and In Second Step I Am giving how to Integrate It In php
 (using ubuntu)
Installation:

Installing from the Debian software package

wget  https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.7.deb

dpkg -i elasticsearch-0.90.7.deb


This results in Elasticsearch being properly installed in /usr/share/elasticsearch.


Recall that installing from the Debian package also installs an init script in /etc/elasticsearch that starts the Elasticsearch server running on boot. The server will also be immediately started after installation


To Post Data:

curl -X POST 'http://localhost:9200/tutorial/helloworld/1' -d '{ "message": "Hello World!" }'




"tutorial" is index of the data in Elasticsearch.
"helloworld" is the type.
"1" is the id of our entry under the above index and type

To Get Data:

Other Way To  Post Data:

curl -X PUT 'http://localhost:9200/clients/client/5' -d '{"id":"5", "name":"Jannet"}'

To search data using prefix:

curl -X GET 'http://localhost:9200/clients/_search?pretty' -d '{
"query" : {
"prefix" : {
"name" : "j",
"rewrite" : "constant_score_boolean"
}
}
}'

How To use Elastic Search:
There are two method to use elastic search in ubuntu

1 Use terminal with curl install
ctrl+alt+T

2 Use chrome web browser plugin called Sense
Search and download from here

Here I am using sense

Now Installation and basic part is over Now Below step is how we can integrate it into php



Installing Composer


1 Go To Directory first  of your project through terminal
anoop@HP-Mini-210-1100:/var/www/html/elastict$

2 Create file name composer.json in your project and add below text

{
    "require": {
       "elasticsearch/elasticsearch": "~1.0"
    }
}

3 Run This-   curl -sS https://getcomposer.org/installer | php (this command should be run when you are in your project directory)
4 Again Run This-   
php composer.phar install
5 When you run a folder will be created name vendor


Showing you file structure of my project:


elastic (Main Project)
    vendor (folder)
    composer.json(file)
    composer.phar(file)
    composer.lock(file)
    add.php(file) (this I have created to add data to elastic search)
    index.php(file) (this I have created to search data from elastic search)



All the files you will get when you install composer ,I am giving you code for the two files which I have made:




add.php


………………………………………………………………………………….

<?php
ini_set('display_errors',1);
error_reporting(E_ALL);

require 'vendor/autoload.php';

$client = new Elasticsearch\Client();

if(!empty($_POST)){
   if(isset($_POST['title'],$_POST['body'],$_POST['keywords'])){
     
      echo $title=$_POST['title'];
      $body=$_POST['body'];
      $keywords=explode(',',$_POST['keywords']);
     
      $indexed=$client->index([
      'index' =>'articles',
        'type'=>'article',
        'body'=>[
              'title'=>$title,
              'body'=>$body,
              'keywords'=>$keywords
              ]
          ]);
         
          if($indexed){
              print_r($indexed);
          }
   }
}

?>
<html>

<body>
<form action="add.php" method="post" autocomplete="off">
<label>
Title<input type="text" name="title">
</label>
<label>
Body<textarea name="body" rows="8">
   </textarea>
</label>
<label>
Keywords<input type="text" name="keywords" placeholder="comma,seprated">
</label>
<input type="submit" name="Add">
</form>

</body>
</html>



………………………………………………………………………………………………
index.php

<?php
ini_set('display_errors',1);
error_reporting(E_ALL);

require 'vendor/autoload.php';

$client = new Elasticsearch\Client();


   if(isset($_GET['q'])){
     
      echo $q=$_GET['q'];
      $query=$client->search([
      'body' =>[
      'query' =>[
      'bool' =>[
              'should'=> [
              'match'=>['title'=>$q],
              'match'=>['body'=>$q]
             
          ]
      ]
   ]
   ]
   ]);
   
   
   
   if($query['hits']['total']>=1){
      $result=$query['hits']['hits'];
   }
   
   }
     
?>
<html>

<body>
<form action="index.php" method="get" autocomplete="off">
<label>
search for somethingh
<input type="text" name="q">
</label>
<input type="submit" name="Search">
</form>
<?php
if(isset($result)){
   foreach($result as $r){
      ?>
      <div>
      <?php echo $r['_source']['title']; ?>
      </div>
      <?php
     
   }
   
}

?>

</body>
</html>