Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Dummy Dataset

Amos Folarin edited this page Oct 5, 2017 · 1 revision

The Dummy Dataset is basically a mock data to be indexed by an ElasticSearch server (configurable). It contains two types of entities:

  • patient (brcid, firstname, lastname, dob, gender)
  • document (type[text or binary], thumbnail[a relative url], text, created[an integer representing milliseconds since linux epoch])

The data is generated using a simple python script which is available at: https://github.com/Honghan/mockESdata. The ElasticSearch server url can be configured at line 16. Note that the script will use an index called 'mock' by default and it will clean the index before generating new mock data. So, if you happened to have an index using the same name, please change the default index name at line 19.

Clone this wiki locally