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 be3 min read·searchnotes.hashnode.devJun 27
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 thr3 min read·searchnotes.hashnode.devJun 27
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 were1 min read·searchnotes.hashnode.devJun 27