BUG (?): Search results count

Donnie Hale
Donnie Hale Member Posts: 2,036
edited November 21 in English Forum

I think everything you need to know about the search is in this screenshot:

AFAICT, that's 13 results, not 39. It seems to be counting the match once for each hit it corresponds to in the "OR" part of the search criteria. Note that if I disable the "match all forms" option, it shows 26 results - the same 13 words in the same 10 verses.

If this is expected behavior, it's super confusing. In that case, is there some way to have the count reflect distinct matches?

Note that I'm running Logos 31.0.19 on Windows 11 Pro.

Thanks.

Tagged:

Comments

  • MJ. Smith
    MJ. Smith Member, MVP Posts: 53,071 ✭✭✭✭✭

    The 39/26 count difference is because you have entered two terms that would be picked up by either one + match all forms. Asking for the same thing two different ways will always (?) increase the number of match results. AFAIR the count the results have always been the number of times the criteria are met not the number of unique selections.

    If this is expected behavior, it's super confusing. In that case, is there some way to have the count reflect distinct matches?
    What it is giving you is the number of distinct matches not the number of distinct selections which it appears you are expecting.

    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."

  • Graham Criddle
    Graham Criddle Member, MVP Posts: 32,439 ✭✭✭

    In that case, is there some way to have the count reflect distinct matches?

    You can treat the search string as a term

    This is described in the Logos helpfile

  • Donnie Hale
    Donnie Hale Member Posts: 2,036

    You can treat the search string as a term

    That's super helpful. Thank you.

  • Donnie Hale
    Donnie Hale Member Posts: 2,036

    What it is giving you is the number of distinct matches not the number of distinct selections which it appears you are expecting.

    I know I'm importing my experience and mental model of SQL / SQL-like queries. If I ask some set of rows or data in rows where some criteria matches x OR y OR z, I'm not going to get 3 copies of the matching rows / data.

    Graham's pointing out the "term" capability should do what I need.

    Thank you.

  • Dave Hooton
    Dave Hooton Member, MVP Posts: 35,672 ✭✭✭

    I know I'm importing my experience and mental model of SQL / SQL-like queries. If I ask some set of rows or data in rows where some criteria matches x OR y OR z, I'm not going to get 3 copies of the matching rows / data.

    I'd jolly well hope so, else back to the drawing board!

    x, y, z in a Search is very different and OR traditionally totals all the matches of each term.

    Dave
    ===

    Windows 11 & Android 13