In the RavenDB mailing list, we got a question about tagging. In this case, the application need:
1. Tags have identity ("set" has a different meaning if I'm talking math, music or sports).
2. I want to know who tagged what and when.
3. I want to do this once, as a service, so i don’t need have ids in each document i want to tag. In my app, there are many such document types.
Let us see how we can approach this in RavenDB. We are going to do it like so:
来自 “ ITPUB博客 ” ，链接：http://blog.itpub.net/301743/viewspace-734956/，如需转载，请注明出处，否则将追究法律责任。