I’m using PocketSword.
The NASB module has no downloadable search index so I can’t do a direct
comparison.
I therefore used the same two words to search the NETfree module with scope
limited to Matthew.
It found only 7 verses containing both words. The nearest is 9:22
I can send a screenshot off list to anyone interested.
David
Sent from ProtonMail Mobile
On Mon, May 4, 2020 at 22:10, Troy A. Griffitts <scr...@crosswire.org> wrote:
> Hi Tobias,
>
> This should be documented a bit better, but I believe we have a configurable
> verse window which is searched, which I believe defaults to 2 verses. The
> thinking behind this is that occasionally, verse divisions artificially
> separate a common clause-- often breaking up a single sentence into multiple
> segments.
>
> I'd have to look to remember the details, but have a look in SWModule::search
> if you'd like the detail. I will add it to my todo list to improve the docs
> in swmodule.h
>
> Troy
>
> On 5/4/20 1:15 PM, Tobias Klein wrote:
>
>> Hi,
>>
>> I have the impression that the SWORD multi word search is returning some
>> results that actually do not seem to match the search term.
>>
>> For example when searching for the term "faith Jesus" in the NASB module I
>> get 86 results.
>>
>> The first result that seems invalid is Matthew 9:28:
>>
>> 28 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.”
>>
>> This verse matches only part of the multi word term, namely "Jesus".
>>
>> Matthew 9:29 is also returned as a result and this verse interestingly only
>> matches the other part of the term ("faith"):
>>
>> 29 Then He touched their eyes, saying, " “It shall be done to you according
>> to your faith.”"
>>
>> 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?
>>
>> The code can be found here:
>> https://github.com/tobias-klein/node-sword-interface/blob/master/src/sword_backend/module_search.cpp#L121
>>
>> Best regards,
>> Tobias
>>
>> _______________________________________________
>> sword-devel mailing list:
>> sword-devel@crosswire.org
>>
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page