BUG: Incorrect search results

Jack Caviness
Jack Caviness MVP Posts: 13,532
edited November 2024 in English Forum

Logos 9.8 Mac OS 11.6

Launched search from KJV 1900 for the lemma of follow after (διώκω) and obtained 44 results in 43 verses, which is the correct response.

Altered the search string to "<Lemma = lbs/el/διώκω> WITHIN 0 WORDS persecute" and obtained 44 results in 21 verses, which is incorrect. Results should have been 22 results in 21 verses. The erroneous number of results lists the total number of times διώκω appears in the GNT, not the number of times it is translated by some form of persecute.

Changed the search string to "<Lemma = lbs/el/διώκω> WITHIN 0 WORDS follow" and obtained 20 results in 10 verses, which is double the number of actual results. If the intention had been to reveal the number of actual words used by the KJV to translate διώκω, the results should have been 14 results in 10 verses.

This indicates that the resultant count in Logos searches are unreliable.

Tagged:

Comments

  • MJ. Smith
    MJ. Smith MVP Posts: 53,788

    But INTERSECT appears to generate the correct count

    Err 1

    I believe what you are seeing is the counting of the two terms separately vs. together. This is confusing but I think it is how Logos has worked for many years. The counts reflect the search process not the final results.

    Orthodox Bishop Alfeyev: "To be a theologian means to have experience of a personal encounter with God through prayer and worship."; Orthodox proverb: "We know where the Church is, we do not know where it is not."

  • Jack Caviness
    Jack Caviness MVP Posts: 13,532

    MJ. Smith said:

    The counts reflect the search process not the final results.

    Thanks for the reminder. Guess the 44 results on both searches threw me off [:$]

    MJ. Smith said:

    But INTERSECT appears to generate the correct count

    Memo to Jack: Remember to use INTERSECT. Thanks for the correction.

  • MJ. Smith
    MJ. Smith MVP Posts: 53,788

    You have no idea how many hours I have spent trying to reconcile search counts to verify the consistency of results.

    Orthodox Bishop Alfeyev: "To be a theologian means to have experience of a personal encounter with God through prayer and worship."; Orthodox proverb: "We know where the Church is, we do not know where it is not."

  • Andrew Batishko
    Andrew Batishko Member, Administrator, Community Manager, Logos Employee Posts: 5,409

    MJ. Smith said:

    I believe what you are seeing is the counting of the two terms separately vs. together.

    MJ is correct. The count reflects the number of search terms found. As an example, if you searched for Peter James the count would reflect the total number of times each showed up. The WITHIN operator treats the left and right sides as separate terms, and counts them as such. The INTERSECT operator treats the result as a single term.

    This is similar to the difference between the comma operator and the OR operator. The comma operator treats all the items in the list as a single term (and all the hits share the same highlighting color in the results), while the OR operator treats the left and right side as separate terms (with different color highlighting).

    Andrew Batishko | Logos software developer