diff --git a/platform/features/search/src/workers/GenericSearchWorker.js b/platform/features/search/src/workers/GenericSearchWorker.js index 918c6c29be..6101760305 100644 --- a/platform/features/search/src/workers/GenericSearchWorker.js +++ b/platform/features/search/src/workers/GenericSearchWorker.js @@ -52,9 +52,6 @@ function index(data) { var message; - // TODO: Since this is only within genericsearch, do - // we really need to check if the index already holds it? - // This might depend on how often/when we clear indexedItems. if (!conainsItem(data.id)) { indexedItems.push({ id: data.id, @@ -177,10 +174,6 @@ return message; - // TODO: After a search is completed, do we need to - // clear out indexedItems? - // When do we need to clear out inedxedItems? - // TODO: This function is too long. }