PDA

View Full Version : Searching for photos Beta 1.5


devenh
3rd of February 2004 (Tue), 12:31
Is there any way to search the free textual info or keywords fields? How about EXIF and IPTC headers?

Here's my problem. I have an exhibition with 500+ ski racing photos. I would like the visitor to be able enter a bib number, gender, team name, and/or racer's first name and see the subset of photos that match the search criteria. I would like to be able to sort the results by bib number and gender. Is this possible?

Deven

Pekka
3rd of February 2004 (Tue), 13:24
It all depends how you have set it up.

In what fields have you stored bib number, gender,team name, racer name? Depending on that your request may need a more complex search form.

EE default search and sort system works in following way:

Search searches selected field
Sort sorts by selected field
Order orders by selected field
Category limits results to selected category
Exhibition limits the search to selected exhibition.

While your change exhibitions the search is maintained.

So if you have set up exhibitions on per team, set up categories male/female, have racer's name as photo header you can do an "all fields" search for bib number or racers name plus sort by header you can then browse the results by exhibiton (or show all exhibitions as combined).

Some search tips:
http://photography-on-the.net/forum/showthread.php?t=16709#89751

devenh
3rd of February 2004 (Tue), 13:26
Okay, I found the search feature on 1.5 :D

Seems to work pretty well, but there are some issues:

If I enter a bib number in the desrciption text is '205' and I search for it, I will of course find it.

If the bib number is '2', then it finds '2' along with '12', '205', ... Sometimes this behavior is a feature, especially when searching for names that might be misspelled (just enter the first three letters), but it would be nice to have the ability to search on whole words.

Alternatively, is there any way to add user defined fields and have them show up in the search and sort fields?

Deven

Pekka
3rd of February 2004 (Tue), 13:30
Okay, I found the search feature on 1.5 :D

Seems to work pretty well, but there are some issues:

If I enter a bib number in the desrciption text is '205' and I search for it, I will of course find it.

If the bib number is '2', then it finds '2' along with '12', '205', ... Sometimes this behavior is a feature, especially when searching for names that might be misspelled (just enter the first three letters), but it would be nice to have the ability to search on whole words.

To search whole words (or numbers) add one space before and one after the keyword:

{space}hit{space}

finds only word hit

hit

finds also the dirty word :oops:


Alternatively, is there any way to add user defined fields and have them show up in the search and sort fields?
Deven

Yes you can, but currently my time is pressed - I'll write a tutorial later.

devenh
3rd of February 2004 (Tue), 13:39
{space}hit{space}

Doesn't this only work if the field contains

word1 hit word2

and not if the field only contains

hit

hit word1

word1 hit

Deven

Pekka
4th of February 2004 (Wed), 04:54
Yes that works only when word is in the middle of a sentence.