Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load Elasticsearch documents #4

Open
6 tasks
gcornut opened this issue Apr 4, 2018 · 0 comments
Open
6 tasks

Load Elasticsearch documents #4

gcornut opened this issue Apr 4, 2018 · 0 comments

Comments

@gcornut
Copy link
Contributor

gcornut commented Apr 4, 2018

  • Create ElasticSearch mappings and index templates
  • Prepare JSON bulk files
  • Index switching
    • Bulk index into new timestamped index {source}_{documentType}-d{timestamp}
    • Remove old timestamped index
    • Add new index to index alias {source}_{documentType}

Example:
Indexing VIB studies with timestamp "1522832654"
=> new index vib_study-d1522832654
=> remove vib study indices before timestamp
=> add index vib_study-d1522832654 to alias vib_study

@gcornut gcornut changed the title Index "raw" BrAPI documents Generate Elasticsearch documents Apr 9, 2018
@gcornut gcornut changed the title Generate Elasticsearch documents Load Elasticsearch documents Apr 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant