Skip to content

a0346f102085fe9f/LunrCompatibleIndexer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LunrCompatibleIndexer

The JavaScript-based indexer lunr.js comes with is painfully slow and is unfit for large datasets. This is a native reimplementation that is mostly compatible.

It will use every .txt file in the working directory. It will not traverse subdirectories. It will write the results into index_v1.1.json file.

I highly recommend using a ramdisk as a working directory. Use the awesome ImDisk software if you are on Windows, or /dev/shm if you are on Linux.

The index produced does not use the save/load functionality integrated into lunr.js -- you don't need to modify lunr.js in any way but you still need quite a bit of custom external code: custom init, custom stemmer and more...

About

Fast external indexer for lunr.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published