PDA

View Full Version : Keyword searching issue


mercphoto
Jun-26-2005, 07:09 PM
I'm having trouble with the keyword search this evening. I have instructed my racing customers to find their photos by clicking first on the keyword for the track name "iron rock raceway", then combine with the event date "2005jun25", then finally combine with their kart number.

This isn't quite working correctly. For example, we see that kart 48 does indeed have a keyword for that kart number, for that track name, and for that event date, as seen here:

http://mercphoto.smugmug.com/keyword/48

However, if I start with track name, then event date, I do not get an option to "combine with" the driver number 48.

http://mercphoto.smugmug.com/keyword/iron%20rock%20raceway-2005jun25

These photos finished uploading before breakfast on Sunday morning. I'm writing this at least 12 hours later. Is this just an example of the keyword indexing not being updated fully yet? Or is there something else going on?

Mike Lane
Jun-26-2005, 08:59 PM
Bill,

By the way I was able to figure out a way to put a keyword search form on my site. The code follows:

<form name="keywordBox" class="search2" method="get" action="/keyword/jump.mg">
<input type="text" name="Keyword" size="18" style="width: 200px; background-image:url('/img/nav/shadow_left.gif'); border-color: #000000; border-style: solid; border-width: 1px;" value=" search my keywords" onClick="if(document.keywordBox.Keyword.value == ' search my keywords') { document.keywordBox.Keyword.value = ' ' }" >
<input type="image" src="http://img131.echo.cx/img131/5954/magglass8qx.png" title="Search my keywords" align="absmiddle" width="21" height="21" hspace="0" vspace="0" border="0" onclick="if(document.keywordBox.Keyword.value == ' search my keywords') { document.keywordBox.Keyword.value = ' ' }" />
</form>

You can leave out the class="search2" or you can create a style named .search2 that will make the box that contains the form fit your site. The png is stored at imageshack which has been known to take images down from time to time for some odd reason (boy I wish SM would host pngs...)

With this your customers can simply search each keyword string followed by a dash: keyword1-keyword two-keyword3 for example.

Mike

mercphoto
Jun-27-2005, 08:12 AM
Bump. As an example, this page:
http://mercphoto.smugmug.com/keyword/iron%20rock%20raceway-2005jun25
Doesn't show anywhere near all the number keywords possible for this cross-product search. The "combine-with" list is way too short.

Is there a reason for this? Is the combine with list kept short, or is it supposed to be inclusive?

The only reliable way I've found so far to find photos is to start with the number from the main keywords page and work backwards.

Any reason why trying to keyword search in one direction (track, to date, to number) is not complete, but keyword searching in the other direction (number, date, track) does work?

onethumb
Jun-27-2005, 01:14 PM
Bump. As an example, this page:
http://mercphoto.smugmug.com/keyword/iron%20rock%20raceway-2005jun25
Doesn't show anywhere near all the number keywords possible for this cross-product search. The "combine-with" list is way too short.

Is there a reason for this? Is the combine with list kept short, or is it supposed to be inclusive?

The only reliable way I've found so far to find photos is to start with the number from the main keywords page and work backwards.

Any reason why trying to keyword search in one direction (track, to date, to number) is not complete, but keyword searching in the other direction (number, date, track) does work?


Only the Top XX keywords are returned as related keywords for combination for a given keyword view. Some keywords have hundreds and thousands of related words - there's just not enough room on the page.

FYI, "Top XX" = # of photos that contain both of the keywords.

Don

mercphoto
Jun-27-2005, 01:28 PM
Only the Top XX keywords are returned as related keywords for combination for a given keyword view. Some keywords have hundreds and thousands of related words - there's just not enough room on the page.

FYI, "Top XX" = # of photos that contain both of the keywords.

Ok. So I think my plan to direct racers to the keywords page (first click), which lists ALL the keywords, then find his number and click on that (second click), then combine-with the event date (third click) should always work and always get him to his photos for a particular event. All with three mouse clicks and zero typing. Fourth or fifth mouse clicks could be employed to further refine a search if needed.

Onethumb, does it appear I'm using the keywords in an efficient manner? Does my explanation of how to use it sound simple enough for most users to understand?

Thanks!