An api that implements an efficient search functionality using inverted index. Rather than map a document object to an array of the terms it contains, inverted index maps a term to an array of the documents that contains it. In other words the inverted index contains the frequencies of each words in each document.
git clone https://github.com/tsvetinaSpasova/xedni.git
cd xedni
make go-run
cd examples
./index.sh
cd examples
./search.sh
make go-test
make go-bench
- Inverted index is to allow fast full text searches, at a cost of increased processing when a document is added to the database.
- A first take at building an inverted index
- 18 3 The Inverted Index Stanford NLP Professor Dan Jurafsky & Chris Manning YouTube
- 18 4 Query Processing with the Inverted Index Stanford NLP Dan Jurafsky & Chris Manning YouTub
Special thanks