简体   繁体   English

标签实施

[英]Tag implementation

I am not quite sure what is the correct title for my question. 我不太确定我的问题的正确标题是什么。 I wanted to implement the tag system just like what is used in this website. 我想像在本网站中一样使用标记系统。 I found the way to implement it eg How to implement tag system . 我找到了实现它的方法,例如, 如何实现标签系统

In this website, when you type in a 'tag' term then hit enter or spacebar key, the the 'tag' become 'something' that you can click an x to delete it. 在此网站中,当您键入“标签”词然后按Enter或空格键时,“标签”将变成“某物”,您可以单击x将其删除。 My question is what is this 'something' and how can I implement it or get things started. 我的问题是什么是“东西”,我该如何实施它或使事情开始。 I work with C#, ASP.NET but any other techniques are mostly welcomed. 我使用C#,ASP.NET,但其他任何技术都受到欢迎。

I have tried to search but I don't even know what the thing I want is called/referred as.... 我已经尝试搜索,但是我什至不知道我想要的东西是什么。

Thanks, 谢谢,

LT LT

Loosely related to your question... 与您的问题松散相关...

The question you linked to shows how you could do it using a SQL database, and there is nothing wrong with using structured data if that is what your requirements are. 链接到的问题显示了如何使用SQL数据库来完成此任务,如果您的要求是,使用结构化数据也没有错。

However, another option is to make a faceted search system using a search engine (unstructured data) rather than structured data. 但是,另一个选择是使用搜索引擎(非结构化数据)而不是结构化数据来构建多面搜索系统。 That is more or less how the tags on SO function, because you can combine tags to narrow your results. 这或多或少是SO标签上的功能,因为您可以组合标签以缩小结果范围。

I have recently completed a .NET port of the Java Bobo-Browse faceted search engine, called BoboBrowse.Net , which is available on NuGet . 我最近完成了Java Bobo-Browse多面搜索引擎的.NET端口,称为BoboBrowse.Net ,该端口可在NuGet上使用 BoboBrowse.Net is built on top of the Lucene.Net search engine. BoboBrowse.Net建立在Lucene.Net搜索引擎之上。 The documentation can be found here . 该文档可在此处找到。

Faceted search is much more powerful than a simple tags system, and allows you to make "checkbox style navigation", "drill-down search", and even define ranges of items to search for. 多面搜索比简单的标签系统强大得多,它使您可以进行“复选框样式导航”,“下钻搜索”,甚至可以定义要搜索的项目范围。 Here is an example of such a system . 这是这种系统的一个例子

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM