Home
Categories
Dictionary
Download
Project Details
Changes Log
FAQ
License

Index


The Index class manages a search index. It contains the indexes and stores all the tokens and document lookups. It also provides the main user facing API for the library.

There are two formats for the index:
  • The original uncompressed format, used by the Javascript elasticlunr project
  • A compressed formatcompressed format, allowing ro reduce the size of the index by a factor 3

Note that the original uncompressed format is compatible with elasticlunr, but the compressed format is only compatible with the enableCompressedFormat branch.

Index creation

Main Article: Index creation

To create a new Index:

See also


Categories: Creation

Copyright 2017 Wei Song. Copyright 2018 Herve Girod. All Rights Reserved. Documentation and source under the MIT licence

Project Web Hosted by SourceForge.net Copyright 1999-2010 - Geeknet, Inc., All Rights Reserved About - Legal - Help