Open aalbino2 opened 1 year ago
In the quantity method
of the base class ElnActivityBaseSection
, writes to results.eln.method
which is searchable.
My advice would be to have the value of method
set as default in the custom schemas to keep consistency. It is possible to also look for Custom Quantities now, but doing that way it will be indexed properly in Elastic search making it fast. Let me know if you need any example schemas to see this.
Ok, good. I will wait for Hampus to merge his work on base_classes where, if I remember correctly, ElnActivityBaseSection will be called Activity.
Thanks
For the next step of "refactoring eln base classes" activity we are doing
There are several quantities contained in this class:
Regardless of where to place them exactly (e.g. as a quantity of Activity or as a quantity of sub_section Global), I was wondering if it can be useful to make the category and method indexed in elasticsearch.
It is a very general filter to look for methods, in view of the growing number of experiments sharing the same method-agnostic base classes. I imagine that some search of specific quantities is intended to be for quantities connected to specific methods.
@hampusnasstrom @Pepe-Marquez