BUG or User Error?

I built a collection with the syntax: type:lexicon OR encyclopedia OR lexicon OR dictionary. Why are the exegetical summaries series showing up?

macOS, iOS & iPadOS |Logs| Install
Choose Truth Over Tribe | Become a Joyful Outsider!

Comments

  • MJ. Smith
    MJ. Smith MVP Posts: 55,549

    Is type:(lexicon, encyclopedia, dictionary) better?

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

  • JT (alabama24)
    JT (alabama24) MVP Posts: 36,523

    MJ. Smith said:

    Is type:(lexicon, encyclopedia, dictionary) better?

    Yes, I think so. I tried to do that at first without the parenthesis… which obviously didn't work. I notice now that I had "lexicon" listed twice… It seems there was a fourth type I wanted to add and must have misread the list. 

    It does seem interesting that I get different results with the following:

    • type:lexicon OR encyclopedia OR dictionary [I get 110 results]

    VS

    • type:lexicon OR encyclopedia OR dictionary OR lexicon [I get 145 results with the mistaken addition of a second "lexicon"]

    VS

    • type:(lexicon, encyclopedia, dictionary) [I get 76 results]

    I would have thought that all three would have produced the same results. Certainly there was some user error… is there a bug as well?

    macOS, iOS & iPadOS |Logs| Install
    Choose Truth Over Tribe | Become a Joyful Outsider!

  • George Somsel
    George Somsel Member Posts: 10,150 ✭✭✭

    alabama24 said:

    I would have thought that all three would have produced the same results. Certainly there was some user error… is there a bug as well?

    Call Orkin.

    george
    gfsomsel

    יְמֵי־שְׁנוֹתֵינוּ בָהֶם שִׁבְעִים שָׁנָה וְאִם בִּגְבוּרֹת שְׁמוֹנִים שָׁנָה וְרָהְבָּם עָמָל וָאָוֶן

  • JT (alabama24)
    JT (alabama24) MVP Posts: 36,523

    Call Orkin.

    Just to clarify… I'm not talking about THESE bugs. [:D]

    macOS, iOS & iPadOS |Logs| Install
    Choose Truth Over Tribe | Become a Joyful Outsider!

  • alabama24 said:

    type:lexicon OR encyclopedia OR dictionary OR lexicon [I get 145 results with the mistaken addition of a second "lexicon"]

    The second "lexicon" searches for the word appearing in many library columns, including resource description:

    The "lexicon" library search includes a number of other resource types.

    Keep Smiling [:)]

  • George Somsel
    George Somsel Member Posts: 10,150 ✭✭✭

    alabama24 said:

    type:lexicon OR encyclopedia OR dictionary OR lexicon [I get 145 results with the mistaken addition of a second "lexicon"]

    The second "lexicon" searches for the word appearing in many library columns, including resource description:

    I think KS4J might be correct.  I suspect that the type only applies to the first term.  The program then searches for the other terms rather than searching those types.

    george
    gfsomsel

    יְמֵי־שְׁנוֹתֵינוּ בָהֶם שִׁבְעִים שָׁנָה וְאִם בִּגְבוּרֹת שְׁמוֹנִים שָׁנָה וְרָהְבָּם עָמָל וָאָוֶן

  • Rosie Perera
    Rosie Perera Member Posts: 26,194 ✭✭✭✭✭

    alabama24 said:

    MJ. Smith said:

    Is type:(lexicon, encyclopedia, dictionary) better?

    Yes, I think so. I tried to do that at first without the parenthesis… which obviously didn't work. I notice now that I had "lexicon" listed twice… It seems there was a fourth type I wanted to add and must have misread the list. 

    It does seem interesting that I get different results with the following:

    • type:lexicon OR encyclopedia OR dictionary [I get 110 results]

    VS

    • type:lexicon OR encyclopedia OR dictionary OR lexicon [I get 145 results with the mistaken addition of a second "lexicon"]

    VS

    • type:(lexicon, encyclopedia, dictionary) [I get 76 results]

    I would have thought that all three would have produced the same results. Certainly there was some user error… is there a bug as well?

    Library filters (e.g., type:) bind more tightly than OR, so you need the parentheses around the parameters in order to give the ORs (or comma series) precedence. Just as you would have to use parentheses in this mathematical expression to make the addition get executed before the multiplication:  4 * (5 + 1).  You'd get a different result if you left the parentheses out because 4 * 5 would be computed first and then 1 added (without being multiplied by 4 first).

    What would be equivalent to type:(lexicon, encyclopedia, dictionary) would be if you repeated the type: filter for each of the terms:

    type:lexicon OR type:encyclopedia OR type:dictionary

    If you leave the type: off the latter terms, and omit the parentheses, the effect will be as KS4J has explained.

  • JT (alabama24)
    JT (alabama24) MVP Posts: 36,523

    macOS, iOS & iPadOS |Logs| Install
    Choose Truth Over Tribe | Become a Joyful Outsider!