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

Index databroker start document in elastic #8

Open
dylanmcreynolds opened this issue Jun 12, 2020 · 2 comments
Open

Index databroker start document in elastic #8

dylanmcreynolds opened this issue Jun 12, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@dylanmcreynolds
Copy link
Collaborator

Currently, the system indexes an "experiment" which was a nice idea but really only good for a demo. While the concept of "experiemnt" may live on, what that model looks like is a little unclear.

One thing is clear, though. Splash is going be consuming bluesky runs as the principal place to store "run" data...loosely defined as the stuff that gets store for each trial in an experiment. https://blueskyproject.io/databroker/v2/user/index.html

There is a well-defined schema for a set of document types in the bluesky event model (https://github.com/bluesky/event-model/tree/master/event_model/schemas). We will get a lot of useful functionality out of these documents if we index the run_start documents in elastic as they come into mongo.

The end goal is to make it easy to search for a run based on several fields of particular interest (but not exclusively):
time
user
bealline_id
sample
detectors

So, this task is to set up create the stuff in splash-deploy that us perform smart searches (fuzzy, suggestions, etc) on those fields in start documents.

@dylanmcreynolds dylanmcreynolds added the enhancement New feature or request label Jun 12, 2020
@J-avery32
Copy link
Contributor

Finished the mapping configuration. What's left is to make the front end compatible with this format now.

@dylanmcreynolds
Copy link
Collaborator Author

Do you have a pull request? Note that if you create one, you can reference this issue in the comments and github will auto-close this issue when the PR is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants