This module provides fast, IMDB-style autocomplete suggestions below text fields. Suggestions are pre-generated into JSON files for quick retrieval, with Drupal stepping in to generate them if needed. This allows for efficient searching using methods like basic title matching or Search API, and the suggestion display can be customized with view modes.
The Fast Autocomplete module provides fast IMDB-like suggestions below a text input field. Suggestions are stored as json files in the public files folder so that they can be provided to the browser relatively fast without the need for Drupal to be bootstrapped.
When the JSON file with the suggestions for the entered combination of characters does not exist, Drupal kicks in and suggestions are retrieved and returned by Drupal (and stored in a json file in the public files folder for future use). The JSON files are periodically deleted after a configurable expiration period (defaults to 1 day).
The suggestions are retrieved using a search service/plugin. The search services/plugin provided by the module can be altered through hooks or added by implementing a custom plugin.
Basic search services/plugins provided by the module are:
- Basic title search: performs a LIKE query on node titles in the node table
- Search API: queries Search API indexes
The output of the suggestions can be configured using view modes.
Dependencies
The Fast Autocomplete module does not have any dependencies.
Installation
See README.txt in the module codebase for installation instructions and more information about the module.
Examples
You can see this module in action when you use the search box on:
Ask your assistant about Fast Autocomplete
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.