LiteSearch

Description

LiteSearch is a modern search enhancement plugin for WordPress that rethinks how users discover content. Instead of relying on traditional keyword-only matching, LiteSearch introduces a hybrid approach that blends local indexing, fuzzy matching, and optional AI-powered semantic ranking.

At its core, LiteSearch is designed to make search feel faster, smarter, and more intuitive—especially on content-heavy websites such as blogs, knowledge bases, WooCommerce stores, and online learning platforms.

A smarter approach to search

Traditional WordPress search often struggles with relevance. LiteSearch addresses this by introducing a multi-layered search pipeline.

When a user types a query, LiteSearch simultaneously evaluates results using multiple signals:

  • Keyword relevance based on title and content matches
  • Fuzzy matching to handle typos and partial inputs
  • Optional semantic AI scoring for meaning-based retrieval
  • Content freshness to prioritize recent posts
  • Popularity signals based on user click behavior
  • Intent detection to better understand user goals

These signals are combined into a unified ranking system that ensures the most relevant content consistently appears at the top.

Intelligent ranking system

One of the key strengths of LiteSearch is its configurable ranking engine.

Each result is scored using weighted factors:

  • Text match strength
  • Semantic similarity score
  • Content freshness (based on publish date)
  • Click-through popularity
  • Intent alignment with detected query type

Website owners can adjust ranking weights to prioritize different types of content depending on the site’s needs.

Explore ranking

Real-time user experience

The plugin is built for instant interaction. Search results update as the user types, with input handling optimized through debouncing and caching.

LiteSearch also includes:

  • Keyboard navigation support (Tab, Enter, Escape)
  • Search result highlighting
  • Empty and no-results states
  • Modal and inline display modes
  • Search history stored locally in the browser

These features create a smooth and responsive search experience.

Product and content awareness

LiteSearch is designed to support multiple content types, including WooCommerce products.

For product-based sites, it can display:

  • Featured image
  • Product pricing
  • Stock status
  • Review score

This makes it suitable for both editorial and eCommerce environments.

REST API integration

LiteSearch communicates with WordPress via REST API endpoints for search execution.

Endpoints include:

  • /wp-json/litesearch/v1/search

This architecture keeps the system modular and scalable.

Flexible UI modes

LiteSearch supports both modal and inline implementations.

  • Modal Mode: Full-screen overlay search experience
  • Inline Mode: Embedded search bar for headers, sidebars, or pages

Both modes share the same underlying search engine and configuration system.

Developer friendly

The plugin comes with built-in hooks and filters so developers can customize the search result widget HTML structure, used icons, and even the search result display templates.

Explore filters

Optimized for performance

LiteSearch is optimized for performance with several built-in strategies, like debouncing and caching.

These optimizations ensure that search remains fast even on large websites.

External services

This plugin can connect to the OpenAI API to obtain vector information for semantic embeddings. It is needed to calculate the semantic similarity for search results in the included widget.

It sends the user search query to the API to retrieve the vector embedding. This will be compared against the calculated vector embedding of the WordPress posts.
(If the user hasn’t provided their OpenAI API key, the OpenAI API will not be used at all. It will default to the hybrid keyword matching search engine).
This service is provided by “OpenAI”: terms of use, privacy policy.

Installation

  1. Upload the plugin folder to /wp-content/plugins/litesearch
  2. Activate the plugin in the WordPress admin panel
  3. Ensure REST API access is enabled
  4. Add a search trigger or inline widget to your theme

FAQ

Does LiteSearch replace default WordPress search?

Yes. It can fully replace the default search system.

Does it support WooCommerce?

Yes. It includes product-aware rendering for WooCommerce stores.

Does LiteSearch use AI?

LiteSearch does not use AI by default. AI-based semantic search is optional and can be enabled via configuration by entering your OpenAI API key.

Can it be used without a modal?

Yes. LiteSearch supports inline search widget as well.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“LiteSearch” is open source software. The following people have contributed to this plugin.

Contributors

Translate “LiteSearch” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Change log

1.0.0

  • Initial release
  • Hybrid search engine (keyword + fuzzy + AI semantic support)
  • Ranking system with multi-factor scoring
  • Real-time AJAX search
  • Recent search tracking
  • Product-aware result rendering
  • REST API integration