waldo-imii

In-memory inverted-index

An in-memory inverted index for experimenting with information retrieval techniques.

Install:

$ npm install waldo-imii

Create:

var imii = require('waldo-imii');
var myIndex = imii();

Keys:

  • compareDocument: function that compares 2 documents and returns -VE/0/+VE values.

Use this method when you're unable to present documents to the index in sorted order. Much slower.

Use this method when you're unable to present documents to the index in sorted order. Much slower.