Skip to content

Commit

Permalink
Remove ES indexing of assets
Browse files Browse the repository at this point in the history
  • Loading branch information
YohannParis authored Jan 29, 2025
1 parent 1fe902c commit 2263e0d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -239,14 +239,16 @@ public Optional<T> updateAsset(final T asset, final UUID projectId, final Schema
return Optional.empty();
}

/** TODO - Asset search needs to be removed properly
if (!updated.get().getTemporary() && updated.get().getPublicAsset()) {
elasticService.index(getAssetAlias(), updated.get().getId().toString(), updated);
}
if (updated.get().getTemporary() || !updated.get().getPublicAsset()) {
elasticService.delete(getAssetAlias(), updated.get().getId().toString());
}

*/

return updated;
}

Expand Down

0 comments on commit 2263e0d

Please sign in to comment.