<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">With the underlying lucene mechanism you can set the connector to OR or to AND. I believe that OR is the default. With ranked search this works well.<div class=""><br class=""></div><div class="">In Him,</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>DM<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On May 4, 2020, at 4:15 PM, Tobias Klein <<a href="mailto:contact@tklein.info" class="">contact@tklein.info</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="content-type" content="text/html; charset=UTF-8" class="">
<div class=""><p class="">Hi,</p><p class="">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 class="">For example when searching for the term "faith Jesus" in the NASB
module I get 86 results.</p><p class="">The first result that seems invalid is Matthew 9:28:</p><p class=""><sup class="">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 class="">This verse matches only part of the multi word term, namely
"Jesus".</p><p class="">Matthew 9:29 is also returned as a result and this verse
interestingly only matches the other part of the term ("faith"):</p><p class=""><sup class="">29</sup> Then He touched their eyes, saying, "
“It shall be done to you according to your faith.”"</p><p class="">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 class="">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" class="">https://github.com/tobias-klein/node-sword-interface/blob/master/src/sword_backend/module_search.cpp#L121</a></p><p class="">Best regards,<br class="">
Tobias<br class="">
</p>
</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>