Elastic Search : Create Index and Search Index

Creating indexwatch full The Great Wall film online

It is very easy to create index in elastic search. There are various php api/lib available couple of most used are …


curl -XPUT 'http://localhost:9200/database/user/1' -d '
"user_login": "appa",
"name": "Appasaheb Sawant",
"postDate": "2013-03-11",
"body": "I am a Sr. Software Engineer." ,
"email": "appasaheb.sawant@gmail.com"

//Command Output


curl -XPUT 'http://localhost:9200/database/user/2' -d '
"user_login": "sarita",
"name": "Sarita Sawant",
"postDate": "2013-03-25",
"body": "I am a Payroll Assistant",
"email": "test@gmail.com"

//Command Output


//Search Index

Categories: Elasticsearch, Linux, Website Peformance