I have added a "tag" field for every tag on a document.  Depending on
how you want searches to work, and what makes up a valid tag, you may
not want to tokenize this field.  Having this tag it is own field
makes it easy to weight tags up in a search, and have the options to
search exclusively by tag.

Mike

On Fri, Sep 25, 2009 at 9:36 AM, Tim Haughton <[email protected]> wrote:
> Afternoon.
>
> I'm about to add tagging in to my single user document management
> application.
>
>   - A document will have zeo or more tags.
>   - I must be able to list all documents with a given tag
>
> No rocket science :) Anyone know any gotchas or have any advice? Is it
> something that's commonly done with Lucene? If you've done it, how did you
> do it?
>
> Many thanks.
>
> Regards,
>
> Tim Haughton
> www.agilemicroisv.com
> Chat Skype: timhaughton
> Contact Me [image: Linkedin] <http://www.linkedin.com/in/timhaughton>[image:
> Facebook] <http://www.facebook.com/timhaughton>[image:
> Twitter]<http://www.twitter.com/dokix>
> Blog RSS Wordpress update
> oddness<http://feedproxy.google.com/%7Er/TheAgileMicroISVBlog/%7E3/mg118P-A8vU/wordpress-update-oddness.html>
>



-- 
Michael C. Neel (@ViNull)
http://www.ViNull.com
Microsoft MVP & ASPInsider

Do you FeelTheFunc(.com)?

Reply via email to