[sword-devel] Lucene search index and Coptic ?

Greg Hellings greg.hellings at gmail.com
Fri Apr 28 09:32:32 MST 2017


$ diatheke -b SahidicBible -s lucene -k ⲉⲩϩⲩⲡⲟⲙⲟⲛⲏ
<snip>
12460 matches total (SahidicBible)
$ diatheke -b SahidicBible -s regex -k ⲉⲩϩⲩⲡⲟⲙⲟⲛⲏ
Verses containing "ⲉⲩϩⲩⲡⲟⲙⲟⲛⲏ"-- Romans 5:3 ; James 1:3 -- 2 matches total
(SahidicBible)

--Greg

On Fri, Apr 28, 2017 at 9:55 AM, David Haslam <dfhmch at googlemail.com> wrote:

> Thanks Troy,
>
> When you wrote, "They typically search with regex".
>
> Please can you explain exactly how I could do this in a Windows CMD file
> (or
> command line) in order to find (e.g.) the two verses containing the word
> ⲉⲩϩⲩⲡⲟⲙⲟⲛⲏ
>
> What exactly does *diatheke -s regex* expect for Unicode character codes?
>
> cf.  Using PCRE escape codes doesn't work!
>
> \x{2C89}\x{2CA9}\x{03E9}\x{2CA9}\x{2CA1}\x{2C9F}\x{2C99}\
> x{2C9F}\x{2C9B}\x{2C8F}
>
> Best regards,
>
> David
>
>
>
> --
> View this message in context: http://sword-dev.350566.n4.
> nabble.com/Lucene-search-index-and-Coptic-tp4657103p4657121.html
> Sent from the SWORD Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20170428/f63850aa/attachment.html>


More information about the sword-devel mailing list