SciCatProject / documentation

Documentation for SciCat metadata server :page_with_curl:
https://scicatproject.github.io/
3 stars 9 forks source link

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

Open cfelder opened 2 years ago

cfelder commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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.