kelvinkuo opened a new pull request, #618: URL: https://github.com/apache/incubator-answer/pull/618
fix #587 This commit adds 1 or 2 db query for synonyms tag. - no more query, when the slugName == "" - 1 more query if slugName not matches any tag or slugName is not a synonyms - 2 more query if slugName is just a synonyms I think the cost is cheep slugName has index. Off topic, the design of synonyms is a bit weird, - A normal tag disspears when it became a synonyms tag - They are not shown in tag list(So I did not know the 'synonyms' thing until I saw the issue-587.) - It's so hidden, not very clear to users. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
