[sword-devel] Front-ends in which search can find words in the canonical Psalm headings?

Troy A. Griffitts scribe at crosswire.org
Wed Apr 4 10:11:43 MST 2018


I don't believe the SWORD clucene indexes include the headings but a call to SWModule::search with any search type other than clucene should find them if headings are turned on. Headings are also directly referencible in entryAttributes and so you can use an extra attributes search path to only find a term in the headings if you'd like. I can't remember the exact path from my phone right now, but have a look at our search example here:

http://crosswire.org/svn/sword/trunk/examples/cmdline/search.cpp

And the lookup example tool which dumps all the entry attributes for a key, to determine the path for a header search, here:

http://crosswire.org/svn/sword/trunk/examples/cmdline/lookup.cpp



On April 4, 2018 6:17:39 AM MST, Greg Hellings <greg.hellings at gmail.com> wrote:
>On Wed, Apr 4, 2018 at 7:56 AM, David Haslam <dfhdfh at protonmail.com>
>wrote:
>
>> I suppose STEP Bible was going to be one most likely to succeed,
>seeing as
>> it's whole UI is based on a search field.
>>
>> STEP is based on JSword.
>>
>> Do any other JSword based apps support search within [Psalm]
>headings?
>>
>> e.g. And Bible, Bible Desktop ?
>>
>
>Go try them.
>
>
>>
>> Among SWORD based apps, neither Xiphos nor PocketSword has the
>feature in
>> its UI.
>>
>> But even with -o h in the CL, Diatheke fails to find Neginoth, so I'm
>> thinking maybe the SWORD API itself is lacking this capability.
>>
>
>Most likely.
>
>
>>
>> Either correct me if I'm wrong, or outline what steps it would
>require to
>> add the capability to SWORD.
>>
>
>BibleTime finds it, but not in Psalms. It returns a result from
>Habakkuk
>3:19, where the word "Neginoth" appears in a footnote.
>
>--Greg
>
>
>>
>> Best regards,
>>
>> Davi
>>
>> Sent from ProtonMail Mobile
>>
>>
>> On Wed, Apr 4, 2018 at 12:58, Matěj Cepl <mcepl at cepl.eu> wrote:
>>
>> On 2018-04-04, 10:57 GMT, David Haslam wrote: > Do any front-ends
>support
>> this? > > e.g. Search the KJV for Neginoth.
>https://www.stepbible.org/?q=
>> version=KJV|xnave=neginoth&options=HNVUG Blessings, Matěj --
>> https://matej.ceplovi.cz/blog/, Jabber: mcepl at ceplovi.cz GPG Finger:
>3C76
>> A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 Courage is resistance of
>fear,
>> mastery of fear, not absence of fear.
>_______________________________________________
>> sword-devel mailing list: sword-devel at 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 at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>>

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20180404/34614137/attachment-0001.html>


More information about the sword-devel mailing list