[jsword-devel] JSword new index ?

Tonny Kohar tonny.kohar at gmail.com
Thu May 14 23:57:26 MST 2009


Hi,

I just submitted the patch for this index version at the bug tracking: JS-98
http://crosswire.org/bugs/browse/JS-98

It is simple patch and try to keep backward compability

Basically it just
- create a new file on the index storage area with version info eg: 1.2
- and add new public API for querying that eg:
  * LuceneIndex.getVersion()
  * IndexManager.isNeedReindex()
by comparing that info with IndexMetadata.getInstalledVersion()

For existing index (assuming the info file is not there, it will
assume the index is 1.2 aka hardcoded)

Cheers
Tonny Kohar
--
Alkitab Bible Study
imagine, design, create ...
http://www.kiyut.com



More information about the jsword-devel mailing list