Closed wimpykid26 closed 7 years ago
@Treora any thoughts?
It looks like this PR also contains the bookmarks import code and other stuff that is not related to this issue, so the diff is too messy to be reviewed.
By the way, I merged deduplication into master, so if you rebase onto master you can also use the findPagesByUrl
.
@Treora Apologize for the mess. Something went wrong while creating the branch. cleared the diff. used findPagesByUrl
to get corresponding entries of same url.
@Treora Cleaned the code as you said. Made the pagesResult return value into a promise and rebuilded search index after the promise is returned.
The essence is not bad, but it's still only half the solution here; closing due to inactivity.
@Treora What I did was: Used findpagesbyurl and normalizeresults from deduplication branch. get the corresponding entries called db.remove
Please review. If there is any error I'll fix them ASAP.