Author Topic: Using * Wildcard  (Read 2017 times)

Offline myotis

  • Full Member
  • ***
  • Posts: 188
    • View Profile
Using * Wildcard
« on: February 01, 2022, 08:44:43 AM »
I tagged this onto my earlier post, but it hasn't had a reply so I am assuming it got lost because my original question had been answered.

I want to search for zzf*. To search for all keywords beginning with zzf

Searching the forum suggests PM+ defaults to a "*" wildcard search and you need to put zzf in quotes to prevent it acting like zzf*

But neither zzf nor zzf*  work and I only find keywords that "are" zzf and not any that "begin with" zzf.

Is there an alternative way of doing this?

Thanks,
Graham





Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24731
    • View Profile
    • Camera Bits, Inc.
Re: Using * Wildcard
« Reply #1 on: February 01, 2022, 10:09:47 AM »
Graham,

I tagged this onto my earlier post, but it hasn't had a reply so I am assuming it got lost because my original question had been answered.

No, I'm just extremely busy.  I monitor these forums when I have time and I answer when I can.  It's not actually part of my job duties.

I want to search for zzf*. To search for all keywords beginning with zzf

Searching the forum suggests PM+ defaults to a "*" wildcard search and you need to put zzf in quotes to prevent it acting like zzf*

But neither zzf nor zzf*  work and I only find keywords that "are" zzf and not any that "begin with" zzf.

Is there an alternative way of doing this?

Have you tried using:

keywords ^"zzf"

-Kirk

Offline myotis

  • Full Member
  • ***
  • Posts: 188
    • View Profile
Re: Using * Wildcard
« Reply #2 on: February 01, 2022, 11:22:54 AM »
Have you tried using:

keywords ^"zzf"

-Kirk

Sorry, for chasing. You always reply so quickly that I thought you had missed the post.

Should this also work with

keywords is not ^"zzf"

because it isn't.


And how do I re-display all the images after I have run a search.

If I go into the filter tab and the browse tab and clear them I can get all the images back, but there doesn't seem to be anyway of doing it from the search tab.

clearing the search field, still displays only the images found by the search.

Thanks,

Graham

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24731
    • View Profile
    • Camera Bits, Inc.
Re: Using * Wildcard
« Reply #3 on: February 01, 2022, 12:07:08 PM »
Graham,

Should this also work with

keywords is not ^"zzf"

because it isn't.

Hmm.  I'm not sure.  Keywords is an array of terms so it may not work well for that query.

And how do I re-display all the images after I have run a search?

Search for "" (just two double quotes, nothing in between).

-Kirk

Offline myotis

  • Full Member
  • ***
  • Posts: 188
    • View Profile
Re: Using * Wildcard
« Reply #4 on: February 01, 2022, 12:36:48 PM »

Search for "" (just two double quotes, nothing in between).


Thanks.

I use "" in other places, not sure why I didn't think of it here :-(

I assume, as you haven't mentioned it, there is no alternative to do an "is not" search with a wild card equivalent.

Cheers,

Graham

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24731
    • View Profile
    • Camera Bits, Inc.
Re: Using * Wildcard
« Reply #5 on: February 01, 2022, 01:50:53 PM »
Graham,


Search for "" (just two double quotes, nothing in between).

Thanks.

I use "" in other places, not sure why I didn't think of it here :-(

I assume, as you haven't mentioned it, there is no alternative to do an "is not" search with a wild card equivalent.

That may be the case.  I didn't write the query parser/search system so I'd have to investigate further.

-Kirk

Offline myotis

  • Full Member
  • ***
  • Posts: 188
    • View Profile
Re: Using * Wildcard
« Reply #6 on: February 01, 2022, 10:28:51 PM »
That may be the case.  I didn't write the query parser/search system so I'd have to investigate further.

-Kirk

Thanks,

Graham