<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">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.<div><br></div><div><br><div><div>On Apr 23, 2014, at 1:04 PM, Martin Denham &lt;<a href="mailto:mjdenham@gmail.com">mjdenham@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div>Hi Sijo,<br></div><div><br></div><div>I am trying to create an appropriate downloadIndex method and so am looking for the right <b>indexVersion</b> number to add to an index download url a bit like:</div>
<div>&nbsp; &nbsp;{indexDownloadUrl}/{indexVersion}/{moduleIndex}</div><div>e.g.</div><div>&nbsp; &nbsp;<a href="http://www.crosswire.org/and-bible/jsword/search/1.1/esv-1.0.1.zip">www.crosswire.org/and-bible/jsword/search/1.1/esv-1.0.1.zip</a><br>
</div><div class="gmail_extra"><br></div><div class="gmail_extra">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. &nbsp;It looked like it might be IndexMetaData.<span style="font-family:arial,sans-serif;font-size:13px">getInstalledIndexVersion().</span></div>
<div class="gmail_extra"><font face="arial, sans-serif"><br></font></div><div class="gmail_extra"><font face="arial, sans-serif">Or maybe I need to wait a bit until you have done some more work on the index framework.</font></div>
<div class="gmail_extra"><font face="arial, sans-serif"><br></font></div><div class="gmail_extra"><font face="arial, sans-serif">Martin<br></font><br></div></div>
_______________________________________________<br>jsword-devel mailing list<br><a href="mailto:jsword-devel@crosswire.org">jsword-devel@crosswire.org</a><br>http://www.crosswire.org/mailman/listinfo/jsword-devel<br></blockquote></div><br></div></body></html>