Inverted Index - https://aolaniran-inverted-index.herokuapp.com/
An inverted index (also referred to as postings file or inverted file) is an index data structure storing a mapping from content, such as words or numbers, to its locations in a database file, or in a document or a set of documents (named in contrast to a Forward Index, which maps from documents to content). The purpose of an inverted index is to allow fast full text searches, at a cost of increased processing when a document is added to the database.
- Open your browser and visit the homepage
- Upload valid json book files
- Select an uploaded book file from the selector and click create index
- The index for the file is shown in tabular format with a search input field and search files selector
- Search for a text or sequence of text in a selected file or all files (from the selector)
- Click the search button and wait for the search results to be displayed
- Full text search
- Create index for multiple files
- Search through all created indexes or specific index (Multiple Search)
- Index for each file is created only once and stored in memory
inverted-index is implemented using a number of technologies:
- AngularJS - HTML enhanced for web apps!
- Twitter Bootstrap - great UI boilerplate for modern web apps
- node.js - evented I/O for the backend
- Gulp - the streaming build system
- karma - to automate testing
- jasmine - for writing the tests
- It doesn't save a search session
- Files must have a specific structure for index to be created
MIT