-
Notifications
You must be signed in to change notification settings - Fork 8.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
为每个菜增加标签和菜系 #3
Comments
还有菜系 川鲁粤苏 |
因为分类方法的多样性,我们给每一个菜添加一些标签,然后根据标签进行分类索引。我认为是可行的方案。 因为很多用户需要用多种分类标准进行分类(例如菜系、口味、难度),用标签有兼容性。 |
刚开始可以先按几个大类分,之后再慢慢优化,例如先按 菜系 -> 素/荤 -> 辣/不辣, |
标签格式可以按照kv格式设定,方便扩展维度。 |
目前是按 素材荤菜分类,可以增加 豫 鲁 川 等 菜系 ,而且一道菜 不同菜系的做法可能不一样,大家想想如何解决这个,就是可以选择多种 分类的选项 |
#1024 |
看起来这个issue非常有必要解决。我会花一些精力在这个方面。 不过,有一个很实际的问题就是:在试图给菜增加标签时,应该使用何种数据结构呢?是直接加到 markdown 文件中,还是用一个额外的配置文件存储比较合适呢? |
额外的配置文件需要额外的维护。建议加到markdown文件中,编辑的时候提供已有的标签做选择。只是存量的菜需要靠merge来更新了 |
用neo4j 图数据库如何
Anduin Xue ***@***.***> 于2022年6月6日周一 15:43写道:
… 看起来这个issue非常有必要解决。我会花一些精力在这个方面。
不过,有一个很实际的问题就是:在试图给菜增加标签时,应该使用何种数据结构呢?是直接加到 markdown
文件中,还是用一个额外的配置文件存储比较合适呢?
—
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXHIUA4IG3WTSRP3THRIRATVNWTZPANCNFSM4LACQ4UQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
食谱增加标签和按原料检索其实蛮适合Notion-like的文档组织结构的。如果有开源解决方案就更好了。 |
如
素菜
主菜
鱼类
炸物
The text was updated successfully, but these errors were encountered: