=== PinkSearch ===
Contributors: geraspauda
Tags: search, live search, ajax search, woocommerce, fulltext
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 8.1
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Fast, accessible live search dropdown with FULLTEXT indexing. WooCommerce-ready, FiboSearch-style, zero external dependencies.

== Description ==

PinkSearch adds a fast live search dropdown to any WordPress site using a custom MySQL FULLTEXT index. No external services, no JVM clusters, no Algolia keys.

Features:

* MySQL FULLTEXT index in a custom table (atomic shadow rebuild)
* Diacritic-insensitive matching (search "aciu", find "ačiū")
* Title-weighted relevance scoring
* Fully accessible WAI-ARIA combobox dropdown
* WooCommerce: SKU, price, stock, on-sale badge, OOS filter
* WPML and Polylang language tagging
* WP-CLI: `wp pinksearch reindex|status|flush|clear|search|settings`
* Page-cache compatible (WP Rocket / W3TC / LiteSpeed)
* Translation-ready (.pot included; lt_LT bundled)
* GPL-2.0-or-later

== Installation ==

1. Upload `pinksearch` to `/wp-content/plugins/`
2. Activate through Plugins > Installed Plugins
3. Go to PinkSearch in the admin sidebar to configure
4. Click "Rebuild now" on the Advanced tab to populate the index

== Frequently Asked Questions ==

= Does this require Elasticsearch / OpenSearch / Algolia? =

No. PinkSearch uses MySQL FULLTEXT and scales comfortably to ~10,000 posts.

= Does it work with WooCommerce? =

Yes. SKU, price, stock status, on-sale badge, and out-of-stock filtering are supported out of the box.

= Does it work with WPML / Polylang? =

Yes. Each indexed row is tagged with its language code; queries filter to the current language.

= How do I customize results? =

Use filters: `pinksearch/results`, `pinksearch/result_item`, `pinksearch/query/sql`, `pinksearch/index/row`. See the bundled `docs/HOOKS.md`.

= How big can the index get? =

The free plugin targets sites with under ~10,000 published posts. For larger catalogs the Pro plugin provides an OpenSearch backend.

== Screenshots ==

1. Live dropdown with grouped results
2. Settings — General tab
3. Settings — Sources tab
4. Settings — Display tab
5. Rebuild progress UX

== Changelog ==

= 1.1.0 =
* Live in-dashboard updates: PinkSearch now checks for new versions automatically via the self-hosted update channel (updates.pinkdude.com). When an update is available, it appears in Plugins → Updates just like any other plugin — no manual zip upload required.
* Update integrity: every download is verified with a mandatory sha256 checksum and host/path/basename guards before WP installs it (fail-closed).
* Release tooling: `bin/build-release.sh` produces the versioned zip and `info.json` for the update channel.
* NOTE for 1.0.0 installs: the updater is not present in 1.0.0. A one-time manual upgrade (Plugins → Upload Plugin → Replace current) to 1.1.0 is required before automatic updates can take over. See docs/deployment-guide.md for the full bridge procedure.

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.0 =
First public release.
