<div style="font-family: Arial, sans-serif; font-size: 14px;"><p>Hi Tobias,<br><br><i>Returning to the start of this thread...</i></p><p>Using <b>Advanced Search</b> in <b>Xiphos</b>, it found these <b>11</b> locations for the <b>exact phrase</b> "generation to generation"</p><p></p><blockquote style="border-left: 3px solid rgb(200, 200, 200); border-top-color: rgb(200, 200, 200); border-right-color: rgb(200, 200, 200); border-bottom-color: rgb(200, 200, 200); padding-left: 10px; color: rgb(102, 102, 102);"><b>Exo 17:16</b></blockquote><blockquote style="border-left: 3px solid rgb(200, 200, 200); border-top-color: rgb(200, 200, 200); border-right-color: rgb(200, 200, 200); border-bottom-color: rgb(200, 200, 200); padding-left: 10px; color: rgb(102, 102, 102);"><div>
<span style="display: inline !important; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Isa 13:20</span></div><div><span style="color: rgb(0, 0, 0);">Isa 34:10</span></div><div><span style="color: rgb(0, 0, 0);">Isa 34:17</span></div><span style="display: inline !important; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Isa 51:8</span><br style="scrollbar-width: thin; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><div><span style="display: inline !important; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Jer 50:39</span></div><div><span style="color: rgb(0, 0, 0);"><b>Lam 5:19</b></span></div><div><span style="display: inline !important; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Dan 4:3</span></div><div><span style="display: inline !important; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Dan 4:34</span></div><div><span style="color: rgb(0, 0, 0);">Joel 3:20</span></div><span style="display: inline !important; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Luke 1:50</span><br></blockquote>
<p></p><div style="margin-top: 14px; margin-bottom: 14px;">The one your Ezra user's search missed completely looks like this:</div><blockquote style="border-left: 3px solid rgb(200, 200, 200); border-top-color: rgb(200, 200, 200); border-right-color: rgb(200, 200, 200); border-bottom-color: rgb(200, 200, 200); padding-left: 10px; color: rgb(102, 102, 102);"><div style="margin-top: 14px; margin-bottom: 14px;">$$$<b>Lamentations 5:19</b><div><w lemma="strong:H03068">Thou, O <divineName>Lord</divineName></w>, <w lemma="strong:H03427" morph="strongMorph:TH8799">remainest</w> <w lemma="strong:H05769">for ever</w>; <w lemma="strong:H03678">thy throne</w> <w lemma="strong:H01755">from <b>generation</b></w> <w lemma="strong:H01755"><b>to generation</b></w>.</div><br></div></blockquote><div class="protonmail_signature_block" style="font-family: Arial, sans-serif; font-size: 14px;">
<div class="protonmail_signature_block-user">
Best regards,<br><br>David
</div>
<div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div>
<div class="protonmail_signature_block-proton">
Sent with <a target="_blank" href="https://proton.me/mail/home">Proton Mail</a> secure email.
</div>
</div>
<br>
<br>
On Saturday, February 22nd, 2025 at 2:45 PM, Tobias Klein <a href="mailto:contact@tklein.info">contact@tklein.info</a> wrote:<p></p>
<p></p>
<blockquote>
<p>Hi Troy,</p>
<p>an Ezra Bible App user reported that the phrase search is not working as<br>
expected.</p>
<p>Here is an example where the results are not as expected.</p>
<p>Module: KJV</p>
<p>Search term: "generation to generation"</p>
<p>I get the following results from the SWORD engine:<br>
Isa 13:20<br>
Isa 34:10<br>
Isa 34:17<br>
Isa 51:8<br>
Jer 50:39<br>
Dan 4:3<br>
Dan 4:34<br>
Joel 3:20<br>
Luke 1:50</p>
<p>However, the verse Exodus 17:16 also contains this phrase, but is not in<br>
the list of search results.<br>
Could it be related to the way how the markup is structured?</p>
<p>In Exodus 17:16 [KJV], the markup of the respective phrase looks like this:</p>
<p><w class="strong:H01755">from generation</w> <w class="strong:H01755">to</p>
<p>generation</w></p>
<p>This is how I call the search function of the SWORD engine:<br>
listKey = module->search(searchTerm.c_str(), int(searchType), flags,</p>
<p>scope, 0, internalModuleSearchProgressCB);<br>
see<br>
<a href="https://github.com/ezra-bible-app/node-sword-interface/blob/master/src/sword_backend/module_search.cpp#L178">https://github.com/ezra-bible-app/node-sword-interface/blob/master/src/sword_backend/module_search.cpp#L178</a></p>
<p>Have a nice weekend!</p>
<p>Best regards,<br>
Tobias</p>
<p>_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br>
<a href="http://crosswire.org/mailman/listinfo/sword-devel">http://crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page</p>
</blockquote></div>