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

doc: add some documentation how to add an index for scientific metadata #21

Open
cfelder opened this issue Jul 6, 2022 · 2 comments
Open

Comments

@cfelder
Copy link
Contributor

cfelder commented Jul 6, 2022

Is your feature request related to a problem? Please describe.
We've done sone benchmarks using SampleDB and recognised lower performance for certain fields, e.g. using scientific metadata b/c they are not indexed.

Describe the solution you'd like
It would be nice to have some documentation about how to add an index either to the data model or using a mongodb command to an existing system or to have a small administrative utility to do so as mentioned on the SciCat annual meeting today.

@stephan271
Copy link
Member

stephan271 commented Jul 6, 2022

I agree that needs to be added. Do you have an example document and field that you would like to have indexed ? W could use it as a concrete example in the documenattion. Are you refering to the current loopback based backend or to the upcoming nestjs based backend ?

@cfelder
Copy link
Contributor Author

cfelder commented Jul 6, 2022

For the existing models may the checksum of a file (chk) would be good candidate. For scientific metadata may wavelength is a candidate.

Our test have been carried out w/ the loopback backend.

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

2 participants