Search Query question Search Query question
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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.