hubmapconsortium / search-api

HuBMAP search service and associated pieces to create an index
https://search.api.hubmapconsortium.org
MIT License
2 stars 2 forks source link

Add EPICollections to indices #787

Closed shirey closed 3 months ago

shirey commented 4 months ago

Add EPICollection (created by Entity API Issue #669 ) to the entities consortium level index only (no need to add to public index or portal indices at this time).

yuanzhou commented 4 months ago

@shirey @DerekFurstPitt as a result of the recent efficiency work, we'll no longer need to use the mapping json in sesrch-api to control what fields get indexed. Now we can achieve this by using the same entity schema yaml and marking the fields as indexed: true | false. For example: https://github.com/hubmapconsortium/entity-api/blob/8ad7ae692d8d72e06d969cf550e2d6efe0321a26/src/schema/provenance_schema.yaml#L244

@kburke implemented this feature and can explain more if @DerekFurstPitt will have questions.