Inverted Index is concept used to do a reverse search.
- Allow upload of json files of the format below
[
{
"title": "This is a sample title",
"text": "And this is a sample text"
}
]
- Indexing of uploaded files
- Searching of each indexed files and all indexed files
The application can be accessed on heroku via https://dplex-staging.herokuapp.com. It can also be used locally by following the steps below
-
Clone the repository
git clone https://github.com/andela-aonifade/invertedindex.git
-
Move into the repository directory
cd invertedindex
-
Run
npm install
to install all the dependencies. The application is build on Nodejsnpm install
- gulp
- coveralls (test coverage reporting)
- karma (test)
- eslint (code style)
- jasmine-core
-
Start the application by executing the command below
npm start
orgulp
-
To run tests, you can run the command below
npm test
orgulp lint
- The application can not be distinguished between plural and singular words. It also does not distinguish between the past tense form of a verb. It does not identify synonyms and sees numbers as string