[jsword-devel] IndexVersion metadata clarification

DM Smith dmsmith at crosswire.org
Wed Apr 23 11:02:01 MST 2014


The target indexVersion should be held in a property file or in a class file that can be replaced. That way different apps can be at different version levels. So if AndBible uses an older version of Lucene index it can be specified there.


On Apr 23, 2014, at 1:04 PM, Martin Denham <mjdenham at gmail.com> wrote:

> Hi Sijo,
> 
> I am trying to create an appropriate downloadIndex method and so am looking for the right indexVersion number to add to an index download url a bit like:
>    {indexDownloadUrl}/{indexVersion}/{moduleIndex}
> e.g.
>    www.crosswire.org/and-bible/jsword/search/1.1/esv-1.0.1.zip
> 
> so for And Bible it may well be e.g. 1.1 but STEP 1.2 but I don't know where the appropriate target index version will be stored.  It looked like it might be IndexMetaData.getInstalledIndexVersion().
> 
> Or maybe I need to wait a bit until you have done some more work on the index framework.
> 
> Martin
> 
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20140423/44a057dc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4145 bytes
Desc: not available
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20140423/44a057dc/attachment.p7s>


More information about the jsword-devel mailing list