<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Ah, read more closely... You are asking about creating search
indices for DOWNLOAD.</p>
<p>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>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 crosswire.org-- not in your
own download repo.</p>
<p>Troy<br>
</p>
<div class="moz-cite-prefix">On 2/4/19 5:01 PM, Troy A. Griffitts
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:cbe3af09-4371-c441-873d-9a7711c067dd@crosswire.org">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<p>Hi John,</p>
<p>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="color: rgb(0, 0, 0); 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; text-decoration-style: initial; text-decoration-color: initial; overflow-wrap: break-word; white-space: pre-wrap;">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>
<p>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><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><br>
</p>
<p><br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 2/4/19 4:32 PM, Dudeck, John
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:5C58CB93.2172.8A40D3E7@john.dudeck.sim.org">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title></title>
<meta http-equiv="Content-Style-Type" content="text/css">
<div align="left"><font size="2" face="Arial"><span style="
font-size:10pt">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"><font size="2" face="Arial"><span style="
font-size:10pt"><br>
</span></font></div>
<div align="left"><font size="2" face="Arial"><span style="
font-size:10pt">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"><font size="2" face="Arial"><span style="
font-size:10pt"><br>
</span></font></div>
<div align="left"><font size="2" face="Arial"><span style="
font-size:10pt">AndBible has a button for downloading the
index, which works on some modules but not on others.</span></font></div>
<div align="left"><font size="2" face="Arial"><span style="
font-size:10pt"><br>
</span></font></div>
<div align="left"><font size="2" face="Arial"><span style="
font-size:10pt">I've looked on the various ftp
repositories, but don't see anything that looks like
search indexes.</span></font></div>
<div align="left"><font size="2" face="Arial"><span style="
font-size:10pt"><br>
</span></font></div>
<div align="left"><font size="2" face="Arial"><span style="
font-size:10pt">Can anybody give me a pointer on this?</span></font></div>
<div align="left"><font size="2" face="Arial"><span style="
font-size:10pt"><br>
</span></font></div>
<div align="left"><font size="2" face="Arial"><span style="
font-size:10pt">Thanks.</span></font></div>
<div align="left"><font size="2" face="Arial"><span style="
font-size:10pt"><br>
</span></font></div>
<div align="left"><font size="2" face="Arial"><span style="
font-size:10pt">John Dudeck</span></font></div>
<div align="left"><font size="2" face="Arial"><span style="
font-size:10pt">Programmer at Editions
Cle Lyon, France</span></font></div>
<div align="left"><font size="2" face="Arial"><span style="
font-size:10pt"><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"><font size="2" face="Arial"><span style="
font-size:10pt">--</span></font></div>
<div align="left"><font size="2" face="Arial"><span style="
font-size:10pt">"Most people know more about how the
Vatican works than</span></font></div>
<div align="left"><font size="2" face="Arial"><span style="
font-size:10pt"> what programmers do." -- Alan Cooper</span></font></div>
<div align="left"> </div>
<br>
<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>
<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>
</body>
</html>