Author Topic: search syntax in catalog  (Read 3801 times)

Offline jed best

  • Newcomer
  • *
  • Posts: 8
    • View Profile
search syntax in catalog
« on: May 18, 2021, 09:16:37 AM »
I am having trouble finding the correct syntax for searches. An example would be: state "maine" AND capturetime= 2021 and I get nothing. If I do capturetime= 2021, I get all of 2021 but if I try state "maine" I also get nothing. Is there further references on how to do a search besides the online manual?

thank you

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: search syntax in catalog
« Reply #1 on: May 18, 2021, 11:18:21 AM »
Jed,

I am having trouble finding the correct syntax for searches. An example would be: state "maine" AND capturetime= 2021 and I get nothing. If I do capturetime= 2021, I get all of 2021 but if I try state "maine" I also get nothing. Is there further references on how to do a search besides the online manual?

If you open the Browse tree and look in the:

Metadata (IPTC)
    Location (Legacy)
        State
    Location Created
        State
    Locations Shown
        State

tree items, do you see Maine listed?  Are you setting the "Use Case-Sensitive Search" checkbox in the Search tab?

This similar search works for me:

(state "California") and (capturetime.year = 2005)

As for more documentation, refer to the built-in info (Catalog->Searchable Fields... and Catalog->Search Examples...)

-Kirk

Offline jed best

  • Newcomer
  • *
  • Posts: 8
    • View Profile
Re: search syntax in catalog
« Reply #2 on: May 19, 2021, 04:53:46 PM »
I am not using case sensitive so I will try your suggestion. Thank you

Offline jed best

  • Newcomer
  • *
  • Posts: 8
    • View Profile
Re: search syntax in catalog
« Reply #3 on: May 19, 2021, 05:07:28 PM »
OK, now I am baffled. When I look at the metadata fields, neither the state of Maine, town of York nor sublocation of Cape Neddick show up. When I tap the "I" key, all of the previous fields are filled correctly, which was done in PM 6, although not PM plus. What am I doing incorrectly?

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: search syntax in catalog
« Reply #4 on: May 19, 2021, 07:21:16 PM »
Jed,

OK, now I am baffled. When I look at the metadata fields, neither the state of Maine, town of York nor sublocation of Cape Neddick show up. When I tap the "I" key, all of the previous fields are filled correctly, which was done in PM 6, although not PM plus. What am I doing incorrectly?

When you say that you've looked at the metadata fields and they're not listed, are you looking at the items I mentioned earlier in the Browse tree?

Are the images in question actually in a catalog and is that catalog set to be searched?  If you look at the thumbnail images is the circle to the right of the filename filled green?

-Kirk

Offline jed best

  • Newcomer
  • *
  • Posts: 8
    • View Profile
Re: search syntax in catalog
« Reply #5 on: May 20, 2021, 06:44:30 AM »
No they are not. I did run "scan to catalog" before doing the search. What am I doing wrong?


Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: search syntax in catalog
« Reply #6 on: May 20, 2021, 08:56:10 AM »
Jed,

No they are not. I did run "scan to catalog" before doing the search. What am I doing wrong?

Did the path(s) that you scanned include those images?  If so, are you using the Folders to exclude or File Extensions to Exclude features that may either omit the folder containing those images or exclude their image types?

-Kirk

Offline jed best

  • Newcomer
  • *
  • Posts: 8
    • View Profile
Re: search syntax in catalog
« Reply #7 on: May 20, 2021, 03:49:14 PM »
Tjhe search works now as I made sure that the files were included into the catalog. However, I initially did "scan to catalog", there were no exclusions and yes, these files were included.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: search syntax in catalog
« Reply #8 on: May 20, 2021, 05:36:45 PM »
Jed,

The search works now as I made sure that the files were included into the catalog. However, I initially did "scan to catalog", there were no exclusions and yes, these files were included.

Well that's unexpected.

It would be nice to know how they became removed from your catalog, but it's unlikely we'll ever know.

-Kirk

Offline jed best

  • Newcomer
  • *
  • Posts: 8
    • View Profile
Re: search syntax in catalog
« Reply #9 on: May 20, 2021, 05:56:00 PM »
Now working so hopefully, it will stay that way. Thank you for the help.