What is Live Search? Live search, often called Ajax search, dynamically updates search results as users type into the search bar. This provides instant feedback, allowing users to find what they’re looking for without needing to submit the form or reload the page. Why Enable Live Search? Enabling live search improves the user experience by:...
The Search tab of the Better Search settings page offers a collection of options that allow you to fine-tune how search results are generated, displayed, and filtered. Below is an explanation of each available setting. Search Configuration Number of Search Results per page Set the maximum number of search results displayed per page. Post types...
Better Search can highlight the terms a visitor searched for, both on the search results page and on the post or page they click through to. This makes it easy for visitors to spot why a result matched their query. How it works Highlighting has two settings on the Output tab of the Better Search...
Better Search Pro CLI (BSP-CLI) was introduced in Better Search Pro v4.3.0, allowing you to manage search operations without touching the admin dashboard. If you’re running large-scale WordPress installations or automating deployments, these commands handle everything from cache warming to database maintenance. About WP-CLI WP-CLI is a set of command-line tools for managing WordPress installations....
Better Search works out of the box. Install and activate it and you’re ready to go. By default, Better Search integrates with your theme by overriding the main query to display relevant search results. If you turn Seamless Mode off, then Better Search will look for a file called better-search-template.php in your current themes folder....
Better Search enhances WordPress’s native search capabilities to deliver more relevant results to visitors. At the heart of this functionality is the Better_Search_Query class, which you can use for optimal search performance on your site. What is Better_Search_Query? The Better_Search_Query class extends WordPress’s native WP_Query class, significantly improving search relevance and performance. It implements MySQL’s...
Better Search 4.5.0 registers abilities with the WordPress Abilities API. The shared ability runs a relevance-weighted search; Better Search Pro adds abilities for popular search terms, spelling suggestions, and clearing the cache. Pro 4.6.0 adds management abilities for the cache, database, custom index, statistics, settings, and stopwords. Requirements Using an AI assistant The Abilities API...
Better Search Pro 4.5.0 exposes AI answers through POST /wp-json/bsearch/v1/ask and the better-search/ask WordPress ability. Both use the same retrieval, limits, cache, and answer validation. The module must be enabled and a compatible WordPress AI Client provider configured. REST request Send a JSON body with question, a plain-language question of 3 to 300 characters. The...
Better Search works with WPML, Polylang, and TranslatePress to return results in the visitor’s active language. It resolves each result to its translation where one exists and keeps its caches separate per language, so results from one language are not shown in another. How Better Search handles languages The language logic lives in one class,...
Efficient Content Storage & Indexing (ECSI) is an advanced data storage system for Contextual Related Posts Pro and Better Search Pro, significantly improving the quality of related posts and search results with enhanced performance. The post content is stored in custom database tables optimized for search and retrieval. This feature was first introduced in Contextual...
What is “Did You Mean”? When a visitor’s search returns zero results (often because of a typo or misspelling), “Did You Mean” suggests a corrected search term instead of leaving them with an empty results page. Depending on the mode you choose, Better Search Pro either shows a clickable suggestion link or transparently re-runs the...
Most of my plugins, including Contextual Related Posts, Top 10 and Better Search, run SQL queries to fetch information from the WordPress database. I usually tell many users who request support in the forums to install Query Monitor and check the SQL generated by the plugin. It also helps to run the queries in phpMyAdmin...