Search Query question Search Query question
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Search Query question

Started by MarianneC, August 16, 2008, 07:46:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MarianneC

I wasn't sure what category this really belongs in.  I'm trying to structure a search query, and I'm not getting the results that I expect.

If I want to get only folks located at 551 Tremont Street, I've written this query:

thumbnails.php?album=search&type=full&search=551+Tremont

However, that seems to be returning anything with Tremont in it.  What operator should I be using to just get 551 Tremont?

Thanks,
Marianne

MarianneC

Is there any documentation on the search function?

Nibbler

Yeah, read the code :)

It will search OR by default. You can change that to be AND by default in include/search.inc.php.