<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>
<div dir="auto">
<div dir="auto">Hi David,</div><div dir="auto"><br></div><div dir="auto">yes, I noticed the result in Lamentations, too.</div><div dir="auto">And after fixing the bug related to the divineName tag, both Exo 17:16 and Lam 5:19 are part of the search results.</div><div dir="auto"><br></div><div dir="auto">See also <a href="https://github.com/ezra-bible-app/ezra-bible-app/issues/1210">https://github.com/ezra-bible-app/ezra-bible-app/issues/1210</a></div><div dir="auto"><br></div><div dir="auto">Best regards, </div><div dir="auto">Tobias</div><div dir="auto"><br></div>
<div id="aqm-original" style="color: black;">
<!-- body start -->
<div class="aqm-original-body">
<div style="color: black;">
<p style="color: black; font-size: 10pt; font-family: sans-serif; margin: 8pt 0;">Am 1. März 2025 11:09:14 schrieb David Haslam <dfhdfh@protonmail.com>:</p>
<blockquote type="cite" class="gmail_quote" style="margin: 0 0 0 0.75ex; border-left: 1px solid #808080; padding-left: 0.75ex;">
<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><div>_______________________________________________</div>
<div>sword-devel mailing list: <a class="aqm-autolink aqm-autowrap" href="mailto:sword-devel%40crosswire.org">sword-devel@crosswire.org</a></div>
<div><a class="aqm-autolink aqm-autowrap" href="http://crosswire.org/mailman/listinfo/sword-devel">http://crosswire.org/mailman/listinfo/sword-devel</a></div>
<div>Instructions to unsubscribe/change your settings at above page</div>
<div><br></div>
</blockquote>
</div>
</div>
<!-- body end -->

</div><div dir="auto"><br></div>
</div></body>
</html>