是否有适用于 SQL Server 和 SQL Server 的分面搜索框架? 。网?

发布于 2024-08-08 04:53:36 字数 159 浏览 4 评论 0原文

我目前使用 SQL Server 在大型目录网站中存储产品。我想重建我们拥有的带有标签和标签的简单分类。面,以便用户可以尽快过滤到相关子集。我不应该自己这样做。不用走得太远(虚拟机到主机级别 3 aeai),有人知道有一个好的库或框架来管理所有棘手的部分吗?

谢谢!

吉姆

I currently use SQL Server to store products in a large catalog web site. I'd like to rebuild the simple categorization we have to something with tags & facets so that users can filter down to relevant subsets as quickly as possible. I should NOT do this myself. Without going too far afield (VM to host level 3 aeai) does anyone know of a good library or framework to manage all the twiddly bits?

Thanks!

Jim

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

少跟Wǒ拽 2024-08-15 04:53:36

我最近完成了 BoboBrowse 分面搜索 引擎的移植(称为 BoboBrowse.Net) 构建在 Lucene.Net 之上。它是开源的,可在 NuGet 上使用

由于它在 Lucene.Net 之上工作,因此您只需在 Lucene.Net 索引中提供分面数据即可,该索引可以通过 使用内置 Lucene.Net 工具< /a>,或者您可以扩展 目录类直接从 SQL Server 提取数据。

然后,您只需设置构面处理程序并针对索引执行浏览。浏览引擎会为您处理一些细节,例如:

  1. 基于 Lucene.Net 查询执行搜索(或者它将匹配所有记录,以便您可以浏览所有记录)。
  2. 列出各个方面。
  3. 列出构面值(匹配的构面值,或者您可以展开所有构面值)。
  4. 列出方面值很重要。
  5. 对构面值进行排序。
  6. 选择方面值(用于深入了解结果)。
  7. 列出结果。
  8. 对结果列表进行分页。
  9. 对结果列表进行排序。
  10. 格式化构面数据以在结果中显示(基于区域性)。

还有几个专门的方面处理程序(简单、路径、范围、动态时间范围、多值、地理、直方图等),如果需要,您可以扩展框架来构建自己的框架。

I have recently completed a port of the BoboBrowse faceted search engine (called BoboBrowse.Net) that is built on top of Lucene.Net. It is open source and available on NuGet.

Since it works on top of Lucene.Net, you just need to provide the facet data in a Lucene.Net index which can be built by using the built-in Lucene.Net tools, or you could potentially extend the Directory class to pull the data directly from SQL Server.

Then you just need to set up facet handlers and perform a browse against the index. The browse engine takes care of several details for you, such as:

  1. Performing the search based on a Lucene.Net query (or it will match all records so you can browse them all).
  2. Listing the facets.
  3. Listing the facet values (either the matching ones, or you can expand all of them).
  4. Listing the facet value counts.
  5. Sorting the facet values.
  6. Selecting facet values (for drilling down into the results).
  7. Listing the results.
  8. Paging the list of results.
  9. Sorting the list of results.
  10. Formatting the facet data for display in the results (based on the culture).

There are also several specialized facet handlers (simple, path, range, dynamic time range, multi-value, geo, histogram, etc.) and you can extend the framework to build your own, if needed.

全部不再 2024-08-15 04:53:36

我现在已经为 3 个站点创建了自定义 .NET 分面搜索,每次都变得更好一点。我现在可以从过去的实现中复制很多想法和代码来节省自己的时间。但如果你真的从头开始,这肯定很耗时。

它很昂贵,而且可能不是您想要的,但据我所知,唯一出售的多面搜索引擎是端到端解决方案,Endeca 提供。不幸的是,我不知道有便宜或免费的 .NET 多面搜索引擎。

更新:看起来还有一个名为 FAST ESP

I've created a custom .NET faceted search for 3 sites now, getting a little better at it each time. I'm at the point now where I can copy a lot of ideas and code from past implementations to save myself time. But it is definitely time consuming if you're literally starting from scratch.

It is expensive and probably not what you're looking for, but the only faceted search engine I know of that's for sale is the end-to-end solution that Endeca provides. Unfortunately I don't know of a cheap or free .NET faceted search engine out there.

UPDATE: It looks there's also one called FAST ESP.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文