First import from https://code.google.com/p/inverted-index/