Java library
There are two jars for the library:
-
elasticlunr.jar
: jar file containing the full-text search library
-
json.jar
: jar file containing the JSON support library
Javascript library
The associated
elasticlunr Javascript library (version 0.9.5) is provided in the
js
folder. The current Java library is fully compatible with this version of the library, which means that you can save the index as JSON in Java and load the same index in Javascript.
However, if you are saving the index as compressed, you will not be able to use the serialized index with the regular elasticlunr Javascript library. However if you only use the library in Java you will have no problem.
A modified version of the Javascript library, compatible with this compressed format (but also the regular uncompressed format) is provided in this project, under the
js/compressed
folder. The associated elasticlunr fork is available at
hervegirod/elasticlunr.js.
Dependencies
All the code used by this library is maintained in this project. However, some source code has been copied in this source tree: