When doing a spotlight search for my bookmarks, some of them appear in the search result but some don't. I was not able to find a pattern about which ones will show up and which ones won't. Newly added bookmarks are found but some older ones aren't.
I've looked in ~/Library/Caches/Metadata/Safari/Bookmarks
and found two interesting things:
- Some old bookmarks (no more present in Safari) have a webbookmark file in this folder
- Some existing bookmarks in Safari don't have an existing webbokmark file there
I tried to rebuild the Spotlight index but the same bookmarks are missing. The quite basic "Edit bookmarks" menu in Safari doesn't provide any advanced option to manage the bookmarks database further.
Is there a way to force Spotlight to refresh the bookmarks part of its index? Unless it's on safari side that something has to be done?
I have also seen that bookmarks data are stored in ~/Library/Safari/Bookmarks.plist
. Which location is the correct one? From where does Safari get its bookmarks? ANd then, what is the purpose of the other location?
I have iCloud for Safari enabled (as I want to share my bookmarks on my iPad and iPhone). It may be another parameter in the problem. However, I don't want to deactivate/reactivate it without being sure I won't loose my bookmarks as I don't know which one will be the master (local/iCloud) and not really knowing the content of my iCloud bookmarks.