SSHOC / sshoc-marketplace-backend

Code for the backend
Apache License 2.0
2 stars 0 forks source link

Automatically re-index concepts after update of vocabulary #145

Closed dpancic closed 1 year ago

dpancic commented 2 years ago

In GitLab by @KlausIllmayer on Jan 17, 2022, 12:51

If updating a vocabulary by calling PUT /api/vocabularies/{code} I currently miss afterwards an automatic re-index of concepts (PUT /api/concept-reindex). As such an update will probably add new concepts or change them, such an automatic re-index would be helpful.

dpancic commented 2 years ago

In GitLab by @tparkola on Jan 24, 2022, 13:12

I added indexing after the vocabulary update. But for reindex to happened vocabulary has to have property type assigned, then the concepts are indexed.