Uploaded image for project: 'SWORD'
  1. SWORD
  2. API-203

Lucene index searching doesn't work for Coptic Bible modules

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.7.4
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None
    • Environment:

      Observed with PocketSword, with Xiphos and with Diatheke.

       

      Description

      Searching a Coptic Bible module using the Lucene index method gives meaningless results.

      Example: For the module SahidicBible.

      Search for the word "ⲉⲩϩⲩⲡⲟⲙⲟⲛⲏ"

      This actually occurs in only two verses: Romans 5:3 and James 1:3

      The Lucene method lists 12460 results in Xiphos, and slightly fewer with PocketSword.

      These results are plainly incorrect.

      On a Linux system, the issue was confirmed by Greg using diatheke.
      $ 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)

      NB. This is not a font issue!

        Attachments

          Activity

            People

            • Assignee:
              scribe Troy A Griffitts
              Reporter:
              dfh David Haslam
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: