<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I think AndBible has committed a change to make creation of search indexes be the new mechanism.<div class=""><br class=""></div><div class="">DM<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Feb 4, 2019, at 7:10 PM, Troy A. Griffitts <<a href="mailto:scribe@crosswire.org" class="">scribe@crosswire.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252" class="">
<div bgcolor="#FFFFFF" text="#000000" class=""><p class="">Ah, read more closely... You are asking about creating search
indices for DOWNLOAD.</p><p class="">There is no good answer to this. We don't officially support
downloadable search indicies. Some frontends have chosen to
support this on their own and they each have their own methods of
doing such. My preference would be for them to discontinue this
practice and create the search indices on demand on the user
device, as all other frontend do. I understand the reasoning
behind having these available for download when creating the
search indices on older mobile devices 10 years ago wasn't the
speediest operation, but now it likely will take less time than
downloading on many mobile networks.</p><p class="">So, in summary, what I described previously (below) will create
the search index for a module. Where it's placed for some mobile
apps to able to download varies and at least 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 repo.</p><p class="">Troy<br class="">
</p>
<div class="moz-cite-prefix">On 2/4/19 5:01 PM, Troy A. Griffitts
wrote:<br class="">
</div>
<blockquote type="cite" cite="mid:cbe3af09-4371-c441-873d-9a7711c067dd@crosswire.org" class="">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252" class=""><p class="">Hi John,</p><p class="">SWORD support searching with or without a search index and has
3 methods for maintaining any search index. The implementation
depends on which index system option is turned on at
configuration time when building (default is clucene; ximian is
also supported). The calls are:</p>
<pre style="font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; overflow-wrap: break-word; white-space: pre-wrap;" class="">virtual signed char SWModule::createSearchFramework(
                void (*percent) (char, void *) = &nullPercent,
                void *percentUserData = 0);
virtual void SWModule::deleteSearchFramework();
virtual bool SWModule::hasSearchFramework();
</pre>
<a class="moz-txt-link-freetext" href="http://crosswire.org/svn/sword/trunk/include/swmodule.h" moz-do-not-send="true">http://crosswire.org/svn/sword/trunk/include/swmodule.h</a><br class=""><p class="">There is a simple command line utility which does nothing more
than call SWModule::createSearchFramework on a module which you
might find bundled with whatever binaries you are using. The
tool is called: mkfastmod</p><p class=""><a class="moz-txt-link-freetext" href="http://crosswire.org/svn/sword/trunk/utilities/mkfastmod.cpp" moz-do-not-send="true">http://crosswire.org/svn/sword/trunk/utilities/mkfastmod.cpp</a></p><p class=""><br class="">
</p><p class=""><br class="">
</p><p class=""><br class="">
</p>
<div class="moz-cite-prefix">On 2/4/19 4:32 PM, Dudeck, John
wrote:<br class="">
</div>
<blockquote type="cite" cite="mid:5C58CB93.2172.8A40D3E7@john.dudeck.sim.org" class="">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252" class="">
<title class=""></title>
<meta http-equiv="Content-Style-Type" content="text/css" class="">
<div align="left" class=""><font size="2" face="Arial" class=""><span style="
font-size:10pt" class="">Sorry for what might be a frequently asked
question, but I can't find it on the Crosswire wiki:</span></font></div>
<div align="left" class=""><font size="2" face="Arial" class=""><span style="
font-size:10pt" class=""><br class="">
</span></font></div>
<div align="left" class=""><font size="2" face="Arial" class=""><span style="
font-size:10pt" class="">I am working on creating our own in-house
repository. How are we supposed to create the search
indexes for download?</span></font></div>
<div align="left" class=""><font size="2" face="Arial" class=""><span style="
font-size:10pt" class=""><br class="">
</span></font></div>
<div align="left" class=""><font size="2" face="Arial" class=""><span style="
font-size:10pt" class="">AndBible has a button for downloading the
index, which works on some modules but not on others.</span></font></div>
<div align="left" class=""><font size="2" face="Arial" class=""><span style="
font-size:10pt" class=""><br class="">
</span></font></div>
<div align="left" class=""><font size="2" face="Arial" class=""><span style="
font-size:10pt" class="">I've looked on the various ftp
repositories, but don't see anything that looks like
search indexes.</span></font></div>
<div align="left" class=""><font size="2" face="Arial" class=""><span style="
font-size:10pt" class=""><br class="">
</span></font></div>
<div align="left" class=""><font size="2" face="Arial" class=""><span style="
font-size:10pt" class="">Can anybody give me a pointer on this?</span></font></div>
<div align="left" class=""><font size="2" face="Arial" class=""><span style="
font-size:10pt" class=""><br class="">
</span></font></div>
<div align="left" class=""><font size="2" face="Arial" class=""><span style="
font-size:10pt" class="">Thanks.</span></font></div>
<div align="left" class=""><font size="2" face="Arial" class=""><span style="
font-size:10pt" class=""><br class="">
</span></font></div>
<div align="left" class=""><font size="2" face="Arial" class=""><span style="
font-size:10pt" class="">John Dudeck</span></font></div>
<div align="left" class=""><font size="2" face="Arial" class=""><span style="
font-size:10pt" class="">Programmer at Editions
Cle Lyon, France</span></font></div>
<div align="left" class=""><font size="2" face="Arial" class=""><span style="
font-size:10pt" class=""><a class="moz-txt-link-abbreviated" href="mailto:john.dudeck@sim.org" moz-do-not-send="true">john.dudeck@sim.org</a>
<a class="moz-txt-link-abbreviated" href="mailto:john@editionscle.com" moz-do-not-send="true">john@editionscle.com</a></span></font></div>
<div align="left" class=""><font size="2" face="Arial" class=""><span style="
font-size:10pt" class="">--</span></font></div>
<div align="left" class=""><font size="2" face="Arial" class=""><span style="
font-size:10pt" class="">"Most people know more about how the
Vatican works than</span></font></div>
<div align="left" class=""><font size="2" face="Arial" class=""><span style="
font-size:10pt" class=""> what programmers do." -- Alan Cooper</span></font></div>
<div align="left" class=""> </div>
<br class="">
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
sword-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org" moz-do-not-send="true">sword-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/sword-devel" moz-do-not-send="true">http://www.crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page</pre>
</blockquote>
<br class="">
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
sword-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page</pre>
</blockquote>
</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>