<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Yes, indexes created can be copied to another device having AndBible.<div class=""><br class=""></div><div class="">You can contact the current developer of AndBible on how to automate the creation of the indexes using JSword. It will be faster.</div><div class=""><br class=""></div><div class="">AndBible has recently changed hands and the creation of AndBible’s Lucene indexes on the CrossWire server is out of date. We are updating modules at a crazy rate and as Troy said, we don’t support/encourage the downloading of indexes. So it is behind. And might be dropped altogether.</div><div class=""><br class=""></div><div class="">Part of the reason that indexes should be created locally is that they handle versioning so much better. If AndBible/JSword is updated with regard to index creation or the module is updated, then you’ll need to maintain an index for every combination. If AndBible or the module is updated it can invalidate the index forcing the creation of a new one.</div><div class=""><br class=""></div><div class="">In Him,</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>DM</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Feb 4, 2019, at 8:34 PM, Dudeck, John &lt;<a href="mailto:John.Dudeck@sim.org" class="">John.Dudeck@sim.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class="">


<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" class="">
<title class=""></title>
<meta http-equiv="Content-Style-Type" content="text/css" class="">

<div class="">
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class="">Ok a follow-up question:</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class=""><br class="">
</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class="">BTW for now I am really only interested as this relates to AndBible. We are creating a collection of about 50 modules for our first release for French-speaking African pastors. In the
 future we may make these modules available to customers in Europe, too.</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class=""><br class="">
</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class="">Last week I sat down and went into each Bible, Commentary,&nbsp; and Dictionary and created a search index on my phone. Whenever you tap the search icon, if there is no index, it says you
 either need to download or create one. On a larger resource such as a full-bible commentary it can take a couple minutes to create. Doing the entire collection was a rather tedious exercise. Downloading, if it exists, is a lot quicker, but the rest of the
 modules are our own and we don't have downloadable indexes for them. In any case our target clientele can not be expected to have good internet connectivity, so our objective is to side-load everything.</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class=""><br class="">
</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class="">I see that AndBible creates a lucene folder when you create indexes, and also a file named org.crosswire.jsword.index.lucene.InstalledIndex.properties. I'm wondering if it is sufficient
 to copy the contents of the lucene folders. Ie. when side-loading the modules, the indexes could be copied over at the same time. The goal would be to avoid the manual creation process.</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class=""><br class="">
</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class="">Of course with AndBible, one only needs to launch the index creation at the first use. So the users can be taught that whenever they see the dialog box about indexes, they should just
 hit Create and wait for it to finish. I think you are saying also that AndBible will automatically create them on demand in the next release. From your responses already, it looks to me like we should not even try to provide indexes, and let the front ends
 create them.</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class=""><br class="">
</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class="">I'm still wondering where the indexes came from that I downloaded on AndBible. The two Bibles that had them are FreCrampon and FreJND, which are in the Crosswire Raw repository. The
 module fraLSG1910eb did not have it. Is it possible that AndBible has a store of indexes somewhere for the known modules from Crosswire?</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class=""><br class="">
</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class="">Thanks for your help.</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class=""><br class="">
</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class="">John</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class=""><br class="">
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; I think AndBible has committed a change to make creation of search indexes be the new
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; mechanism.</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt;
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; DM</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt;
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; On Feb 4, 2019, at 7:10 PM, Troy A. Griffitts &lt;<a href="mailto:scribe@crosswire.org" class="">scribe@crosswire.org</a>&gt; wrote:</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt;
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; Ah, read more closely... You are asking about creating search indices for DOWNLOAD.</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; There is no good answer to this.&nbsp; We don't officially support downloadable search indicies.&nbsp;
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; Some frontends have chosen to support this on their own and they each have their own
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; methods of doing such.&nbsp; My preference would be for them to discontinue this practice and
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; create the search indices on demand on the user device, as all other frontend do.&nbsp; I
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; understand the reasoning behind having these available for download when creating the
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; search indices on older mobile devices 10 years ago wasn't the speediest operation, but
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; now it likely will take less time than downloading on many mobile networks.</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; So, in summary, what I described previously (below) will create the search index for a
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; module.&nbsp; Where it's placed for some mobile apps to able to download varies and at least
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; one mobile app requires it to be in a subfolder on <a href="http://crosswire.org" class="">crosswire.org</a>-- not in your own download
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; repo.</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; Troy</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; On 2/4/19 5:01 PM, Troy A. Griffitts wrote:</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; Hi John,</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; SWORD support searching with or without a search index and has 3 methods for
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; maintaining any search index.&nbsp; The implementation depends on which index system
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; option is turned on at configuration time when building (default is clucene; ximian is
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; also supported).&nbsp; The calls are:</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt;
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; virtual signed char SWModule::createSearchFramework(</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; void (*percent) (char, void *) = &amp;nullPercent,</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; void *percentUserData = 0);</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; virtual void SWModule::deleteSearchFramework();</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; virtual bool SWModule::hasSearchFramework();</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt;
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt;
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; <a href="http://crosswire.org/svn/sword/trunk/include/swmodule.h" class="">http://crosswire.org/svn/sword/trunk/include/swmodule.h</a></span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; There is a simple command line utility which does nothing more than call
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; SWModule::createSearchFramework on a module which you might find bundled with
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; whatever binaries you are using.&nbsp; The tool is called: mkfastmod</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; <a href="http://crosswire.org/svn/sword/trunk/utilities/mkfastmod.cpp" class="">http://crosswire.org/svn/sword/trunk/utilities/mkfastmod.cpp</a></span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt;
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt;
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt;
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; On 2/4/19 4:32 PM, Dudeck, John wrote:</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; Sorry for what might be a frequently asked question, but I can't find it on the
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; Crosswire wiki:</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt;
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; I am working on creating our own in-house repository. How are we supposed to
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; create the search indexes for download?</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt;
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; AndBible has a button for downloading the index, which works on some
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; modules but not on others.</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt;
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; I've looked on the various ftp repositories, but don't see anything that looks like
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; search indexes.</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt;
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; Can anybody give me a pointer on this?</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt;
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; Thanks.</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt;
</span></font></div>
<div align="left" class=""><font face="Arial" color="#7f0000" size="2" class=""><span style=" font-size:10pt" class="">&gt; John Dudeck</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class=""><br class="">
</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class="">John Dudeck</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class="">Programmer at Editions Cle&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Lyon, France</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class=""><a href="mailto:john.dudeck@sim.org" class="">john.dudeck@sim.org</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:john@editionscle.com" class="">john@editionscle.com</a></span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class="">--</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class="">"Everything hinges on your view of Scripture. Either Scripture will be the</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class="">&nbsp;lens through which you view the world or the world (science, politics,</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class="">&nbsp;worldview, etc) will be the lens through which you view Scripture.</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class="">&nbsp;Ultimately one or the other will be your authority." -- Rachel Miller</span></font></div>
<div align="left" class="">&nbsp;&nbsp;</div>
</div>

_______________________________________________<br class="">sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" class="">sword-devel@crosswire.org</a><br class=""><a href="http://www.crosswire.org/mailman/listinfo/sword-devel" class="">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br class="">Instructions to unsubscribe/change your settings at above page</div></blockquote></div><br class=""></div></body></html>