Re: Sword phrase search not returning all expected results

Greg Hellings <[email protected]>
Newsgroups gmane.comp.literature.sword.devel
Message-ID <CAHxvOVJa7bCKWzmh+6dwU8LXW7KqzVXKcJ-o_65ThW62Qr7h1A@mail.gmail.com>
David,

You can test our latest Windows build by trying the installers at the
bottom of this build page:
https://github.com/crosswire/xiphos/actions/runs/13466454509

They are built with an unpatched Sword 1.9.0 release whereas the older
Windows build you are probably using has a patched 1.8 series. That should
allow you to help diagnose if the Sword version might impact it (and get an
extra set of eyes on the pre-release Windows Xiphos build).

--Greg

On Sat, Feb 22, 2025, 9:34 AM David Haslam <dfhdfh-g/[email protected]> wrote:

> Hi Tobias,
>
> Karl is working towards a new release of *Xiphos* (March 2025 ?) that
> will support SWORD 1.9.0
>
> See in GitHub - crosswire/xiphos: Xiphos is a Bible study tool written
> for Linux, UNIX, and Windows using GTK, offering a rich and featureful
> environment for reading, study, and research using modules from The SWORD
> Project and elsewhere. <https://github.com/crosswire/xiphos>
>
> Best regards,
>
> David
>
> Sent with Proton Mail <https://proton.me/mail/home> secure email.
>
> On Saturday, February 22nd, 2025 at 2:58 PM, Tobias Klein <
> [email protected]> wrote:
>
> Hi David,
>
> Yes, that's right.
>
> Maybe Xiphos uses a different revision of the SWORD engine?
>
> I am using something close to 1.9.0 (SVN Rev. 3823).
>
> Best regards,
> Tobias
>
>
> Am 22. Februar 2025 15:52:01 schrieb David Haslam <dfhdfh-g/[email protected]>:
>
>> Hi Tobias,
>>
>> A search for the same exact phrase in *Xiphos* returns all the
>> locations, including *Exodus 17:16*
>>
>> Best regards,
>>
>> David
>>
>> Sent with Proton Mail <https://proton.me/mail/home> secure email.
>>
>>
>> On Saturday, February 22nd, 2025 at 2:45 PM, Tobias Klein
>> [email protected] wrote:
>>
>> Hi Troy,
>>
>> an Ezra Bible App user reported that the phrase search is not working as
>> expected.
>>
>> Here is an example where the results are not as expected.
>>
>> Module: KJV
>>
>> Search term: "generation to generation"
>>
>> I get the following results from the SWORD engine:
>> Isa 13:20
>> Isa 34:10
>> Isa 34:17
>> Isa 51:8
>> Jer 50:39
>> Dan 4:3
>> Dan 4:34
>> Joel 3:20
>> Luke 1:50
>>
>> However, the verse Exodus 17:16 also contains this phrase, but is not in
>> the list of search results.
>> Could it be related to the way how the markup is structured?
>>
>> In Exodus 17:16 [KJV], the markup of the respective phrase looks like
>> this:
>>
>> <w class="strong:H01755">from generation</w> <w class="strong:H01755">to
>>
>> generation</w>
>>
>> This is how I call the search function of the SWORD engine:
>> listKey = module->search(searchTerm.c_str(), int(searchType), flags,
>>
>> scope, 0, internalModuleSearchProgressCB);
>> see
>>
>> https://github.com/ezra-bible-app/node-sword-interface/blob/master/src/sword_backend/module_search.cpp#L178
>>
>> Have a nice weekend!
>>
>> Best regards,
>> Tobias
>>
>> _______________________________________________
>> sword-devel mailing list: [email protected]
>> http://crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>>
>> _______________________________________________
>> sword-devel mailing list: [email protected]
>> http://crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>>
>>
>
> _______________________________________________
> sword-devel mailing list: [email protected]
> http://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>

_______________________________________________
sword-devel mailing list: [email protected]
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.