An Elasticsearch index filter form.
A web application which allows to seed and search users by a few filters.
- Seed a setable amount of the documents (DB entries) that represent users;
- Each user has the follow fields:
- age;
- name;
- email;
- phone.
- View a table of the existing documents;
- Search documents by a filter complex:
- age - by range;
- name - by the first letters;
- email - full matching;
- phone - by operator code.
- A user table displays "No results." in case documents miss or don't match filters.
- Dinamic status string.
- All actions don't require a page reload.
- Used default elasticsearch connection configuration:
- host: 127.0.0.1;
- port: 9200.
- Not existing index will be created in case first user documents indexing.
- Bulk index of the new documents.
- It will display "No results." in case DB connection error insead of the exception.
- Ajax using.
- Clone a repository.
- Install composer dependencies:
composer install
- Download an Elasticsearch server.
- Run Elasticsearch server:
elasticsearch_folder\bin\elasticsearch.bat
- Run PHP server.
- Browse your site.
Initial state:
Search example: