Mirrored from: http://spindrop.us/2009/03/30/designing-a-tagging-system-what-is-tagging/





Designing a tagging system: what is tagging

by Dave Dash 30Mar09

There's a lot of collective knowledge about tagging and how it works, but everybody seems to have their own way of doing it and understanding it.

As the delicious engineer who was responsible for making sure the data integrity was maintained during transitions, I ran a series of audit tests on our bookmarks. This kept me cozy with our tags on a product level but with some insight into the engineering behind it as well.

I think the biggest struggle with tagging is that its surrounded with "Web2.0" hype. Technologically tagging is not new. The way its used is very clever, but its fundamentally simple.

Tagging is search

Tagging is no different than keywords assigned to a document. I'm using document to mean any such object that might be tagged or indexed by a search indexer. It's clever because rather than using a machine to index a document, or even a publisher to assign keywords, end-users directly assign keywords. This creates the "folksonomy."

Let's say I have a tagging system, and I tag a photograph with the term "milkshake". I can conceivably go to a page called "Things tagged as milkshake" and one of the items will be my photograph. I've just performed a search.

If this sounds simple, that's because it is. Tags are a user-instantiated index. It is different because you can do some cleverly cool things with it. With delicious, I determine my personal index. That means, I can very quickly find comical videos or neat stuff about django without too much trouble.

The fact that it's "just search" means when you build a tagging system, you can do the same tricks you can do with search. A mysql database with a tags table can be your search index - or you could use Lucene or Sphinx.

The point is tagging and retrieving tags is search, so if you can build a search engine, you can build a tagging system.


Where am I?

This is a single entry in the weblog.

"Designing a tagging system: what is tagging" is filed under spindrop. It was published in March 2009.

March 2009
M T W T F S S
« Feb   Apr »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Tags

&&

need more help

If you found our tutorials and articles to be useful, but are still looking for more hands on help, consider hiring us. Find out more about how Spindrop can help you.

 

Further Help

If you require more hands on assistance, we do offer affordable hands on support.

Leave a Reply


Comment guidelines: No spamming, no profanity, and no flaming. Inappropriate comments will be deleted outright.