Booleans Search not working at all.

Before I go and report this on trac, I wanted to see if there was anything I'm missing in troubleshooting this.

I have a zenphoto installation 1.2.2 (now the nightly from the 12th) that has absolutely no functioning boolean search. In other words, if I run a queary like "everglades & birds" or "everglades AND birds" I get the response that "no matching images were found".
My test environment is running PHP 5.2.3, mysql 5.0.45 if that helps.

What I've tried so far:
I've tried using the default theme instead of my custom theme.
I've blown away the database and rebuilt it.
I've completely blown away the installation (except my album and custom theme files) and done a clean install (both for 1.2.2 and the nightly).

Comments

  • Please describe how you did this. It seems working for me and for Ewan (http://www.zenphoto.org/support/topic.php?id=4720)

    Did you perchance place the search string within quotation marks? Where are the search targets found? Tags, descriptions, etc.

    What do you get when you search for the items individually?
  • I merely typed the text into the search box and clicked search, no quotes around anything. If I search for the keywords individually I get the results I expect for that search.

    Usually I'm using targets in tags and location data. I.e. "everglades" is stored in the location metadata, and "birds" is a keyword/tag.

    I just tested, if I constrain my search to just tags I appears to work properly.
  • Ok, that probably does not work. The searching of tags is separate from the searching of other metadata, so a join between them will probably not work. I will look into it later, but I suspect it will be difficult to make the boolean logic span the two kinds of Database search techniques.
  • Well that wasn't what I was hoping to hear. I appreciate that you're going to look into this, I would be very nice to have this working in a future version.
Sign In or Register to comment.