[jsword-devel] IndexVersion metadata clarification
Chris Burrell
chris at burrell.me.uk
Wed Apr 23 11:50:55 MST 2014
Presumably this would be dependant on AB/STEP/etc. providing its own set of
lucene libraries for the correct version? (assuming non-default)
Can I suggest we have a separate project called jsword-lucene-impl which
will keep the latest lucene indexing implementation as a separate
dependency. That way it's easy to exclude from the classpath.
Chris
On 23 April 2014 19:02, DM Smith <dmsmith at crosswire.org> wrote:
> 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
>
>
>
> _______________________________________________
> 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/bad001ca/attachment.html>
More information about the jsword-devel
mailing list