Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2020-02-29 01:33:34

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

SEARCH errors in results

Back to setting up the SEARCH function in pideja.ca.

Works great with single word queries. But, for multiple entries, the SEARCH will return errors. As an example:

search: TNM will return all shows produced by this theater; search: 2019-2020 will return all shows, by all theaters for the 2019-2020 season; but, this search:TNM + 2019-2020 returns many shows from mutliple theaters and multiple seasons!

I've tried using "" "" but no better results. Keywords in Lightroom are: TNM, Saison 2019-2020, name of show for each image of each show of that season.
Frankly, I'm at a loss here.

Offline

#2 2020-02-29 01:42:32

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: SEARCH errors in results

The search term should be: +tnm "+2019-2020"


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#3 2020-02-29 02:09:17

JimR
Member
Registered: 2012-11-30
Posts: 348
Website

Re: SEARCH errors in results

I tried a search for "tnm 2019-2020" (without the quotes) and got results that are correct. Each of the results contains tnm or 2019-2020.

Maybe you're thinking the search is using AND when it's really OR. It matches the first term OR the second one. If you want results that include both tnm and 2019-2020 then you need to use this +tnm +2019-2020

Another issue, the character - means NOT. If you search for 2020 you'll get results. If you search for -2020 you get nothing. If you search for 2019-2020 you get a few results. The query without the space seems to be interpreted as being quoted.

If you search for 2019 -2020 you get different results, for that is a search for items that include 2019 and NOT 2020.


I've done a lot of work with search, and user behavior. People are not engineers, and do not read instructions. Simply understanding the difference between AND and OR is too difficult for most. Quoting a string to find that exact match is about all they'll understand. Using the - or + options isn't something they'll understand.

All of this detail is not something a typical visitor will understand. As you're finding for yourself, you're at a loss to explain the results. You think it's returning errors, but it's doing exactly what you requested. It is documented http://theturninggate.net/2018/02/19/ma … ts-search/


About the only search you can expect from the typical users is for them to use the standard OR, such as: tnm 2020

That will return results without tnm and results without 2020, but included one OR the other.

If you only want tnm AND 2020, note that nobody will do this, but you need to use: +tnm +2020

And note how the way you've titled galleries, to have two years in their categorization, the last search above is the same as: +tnm +2019


Step back and think of how you're trying to help the visitor find content, and level that against the expectation they do not understand search logic.

Then design the taxonomy (names of theaters, shows, years, etc) to support that. I would avoid using a term such as "2019-2020" as it's going to lead to a lot of grief.

For example, this search will seem correct to a typical person but is a mistake: tnm 2019 - 2020

Last edited by JimR (2020-02-29 11:27:23)


--Jim

Offline

#4 2020-02-29 02:31:02

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: SEARCH errors in results

Thanks Daniel and Jim, precious information that I was nor aware of. One problem would be that theater seasons are typically referred to as "Saison 2019-2020" (meaning the 2019-2020 season).
Great attention must be paid when assigning keywords, titles and dates.

Last edited by pideja (2020-02-29 02:58:06)

Offline

#5 2020-02-29 06:29:51

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: SEARCH errors in results

Did you see my earlier comment that outlined how this works? http://community.theturninggate.net/vie … 992#p63992
Note that the results are ranked based on the number of terms matched and the number of number of data sources that the terms are found in.  I know this stuff because I wrote the code.

Offline

#6 2020-03-02 02:37:17

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: SEARCH errors in results

Thanks, Ben...so, if I have further questions, I'll know who to contact. But first, read the suggested link and experiment.

But, I can already indicate that using

+TNM +"2018-2019"

with or without " ", will yield many productions of different years or this

+TNM +2018-2019

will yield no results. But this

"+ 2018-2019" +"TNM"

displays the correct years but multiple theatres and not all productions.

I will double-check how the metadata and keywords are written in LR. Maybe that's where things get awry...

Any way to get all that info directly in Backlight?

Last edited by pideja (2020-03-02 02:50:13)

Offline

#7 2020-03-02 02:54:32

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: SEARCH errors in results

As Jim suggested, there could be an issue with 2018-2019 in that the minus sign might be affecting things.
Perhaps instead of 2018-2109 in album names, use “2018 to 2019”

Or a search term of +2018 +2019


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#8 2020-03-02 22:01:47

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: SEARCH errors in results

Problem is, many activities that have seasons piggybacking two years have a tendency to name their periods of activity in this manner (Repertory Theatre of St. Louis Announces 2020-21 Season). Got to find a satisfactory replacement for that nomenclature.

Last edited by pideja (2020-03-02 22:04:45)

Offline

#9 2020-03-02 22:11:22

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: SEARCH errors in results

What about 2020/21 Season


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#10 2020-03-02 22:38:51

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: SEARCH errors in results

Tried to change all season names from using the "-" to using the "/" like 2009-2010 becomes 2009/2010

No change. If I ask

+TNM +"2010/2011" or "+duceppe  +"2010/2011"

I get multiple shows on multiple dates.

Last edited by pideja (2020-03-02 22:40:58)

Offline

#11 2020-03-02 23:09:53

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: SEARCH errors in results

Just checking, but did you remember to republish images after making changes to metadata?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#12 2020-03-02 23:21:39

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: SEARCH errors in results

I am in the process of reviewing everything, metadata, keywords and republishing all. I will try variants of how I name things until it works. It's got to work.

Offline

#13 2020-03-03 00:09:35

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: SEARCH errors in results

Remember too, file names are included in Search.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#14 2020-03-03 01:48:01

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: SEARCH errors in results

The format is "+search term" and not +"search term". I didn't notice any issues with the "year-year" format.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#15 2020-03-04 08:56:45

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: SEARCH errors in results

I changed the season denominations from 2018-2019 to 2018/2019 as a trial and tried a search this way: « +TNM +2018-2019 » and also this way: « +TNM » « +2018/2019 » but both d’ailes.

Last edited by pideja (2020-03-04 08:57:20)

Offline

#16 2020-03-04 09:43:52

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: SEARCH errors in results

How about adding 'saison: 2019-2020' as text?


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#17 2020-03-04 22:46:58

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: SEARCH errors in results

Rod wrote:

Remember too, file names are included in Search.

The problem with that is that the file naming system I use is somewhat difficult to remember for someone looking for a specific image. As an example, an image from the TNM production of Hamlet staged during the 2010-2011 season has the name TNM110308-6656 .
Most search I anticipate will be done by Theater, by Season or years, by Author, by any of the people named in the credits... One might want to find sets designed by Richard Lacroix by searching for "Richard "Lacroix" and it would return the production of Hamlet. Most of these queries work rather well up to now. It's when asking for a specific season that mistakes crop up.

Offline

#18 2020-03-04 23:34:24

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: SEARCH errors in results

As of this morning, these work well:

+Duceppe "+2018-2019"

or

+Rideau "+2018-2019"

but not

+TNM "+2018-2019"

Must be how the metadata or keywords are written for this theater, probably in LR.


UPDATE: found quite a few errors in the way the keywords are attributed in LR. I'll get back once everything is sorted out...

Last edited by pideja (2020-03-05 00:05:40)

Offline

#19 2020-03-05 00:25:30

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: SEARCH errors in results

pideja wrote:

Rod wrote:

Remember too, file names are included in Search.

The problem with that is that the file naming system I use is somewhat difficult to remember for someone looking for a specific image. As an example, an image from the TNM production of Hamlet staged during the 2010-2011 season has the name TNM110308-6656 .
Most search I anticipate will be done by Theater, by Season or years, by Author, by any of the people named in the credits... One might want to find sets designed by Richard Lacroix by searching for "Richard "Lacroix" and it would return the production of Hamlet. Most of these queries work rather well up to now. It's when asking for a specific season that mistakes crop up.

I just mentioned that in case any of your file names happened to also contain search terms that might return results you didn't want


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#20 2020-03-05 00:39:20

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: SEARCH errors in results

Thank you, Rod, Daniel and Ben,

After closely reviewing all the metadata and keywords in LR, all now seems quiet on the search front. Searching using the form + theatre "+season year span" now seems to work.

I tried multiple seasons but that was pushing it a bit.

Offline

Board footer

Powered by FluxBB