Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 811 Bytes

README.md

File metadata and controls

19 lines (10 loc) · 811 Bytes

Searchly Sample PHP Application.

This example illustrates basic search features of Searchly powered by Elasticsearch.

Sample application is using Elasticsearch PHP client PHP ElasticSearch client to integrate with Searchly

To create initial index and sample data click "Create Documents" (3 sample laptops will be created.)

To test search; enter "Laptop", "Asus" or "Dell" to search box at top right and hit enter.

Using with Searchly

  • Sign Up and get your API-KEY from here.
  • Go to bootstrap.php and put replace your connection url with the dummy one in the configuration element.

Local Setup

  • Comment out $client = new Elasticsearch\Client();