Modules: Search

Filter by Drupal Core compatibility:
Login or register to modify the filter.

Contributed (contrib) modules are plugins for Drupal that extend, build or enhance Drupal core functionality. Use matching versions (modules released for Drupal 5.x will not work for Drupal 6.x). Contributed modules are not part of Drupal core releases and may or may not have optimized code/functionality. If a module solves your needs please consider joining forces and helping the maintainer.

Ajax Table

Overview

The Ajax Table module is an API-based tool that will allow other modules to create ajax-refreshable tables by supplying a few parameters. There are some handy utilities built in that aid in managing data more quickly than many Drupal modules offer by default. With an Ajax Table, it is easy to add ajax-based input columns to change data on the fly. There is also a utility that works similarly to an auto-complete field, but displays results in a fully customizable Ajax table, which supports pagination and in-place editing.

VersionDateLinksStatus
5.x-1.22008-Jan-15Recommended for 5.xThis is currently the recommended release for 5.x.

Apache Solr Search Integration

This module integrates Drupal with the Apache Solr search platform. Solr search can be used as a replacement for core content search and boasts both extra features and better performance. Among the extra features is the ability to have faceted search on facets ranging from content author to taxonomy to arbitrary CCK fields.

The module comes with a schema.xml file which should be used in your Solr installation.

This module depends on the search framework in core. However, you may not want the core searches and only want Solr search. If that is the case, you want to use the Core Searches module in tandem with this module.

Installation

Install and enable the ApacheSolr Drupal module as you would any Drupal module.

Prerequisite: Java 5 or higher.

Download Solr 1.2 or higher from a mirror site:
http://www.apache.org/dyn/closer.cgi/lucene/solr/

Unpack the tarball somewhere not visible to the web (not in your apache docroot and not inside of your drupal directory).

The Solr download comes with an example application that you can use for testing, development, and even for smaller production sites. This application is found at apache-solr-1.2.x/example.

VersionDateLinksStatus
5.x-1.0-beta22008-Apr-20Recommended for 5.xThis is currently the recommended release for 5.x.

Biblio Facets

Biblio Facets integrates with Faceted Search to allow users to browse Biblio types and fields as facets.

VersionDateLinksStatus
5.x-1.0-beta12008-Apr-23Recommended for 5.xThis is currently the recommended release for 5.x.

CCK Facets

CCK Facets is a bundle of modules that integrate with Faceted Search to expose Content Construction Kit (CCK) fields as facets. This allows users to browse field values and to filter search results with those values.

VersionDateLinksStatus
5.x-1.0-beta12008-Apr-23Recommended for 5.xThis is currently the recommended release for 5.x.

Chinese Word Splitter(中文分词)

Support _search_preprocess interface. This module split chinese word with space. So it make search module to add correct chinese word into index table. You need re-index your site after active this module.
Module works with a user-defined dictionary. So in fact it can support split other languages.
Now there are two match arithmetic in module.

Using with 4.7 or 5.x, you should disable "simple Chinese/Japanese/Korean tokenizer" in search.module setting.

此模块支持_search_preprocess接口,可对中文进行分词,以便在search模块的预索引和搜索时获得正确的中文结果,避免使用简单中日韩处理时产生巨量的搜索条目。安装此模块后,需要重新生成Search索引,建议索引词长度为1或2。
模块使用用户定义字典,因此实际上使用合适的字典可以支持其他的语言。
目前提供正向最大匹配和逆向最大匹配两种算法。
在4.7下使用时,需要关闭 管理-〉设置-〉搜索 中的“简单CJK(中日韩字符)处理”选项。

注意:字典文件是UTF-8格式(带BOM头标)。在有些系统上你可能需要去掉BOM头标,模块才能正确的读取字典并匹配分词,否则可能不能分词成功。

now support 4.7 and 5.x

VersionDateLinksStatus
6.x-1.02008-Apr-21Recommended for 6.xThis is currently the recommended release for 6.x.
5.x-1.02008-Apr-21Recommended for 5.xThis is currently the recommended release for 5.x.
4.7.x-1.x-dev2006-Nov-13Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

Content Recommendation Engine

This module is designed to recommend content to users via a Slope One algorithm. The download is a package that contains both the developer api (cre.module) and basic recommendation modules (like node_recommendation.module).

Please copy all files into your module directory (including cre_query_obj.inc).

The algorithm is called Slope One. It is very powerful and yet very fast. As of right now it will only recommend content that has been voted on via VotingAPI. Therefore, you must be using a voting module that depends upon VotingAPI. There are several listed here: http://drupal.org/project/Modules/category/60

VersionDateLinksStatus
5.x-1.02007-Jan-21Recommended for 5.xThis is currently the recommended release for 5.x.
4.7.x-2.02006-Dec-21Recommended for 4.7.xThis is currently the recommended release for 4.7.x.

Core searches

Synopsis

Provides a patch for Drupal 5 to remove content and user search, leaving only the search framework. Provides two new modules, contentsearch and usersearch, which replace the functionality that has been removed. This allows you to turn content or user search off, if you don't want to have them.

Philosophy

The search module in core Drupal provides a general framework for indexing and searching. It does not provide any search functionality on its own. This is, in principle, a great idea, because core or contributed modules can then introduce their own search implementations. In fact, the user module and the node module each have such implementations, and these are where the content and user search tabs come from. The problem is that both node and user module are required by Drupal to run, so we are left with no way to get rid of these core content and user searches. This discourages other contributed modules from using the search module framework because any further implementations have to take their place in line behind the core content and user searches.

VersionDateLinksStatus
5.x-1.x-dev2008-Feb-21Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

Dutch Stemmer

This module implements a Dutch stemming algorithm to improve Dutch-language searching with the Drupal built-in search.module.

It reduces each word in the index to its basic root or stem so that variations on a word (e.g. "boom, bomen" or "opheffen, opheffing, opheffende") are considered equivalent when searching. This generally results in more relevant results.

VersionDateLinksStatus
5.x-1.x-dev2008-Jan-03Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
4.7.x-1.x-dev2006-Nov-13Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

DynoSearcho

DynoSearcho lets users dynamically search for different types of content using AJAX (actually, AHAH).

This module allows the site admin to display various blocks on the site that provide a dynamic way to search for content. DynoSearch uses AHAH to display results as the user enters them (similar to Drupal's most-excellent autocomplete feature). Each block can be configured to display a configurable number of results from specific node types.

DynoSearcho is not meant to be a replacement for Drupal default search.

DynoSearcho does not use any of the existing Drupal search mechanism for it's searches, in fact, it is a much "dumbed down" version of search. The module only searches node titles and tags for matches. In fact, the module makes use of the SQL "LIKE" keyword, which probably means that this module probably won't do too well for sites when searching through thousands and thousands of nodes.

The module does have the option to submit the search terms to the standard Drupal search mechanism when the user presses the "enter" key. This option is controlled by the block configuration settings.

Initial development of this module was sponsored by Ozmosis.

VersionDateLinksStatus
5.x-1.x-dev2008-Jan-21Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

Exhibit

Exhibit displays structured data in the form of rich visualizations that can be searched, filtered and sorted using faceted browsing.

VersionDateLinksStatus
6.x-1.x-dev2008-May-02Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

Faceted Search

The Faceted Search module provides a search API and a search interface for allowing users to browse content in such a way that they can rapidly get acquainted with the scope and nature of the content, and never feel lost in the data. More than a search interface, this is an information navigation and discovery tool.

The interface exposes metadata in such a way that users can build their queries as they go, refining or expanding the current query, with results automatically reflecting the current query. This interface also combines free-text search, fully leveraging Drupal's search engine. It avoids complex search forms, and never offers facets that would lead to empty result sets.

VersionDateLinksStatus
5.x-1.0-beta32008-Apr-28Recommended for 5.xThis is currently the recommended release for 5.x.

Find user

This is a custom search module for users. It provides a search page that can search for users by username, email, or a custom text field. The custom text field can come from any content type, thus this module plays nicely with any user-as-node strategy.

The module does one thing and does it well, and is independent of search module. It has enough customization options to allow you to bend it to your will, as well as a healthy number of themable functions.

On the administer settings page for the Find user module you have the chance to set many configuration options. If you have CCK enabled and have added any text fields to any content types, these fields will show up as options to be searched. This allows you to use a module like nodeprofile or usernode or bio to extend your user profile and make it searchable via the Find user module.

The finduser module adds a menu item which links to the page with the search form. Users need the access user profiles permission in order to have access to this page and the finduser functionality.

VersionDateLinksStatus
5.x-1.0-beta22008-Feb-26Recommended for 5.xThis is currently the recommended release for 5.x.

French stemmer

This module improves results of the search module for the french language.

It does so by using the Paice Husk stemmer algorithm and some extra process :

VersionDateLinksStatus
4.7.x-1.02006-Dec-08Recommended for 4.7.xThis is currently the recommended release for 4.7.x.

Fuzzy Search

This module provides drupal sites with a fuzzy search engine to allow for broader keyword matches.

Features:

  • Mispellings and typos still provide relevant results.
  • External scoring factor hooks exposed so contrib modules can give administrators options for scoring.
  • Reindex function available to allow modules to specifically call a certain node for reindexing at next cron run.
  • Indexing of CCK textfield field types and taxonomy terms.
  • Implements hook_nodeapi's 'update index' op, so current modules integrating with search.module will work the same.
  • Improved search performance over search.module because there are no temporary tables created during search.

NOTE: There are currently issues that I am trying to resolve regarding node access and the query that gets rewritten when I wrap the search function in db_rewrite_sql. I am trying to fix this as soon as possible.

NOTE: Please download the development snapshots as these are more accurate working releases. Also, this module works independently of the search.module.

VersionDateLinksStatus
5.x-1.22007-Aug-19Recommended for 5.xThis is currently the recommended release for 5.x.

German Stemmer

This module implements stemming according to the Porter algorithm.
It will help the german community to offer better searching capabilities to there users.
Beside the rules for stemming the module contains a hard coded list of stop words as well as a list of exceptions.

The current version of the search module does not support highlighting
/ marking stemmed key words. A patch (to search) accompanies this module which offers the missing functionality.

VersionDateLinksStatus
5.x-1.02007-Oct-21Recommended for 5.xThis is currently the recommended release for 5.x.

Google Ajax Search Module

The main googleajaxsearch module allows you to add inline searches over a number of Google services (Web Search, Local Search, Video Search, Blog Search, and News Search).

VersionDateLinksStatus
5.x-1.02007-Feb-12Recommended for 5.xThis is currently the recommended release for 5.x.
4.7.x-1.x-dev2006-Nov-21Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

Google Custom Search Engine

Google Co-op Custom Search Engine (CSE) is an embedded search engine that can be used to search any set of one or more sites. No Google API key is required. More info at http://www.google.com/coop/cse

After installing this module, configure it by entering Google's alphanumeric ID for your CSE. Once you have granted permission for one or more roles to search the Google CSE, the search page can be found at search/google, and a search block can also be enabled.

Due to Google and Drupal both making use of "q", this module requires that clean URLs be enabled.

VersionDateLinksStatus
6.x-1.02008-Mar-15Recommended for 6.xThis is currently the recommended release for 6.x.
5.x-1.42007-Aug-01Recommended for 5.xThis is currently the recommended release for 5.x.

Google Keyhaviour

Google Keyhaviour was written to produce dynamic content to aid in SEO and Google AdSense 'landing page' campaigns. Google Keyhaviour does the following:

  • Determines if a user has come from Google
  • Checks the user's keywords and matches them against criteria you define
  • Based on these matches, and rules that you define, the behaviour of your Drupal site will change. The following is a list of possible behaviour changes.
    • visibility of selected blocks
    • 'front page' path of your site
    • 'site slogan' text
    • default 'theme'
    • 'site name' text
    • 'site mission' statement
    • 'site footer' content
    • 'favicon' path
    • 'logo' path
    • node/page 'title'
    • node/page 'body'
    • 'head title' override

See a screenshot of the configuration screen!

Google Search

Google Search is a very small module that provides a search block that uses Google's Site Search functionality to search the current site. It is an alternative to Drupal's built-in search functionality. Pairing this module with Google SiteMap is probably a good idea.

Please be aware of the Google Site Search Terms of Service before using this module.

VersionDateLinksStatus
5.x-1.02007-Jan-24Recommended for 5.xThis is currently the recommended release for 5.x.
4.7.x-1.02007-Jan-24Recommended for 4.7.xThis is currently the recommended release for 4.7.x.

Google Search Appliance

This module integrates a GoogleMini / Google Search Appliance with Drupal using hook_search.

Currently it supports the following features:

  • Keyword search
  • Caching of results to increase response time and decrease load on GSA
  • i18n support to limit language
  • Date display on search results
  • Type display on search results
  • Author display on search results
  • KeyMatches (recommended links block)
  • Setting to ignore / read in blocks on a block by block basis
  • A couple sad simpletests

When the first official version is released it will contain:

  • Advanced search screen
  • Date sorting
  • Indexing helper

Installation

  1. Enable the module
  2. Go to the settings page and configure your collection name, ip address of your GSA/mini and caching (if needed)
  3. Optionally, enable the recommended links block

Usage

Go to search/google_appliance

Credit

Sam Lerner for much of the development and CivicActions for partially funding the effort.

VersionDateLinksStatus
5.x-1.0BETA22008-Apr-08Recommended for 5.xThis is currently the recommended release for 5.x.

gProximity

The gProximity module provides the ability to display a view in the form of a Google map by adding various fields to the map, with at least a Latitude field and Longitude field, any collection of content can be viewed.

The gProximity map also provides the ability to enter an address and the closest locations to the address will be listed next to the map.

Required Modules

Code sponsored by It Is Written.

VersionDateLinksStatus
5.x-1.x-dev2008-Apr-21Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

Legacy Path

Legacy Path is intended to support websites that are moving to Drupal but have content that either won't be managed by Drupal immediately or at all, but must remain reachable through it's original URL. The assumption is made that the legacy system remains operational, but at a different (sub)domain or directory.

Note per #236414: Module does not work with 'Normal' caching enabled. that this module does not work with Normal caching enabled.

For example, an online newspaper might have an existing archive system that provides permalinks such as:
http://paper.example.com/content.php?section=12&article=22
After a Drupal installation, the online newspaper has moved the old system to the URL:
http://archive.example.com/content.php?section=12&article=22

This module accomodates redirecting (using HTTP redirects) the old URL to the new URL.

VersionDateLinksStatus
5.x-1.12008-Feb-25Recommended for 5.xThis is currently the recommended release for 5.x.

Live Search

Live Search aims to provide Drupal's search module a live search functionality through Ajax and to degrade gracefully to a normal search box when the user has JavaScript turned off. It has the following features:

  • Choice between theme-provided or module-provided search box. Live Search builds upon an existing search box. Most themes provide their own search box, and the search module itself also provides a search block. You can choose which search box to enable live search functionality on.
  • Compact search box. This enables the search box to behave in a more Apple style, such as the lack of the "Search" button, with the "Search" phrase embedded in the text field itself.
  • Ajax request firing delay. To save bandwith and ease server loads, an Ajax search request is fired, by default, after the user stops typing the keyword for 1250 milliseconds.
  • Snippet and node info hiding. To save screen real estate, you can opt to hide the snippets (excerpts), the node info (showing various information such as node type, author, and date), or both.

Live Search fully utilizes Drupal 5's built-in jQuery JavaScript library.

VersionDateLinksStatus
5.x-1.02007-Apr-19Recommended for 5.xThis is currently the recommended release for 5.x.

Live.com Search

Provides a search tab which pulls results from Microsoft's Live Search web service. The search query can be limited to a set of sites, and various advanced search query strings can be used (or appended to all search queries).

Note: PHP 5 and the PHP 5 SOAP extension are required!

This module has many potential improvements, e.g. javascript UI, additional search options (e.g. location-based search), flood control, caching, etc. Patches are welcome.

VersionDateLinksStatus
6.x-1.02008-Mar-16Recommended for 6.xThis is currently the recommended release for 6.x.
5.x-1.12007-Dec-22Recommended for 5.xThis is currently the recommended release for 5.x.

Multisearch

Multisearch is a module that present different search-options (engines) in a block or in the searchpage.

At the moment the module has static engines included. For the future is planed a dynamic search-engine-selection (global and for profiles), some ajax-functions for previewing the searchresults from external searchengines in the searchpage (multi-search).

VersionDateLinksStatus
5.x-1.x-dev2007-Oct-26Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

Multisite Search

This module allows you to create a way for end users to search across *all* sites seamlessly in a multi site Drupal installation. Users can search content of all the sites (Drupal multi site) and search can be initialed from any of the multi site through a search box. The module is dependent on the search module.

Thanks to lebachai for permission to share with the community.
This module was initially developed for Cleveland Public Library, a website based on Drupal.

Please feel free to provide suggestions, comments and bugs for this module.

VersionDateLinksStatus
6.x-1.x-dev2008-Feb-18Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
5.x-1.x-dev2008-Feb-14Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

Node Profile Search

Enables searching of node profiles, with results linking to user profiles.

VersionDateLinksStatus
5.x-1.x-dev2007-Dec-19Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

Node Quick Find

Node Quick Find

This is a simple module which provides a block containing an auto-complete field which acts on the node title. This allows you to start typing a node title, it shows a list of possible options, you click one and hit enter and you are taken to the node of your choice.

This is very useful for sites where the user likely already knows the title of the node they'd like to view.

This module currently provides only 1 block - but this block can have its field title and field size configured and can also only select nodes from specified node types.

This module is currently in use at the demo site, http://api.dbp-site.com/ where it is used to easily lookup command for the language Dark Basic Pro.

VersionDateLinksStatus
5.x-1.02008-Apr-06Recommended for 5.xThis is currently the recommended release for 5.x.

Nofollow

This is a quick little module to allow you to selectively apply nofollow to menu items and taxonomy terms to allow 'sculpting' of pagerank - effectively allowing you to focus search engines' attention on particular areas of your website by controlling the flow of link juice around your website.

This can be useful for large websites, by moving the focus away from links repeated on every page (About us, Contact Us, Privacy Policy, T&Cs etc) and onto the content itself, whilst still allowing you enough granularity to ensure these pages are indexed, somewhere.

It uses roughly the same admin menu as the block visibility sections, allowing you to enable or disable nofollow on a page by page basis, or even to use PHP code to determine whether nofollow is passed or not.

To install you will need to add some custom theming functions, see the readme.txt file for more information

VersionDateLinksStatus
5.x-1.x-dev2008-Mar-03Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.

OpenSearch Client

Turns your Drupal site into an OpenSearch client capable of searching 3rd party sites that offer OpenSearch RSS feeds. See http://opensearch.a9.com/ for more information.

RSS parsing is handled by the Magpie RSS library. This enables search requests to remote sites to be cached in order to politely limit the amount of overhead and traffic caused.

There is now a working group to discuss Lucene and Nutch: http://groups.drupal.org/lucene-and-nutch

VersionDateLinksStatus
5.x-1.02007-May-21Recommended for 5.xThis is currently the recommended release for 5.x.
4.7.x-1.x-dev2006-Dec-12Development snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
 
 

Drupal is a registered trademark of Dries Buytaert.