What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 127 Stack Exchange communities.

Now that the tag synonyms are implemented, how does it affect the monthly data dump?

Should the data dump have the list of tag synonyms?

share|improve this question
add comment

1 Answer

Yes, this should be added since it's public information. I don't think there will be many queries wanting to run on this table, but making the data available will let us get statistics on the tag synonym performance itself.

Adding this information as a new table would make the most sense, and it wouldn't be difficult to implement. Here is how the schema would look in Data Explorer:

TagSynonyms
-----------
SourceTagId (FK to Tags.Id)
TargetTagId (FK to Tags.Id)
Creator (FK to Users.Id)
CreatedDate (DateTime, NOT NULL)
RenameCount (int, NOT NULL)
LastRenameTime (DateTime, NULL)

PK: (SourceTagId, TargetTagId)

The only column I'm not sure about is LastRenameTime. Since the data won't be totally live, it would be a bit useless to include it. But since that information is displayed on the tag synonyms page, I suppose it should be included for completeness.

The tag synonym system is still in development, so I would imagine this is already [status-planned] -- they may just be waiting until the schema is finalized after the new enhancements are added soon. Although, it would seem this one table is more or less done -- there's just going to be more features added to assist in adding entries to this table.

share|improve this answer
    
Re LastRenameTime, it might be useful to see that the last rename was, for example, 6 months ago. For very active tags, the date will of course be the last day of the month, but it looks like this won't be the case for most tags. –  Gnome Nov 1 '10 at 6:23
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .