• Resolved Dirk Claesen

    (@dirk-claesen)


    Is there a way to use wildcards in the search widget?

    I have the impression that I always have to enter the complete word when searching photos.

    It would be nice if an end user could use * or ? as wildcards. (entering “wild*” in the search field would then find both “wildcard” and “wildlife”)
    As not all users are familiar with the wildcards, it would also be nice to enable or disable “exact search” from within the admin module. When disabled all search criteria would be preceded and followed by “*” automatically. When enabled the user would have to enter the wildcards himself.

    Kind regards,
    Dirk Claesen

    https://www.ads-software.com/plugins/wp-photo-album-plus/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Is there a way to use wildcards in the search widget?

    Not fully ( yet )

    If you enable indexed search ( Table IX-C5 ) it will automaticly do

    searchword*

    It is not doable to implement wildcards with classic search.
    The use of indexed search is greatly recommended because it is up to 50 !! times faster.

    If you like, i will add a switch so that it automaticly does

    *searchword*

    Thread Starter Dirk Claesen

    (@dirk-claesen)

    With the indexed search it will indeed find all words that start with searchword.

    It would be nice if you could add the switch to allow searchword to be anywhere in the text.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Fixed 5.1.14 Table IX-C9

    Thread Starter Dirk Claesen

    (@dirk-claesen)

    Thanks for the quick fix! It’s working perfect now!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘wildcards in search’ is closed to new replies.