Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Search string - multiple words  (Read 4433 times)

0 Members and 2 Guests are viewing this topic.

mboesen

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 104
    • Boesen Photography & Design
Search string - multiple words
« on: November 05, 2009, 10:29:30 am »

Hi

I think (and hope) this is an easy one, but I am not that much into coding that I can figure it out by myself. Have tried with a "+" and "AND", but it doesn't seem to work.

I use the following search string (gotten in here) for direct links from other website

http://www.fodboldfotografen.dk/coppermine14x/thumbnails.php?album=search&type=full&search=XXXXX

If I want the XXXXX to be two or three words that should be searched on, then how do I write that?

Link:
http://www.fodboldfotografen.dk/coppermine14x/index.php

Thanks for your time
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Search string - multiple words
« Reply #1 on: November 05, 2009, 10:44:23 am »

Have tried with a "+" and "AND"
huh?
The plus-sign (+) works exactly as advertized: the URL http://www.fodboldfotografen.dk/coppermine14x/thumbnails.php?album=search&type=full&search=Caroline+Venus will search for "Caroline" AND "Venus" and will return both the pics from Caroline Wozniacki as well as Venus Williams.
Logged

mboesen

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 104
    • Boesen Photography & Design
Re: Search string - multiple words
« Reply #2 on: November 05, 2009, 10:48:53 am »

Ok thanks....

I'll try again  ;)
Logged

mboesen

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 104
    • Boesen Photography & Design
Re: Search string - multiple words
« Reply #3 on: November 05, 2009, 10:52:43 am »

Sorry I thought I could edit the post, but accidentally marked it as solved.....

Just to clarify.....

Does the + mean that both words should be represented (I don't think so) and what if I want to specify that both words are required. How do I do that. If it can be done
Logged

mboesen

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 104
    • Boesen Photography & Design
Re: Search string - multiple words
« Reply #4 on: November 06, 2009, 10:47:07 am »

I'll try to clarify more......

If I have two photos with the keywords

Michael Larsen

Michael Jensen

(I don't, but just as an example)

Then when I use the following search

http://www.fodboldfotografen.dk/coppermine14x/thumbnails.php?album=search&type=full&search=XXXXX

then I would like to be able to use both names like "Michael+Larsen" and only get that one picture, but "Michael+Larsen" will also return the other Michael..... If there a search string that will return only the photos where both (or more) words are represented?

Sorry again for the mix up with solved and editing post, which I couldn't......

Michael
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Search string - multiple words
« Reply #5 on: November 06, 2009, 05:17:04 pm »

That's currently not a feature afaik.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.