MiniSearch logo

MiniSearch

Published April 2026
   •    Updated October 2026

Plugin details

Add fast full-text search to Bubble with MiniSearch across web pages, native mobile apps, and backend workflows. Build indexes from Bubble Things, search across selected fields, apply field weights, accent-insensitive matching, exact-match controls, contains-match controls for substring or suffix lookups, prefix matching, fuzzy search, relevance thresholds, suggestions, result limits, and highlighted values.
Demo | Editor

On web, use the MiniSearch Index element to build a client-side browser index from a list of Things. Bind a query directly or by Input HTML ID, choose up to 10 searchable fields, tune ranking, exact matching, contains matching, relevance thresholds, and matching behavior, and expose live states for matched results, counts, highlights, suggestions, scores, serialized index data, and index readiness.

On native mobile, use the Omni Mobile Search element to build and search an on-device index that uses the same BM25 ranking as MiniSearch, so results and scores match the web element. Pass Records to Index, bind Search Query to a native mobile input value, choose searchable fields from the selected Bubble data type, tune exact matching, contains matching, relevance thresholds, fuzzy matching, and prefix behavior, and read mobile states for Matched Results, Result Count, Indexed Count, Highlighted Values, Suggestions, Result Scores, Term Count, Index Ready, and Last Error.

The native mobile element also exposes mobile events for Results Changed, Search Failed, Index Ready, and Suggestions Changed, so mobile workflows can react when the on-device index updates.

For backend workflows and server-side execution, use the Search Records server-side action. Pass a list of Things, choose and weight fields to index, and receive matched results, result scores, result count, indexed count, error handling, and optional highlighted values.

Actions and elements included:
- MiniSearch Index element for web
- Omni Mobile Search element for native mobile
- Search Records server-side action
- Web element actions: Set Query, Clear Query, Rebuild Index
- Web index maintenance actions: Add Records, Remove Records, Replace (upsert) Records, Vacuum Index
- Web serialization actions: Export Index JSON, Load Index JSON
- Element events: Index Ready, Results Changed, Suggestions Changed, Search Failed

Free

For everyone

stars   •   0 ratings
34 installs  
This plugin does not collect or track your personal data.

Other actions

Platform

Web & Native mobile

Contributor details

OmniPortl logo
OmniPortl
Joined 2023   •   18 Plugins
View contributor profile

Instructions

Use the MiniSearch Index element on web pages when you want a client-side browser search index with reactive states and web element actions. Set Data Type, pass Records to Index, choose search fields, and bind the query either from the Query property or an Input HTML ID.
Use Exact Match Mode on the web or mobile search element when exact field matches should be promoted, returned exclusively, or used before falling back to normal ranking. Use Contains Match Mode when users need substring or suffix lookup against long IDs, codes, or text values that MiniSearch tokenization would not normally find. For values like long alphanumeric IDs, set Contains Match Mode to Contains Only or Contains First and keep Minimum Contains Query Length high enough to avoid overly broad short searches.

Use Minimum Relevance % to hide low-relevance fuzzy or prefix matches relative to the top score, Minimum Raw Score only for advanced score tuning, and Prefix/Fuzzy Result Weight to rank partial or typo matches below exact term matches.

Use the Omni Mobile Search element in native mobile apps when you want an on-device search index with MiniSearch-compatible ranking. Set Data Type, pass Records to Index, bind Search Query to a native mobile input value, choose text fields from the selected data type, and read Matched Results, Result Count, Indexed Count, Highlighted Values, Suggestions, Result Scores, Term Count, Index Ready, and Last Error. The mobile index is cached and only rebuilt when Records to Index or the search fields change, so typing only re-runs the search.

Mobile workflows can use the Results Changed, Search Failed, Index Ready, and Suggestions Changed events. The mobile element is reactive and headless; web-only Input HTML ID binding and web index-maintenance element actions do not apply to native mobile.

Use the Search Records server-side action for backend workflows, API workflows, and secure server-side execution. Pass the Data Type, Records list, Query, and fields to index. The action returns Matched Results, Result Scores, Result Count, Indexed Count, Highlighted Values, Success, and Error Message.

Ignore Accents (on by default everywhere) makes cafe match café and Jose match José. Match Combination Strategy AND requires every query word to match.

For best results, choose text-based fields, use field weights for ranking priority, enable Prefix Search and Fuzzy Search only when needed, set Minimum Query Length for short-query control, and use Maximum Results when you want to cap returned records.

Types

This plugin can be found under the following types:
Element   •   Event   •   Action

Categories

This plugin can be found under the following categories:
Productivity   •   Technical   •   Visual Elements   •   Data (things)

Resources

Support contact
Tutorial

Rating and reviews

No reviews yet

This plugin has not received any reviews.
Bubble