<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>I have the impression that the SWORD multi word search is
returning some results that actually do not seem to match the
search term.</p>
<p>For example when searching for the term "faith Jesus" in the NASB
module I get 86 results.</p>
<p>The first result that seems invalid is Matthew 9:28:</p>
<p><sup>28</sup> When He entered the house, the blind men came
up to Him, and Jesus said to them, " “Do you believe that I am
able to do this?”" They said to Him, “Yes, Lord.”</p>
<p>This verse matches only part of the multi word term, namely
"Jesus".</p>
<p>Matthew 9:29 is also returned as a result and this verse
interestingly only matches the other part of the term ("faith"):</p>
<p><sup>29</sup> Then He touched their eyes, saying, "
“It shall be done to you according to your faith.”"</p>
<p>What is happening here? My assumption would be that only verses
containing both parts of the multi word term should be returned if
the searchType is multiWord (-2). Is this a bug?</p>
<p>The code can be found here: <a
href="https://github.com/tobias-klein/node-sword-interface/blob/master/src/sword_backend/module_search.cpp#L121">https://github.com/tobias-klein/node-sword-interface/blob/master/src/sword_backend/module_search.cpp#L121</a></p>
<p>Best regards,<br>
Tobias<br>
</p>
</body>
</html>