Re: Sword phrase search not returning all expected results
Tobias Klein <[email protected]>
| Newsgroups | gmane.comp.literature.sword.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi David, yes, I noticed the result in Lamentations, too. And after fixing the bug related to the divineName tag, both Exo 17:16 and Lam 5:19 are part of the search results. See also https://github.com/ezra-bible-app/ezra-bible-app/issues/1210 Best regards, Tobias Am 1. März 2025 11:09:14 schrieb David Haslam <dfhdfh-g/[email protected]>: > Hi Tobias, > > Returning to the start of this thread... > > Using Advanced Search in Xiphos, it found these 11 locations for the exact > phrase "generation to generation" > > Exo 17:16 > Isa 13:20 > Isa 34:10 > Isa 34:17 > Isa 51:8 > > Jer 50:39 > Lam 5:19 > Dan 4:3 > Dan 4:34 > Joel 3:20 > Luke 1:50 > > > The one your Ezra user's search missed completely looks like this: > $$$Lamentations 5:19 > <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 generation</w> <w lemma="strong:H01755">to > generation</w>. > > > Best regards, > > David > > Sent with Proton Mail 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