Skip to content

mustakrakishe/Users

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Users

version version version version dependecy dependecy

An Elasticsearch index filter form.

Description

A web application which allows to seed and search users by a few filters.

Provided possibilities and UI features

  • 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.

Technical features

  • 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.

Installing

  1. Clone a repository.
  2. Install composer dependencies:
composer install
  1. Download an Elasticsearch server.

Running

  1. Run Elasticsearch server:
elasticsearch_folder\bin\elasticsearch.bat
  1. Run PHP server.
  2. Browse your site.

Screenshots

Initial state:

Init state

Search example:

Search example

About

An Elasticsearch index filter form.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published