在 Drupal 上搜索 cck 创建的内容类型

发布于 2024-10-10 04:53:09 字数 128 浏览 0 评论 0原文

我正在 Drupal 中开发一个具有特定内容类型的网站:我使用 CCK 来定义此内容类型。

我还需要一个高级搜索表单,以便网站访问者可以根据此内容类型的任何字段进行搜索。但我不知道如何实施它。

有人会帮助我吗?

I am developing a website with a specific content type in Drupal: I use CCK to define this content type.

I also need an advanced search form to give the site visitors doing their search based on any fields of this content type. but i have no idea about implementing it.

Would someone help me?

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

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

发布评论

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

评论(1

软的没边 2024-10-17 04:53:09

CCK 为视图模块提供了过滤器,因此您可以使用视图至少接近您想要的内容(我不知道使用这种方法是否可以进行全文搜索)。

drupal.org 本身使用 Apache Solr 搜索集成。 Apache Solr 搜索集成需要 Apache Solr。如果您没有办法设置 Apache Solr(或者由于某些其他原因不想设置),您可以使用 Acquia 提供的 Apache Solr 实例(称为 acquia 搜索)。

CCK provides filters to the Views module, so you could use a view to at least come close to what you want (I don't know if a full text search is possible using this approach).

drupal.org itself uses Apache Solr Search Intergration. Apache Solr Search Intergration requires Apache Solr. If you do not do not have the means to set up Apache Solr (or do not want to for some other reasons), you can use an instance of Apache Solr provided by Acquia (called acquia search).

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