Reverse Indexing in More DepthIn the previous article we talked about an indexing technique (which I like to call reverse indexing). Here, we use a Hashmap with a word as the key, and a list of pages as the value. This is a lot beJun 27 · 3 min readsearchnotes.hashnode.dev
Naive approachTo understand how to do this efficiently, I had to start with the absolutely worst approach and go from there. In this case, the worst approach would be the one with no optimizations at all: Going thrJun 27 · 3 min readsearchnotes.hashnode.dev
What is a notes search engine, and Why am I building this??Earlier today I went looking for something in my notes directory. I have notes spread across multiple subdirectories, and I couldn't find what I was looking for. I opened a few folders I thought were Jun 27 · 1 min readsearchnotes.hashnode.dev