Dated fixes and setup changes, newest first. These updates retain version 0.6.0; the KPZ filename and checksum identify the exact build. A newer plugin upload alone does not update the server integration.
0.6.0 — schema-6 upgrade by index rebuild
· Build b6ccc623af59
Servers still running a schema-6 engine now have a direct upgrade path. Instead of the guarded migration workflow, setup installs the schema-7 engine and rebuilds the index from the catalog. Searches keep working on another engine while it runs.
What happens
As soon as the KPZ is uploaded, the plugin detects the schema-6 engine and sends every search to the fallback engine chosen in the plugin configuration, or to Zebra if none was chosen. Results pages name the engine that answered and every search is logged. SEARCHENGINE stays on RustSearch.
Run the bundled setup command with --rebuild-index. Setup checks free space, builds and tests the schema-7 engine, stops the old one, moves its indexes aside (kept for inspection, never put back into service) and starts the new engine with empty indexes. The whole catalog and all authorities are queued.
The worker indexes about 500 records a minute; 100,000 records take about 3½ hours. When the new index holds every record, searches return to RustSearch automatically. Records that keep failing are listed in the plugin and do not hold it back.
Without --rebuild-index, setup stops before changing anything and prints the command. --update on a schema-6 engine points to --rebuild-index.
Other changes
The plugin now accepts only a schema-7 engine. A schema-6 engine is never searched, even where it previously answered.
The readiness command on the plugin page is marked optional. It is a diagnostic report, not a step required before SELECTING RUSTSEARCH IN SEARCHENGINE, and it no longer reports enabled fallback as a failure.
Pages and messages that still said searches never fall back now describe the Rust-first fallback setting.
Updating: compatible schema-7 servers update as before with the bundled --update command; their indexes are retained. Schema-6 servers use --rebuild-index. If fallback was off before the upgrade, the fallback engine has not received catalog changes made since; check that its index is current before rebuilding.
Checks: 1,980 Perl assertions and 311 Python tests passed, with five privileged cases skipped. The rebuild has been tested with simulated servers; it has not yet been run against a live schema-6 installation. Engine source is unchanged from build 5a887f5f95a3.
0.6.0 — Rust-first fallback, invalid ISBN lookups and installer cleanup
· Build 5a887f5f95a3
Optional fallback while RustSearch is selected
The fallback setting on the plugin’s configuration page now applies while RustSearch is the selected SearchEngine. Every search RustSearch supports still runs in Rust first. Only when a search fails in Rust, or uses something RustSearch cannot run, does the configured Zebra or Elasticsearch engine answer it.
Fallback is always visible: the results page names the engine that answered, and the Plack error log records RustSearch fell back to <engine>: <reason>. A fallback result is never reported as a RustSearch result.
Fallback stays off unless an administrator enables it. With fallback off, these searches return an explicit error, as before.
While fallback is on, catalog changes are also sent to the configured engine’s indexer, so its index stays current.
When the engine rejects a request, the log now gives its reason instead of a generic “HTTP failure”.
ISBNs with a bad check digit
An ISBN whose check digit is wrong, a common publisher misprint, no longer makes the search request fail. Before this fix, saving a catalog record with such an ISBN in 020 $a could fail with an error, because Koha’s duplicate check received no decision. The lookup now matches only records carrying exactly the same digits and never treats the value as equivalent to a valid ISBN. Text that is not an ISBN finds no match instead of an error. Records indexed before this update gain the exact-digit match when they are next reindexed; until then the lookup returns no match for them rather than an error.
Installer disk space and cleanup
Setup and updates check free disk space before extracting anything. Building the engine needs about 5 GB in the administrator’s home directory; --check-only reports the same check.
After a successful run, the temporary build folder and launcher copy are removed, and logs are kept in ~/rustsearch-logs/. A failed run keeps its folder for investigation and prints the command to remove it. Folders left by earlier runs are reported with their size.
Steps that run as root no longer leave root-owned cache files in the administrator’s home directory.
Several instances on one server can be updated in one run with --instances. The engine is built and tested once and reused for each instance; the run stops at the first failure and reports which instances finished.
Unreadable authority records
Some imported authorities contain a subfield coded with a quotation mark, usually a 670 citation that lost its $b. Koha stores these as MARCXML it cannot read back, so the authority could not be opened or indexed, and RustSearch authority setup never finished (“Authority MARC unavailable”).
The authority worker now repairs this case automatically. The subfield becomes 670 $b with its opening quotation mark restored; no text is removed. The original MARCXML is backed up first, and the record is saved through Koha without changing linked bibliographic records.
Damage it cannot repair with certainty is left unchanged and reported with the authority number and field.
While authorities are failing, the plugin’s setup message now shows how many are indexed and which records are failing, instead of only asking to rerun setup.
Plugin page
The setup and update commands on the plugin’s Update/Setup page now contain the name of the Koha instance the page belongs to, so they can be copied and run without editing. Pages outside the standard /var/lib/koha/<instance>/plugins layout keep the INSTANCE placeholder.
Each command on the Update/Setup page has a Copy button. If the browser blocks clipboard access, the button selects the command so it can be copied with Ctrl+C.
Koha’s plugin list now shows the correct “Updated” date for this release; earlier packages kept showing November 1, 2026.
Updating: upload the KPZ in place, then run the bundled --update command; the ISBN fix is in the engine, so --existing-engine alone does not apply it. The authority repair runs in the indexing worker, which either command installs. There is no schema change and compatible schema-7 indexes are retained. Before enabling fallback, make sure the fallback engine’s own index is current.
Checks: 1,950 Perl assertions and 308 Python tests passed, with five privileged cases skipped. The engine’s 70 tests passed on an x86-64 build; the ARM64 build was not re-tested for this change. The default keyword, legacy control-character and authority indexing fixes are included.
A plain keyword search such as tax notes now behaves like tax AND notes. Both words must match, and they can appear in different indexed fields. Use tax OR notes to match either word, or "tax notes" to require the phrase.
The change aligns the default operator with the observed Zebra search. Hit sets can still differ because the engines index and normalize catalog data differently.
Apply the bundled engine update to get the new behavior. Compatible schema-7 indexes are retained without a rebuild. The legacy control-character and authority indexing fixes are included.
0.6.0 — legacy MARC and call-number indexing
November 18, 2026
Tabs, line breaks, and other Unicode C0 and C1 control characters in pasted or imported data could cause the worker to report HTTP 400 for an entire batch. A rejected batch could leave unrelated titles missing from search.
The worker now uses spaces in indexed text and item call numbers. It skips control-damaged identifiers and codes in lookup fields. The source MARC and item values remain in Koha.
Update the plugin and the installed worker. Existing compatible schema-7 engines can retain their indexes and resume scheduled retries. Verify the queue and catalog coverage after updating.
Earlier package · retained in this release
0.6.0 — authority initialization and automatic indexing
· Build d12afdf95b10
Repairs missing native authority indexes that could interrupt blank searching and Z39.50 saving. Setup and updates initialize capture, ensure automatic schedules exist and start a bounded cycle. Explicit pauses remain visible and can be resumed with --resume-authorities.
Stored legacy rows keep their MARC, IDs and links; missing headings are not fabricated. All 69,976 authorities on the affected installation indexed successfully, and the customer confirmed the original save workflow. Current checks passed 1,852 Perl assertions and 297 Python tests, with five privileged skips.
Earlier engine builds require --update. Compatible bibliographic indexes are retained; no full bibliographic reindex is needed.
Fixes advanced OPAC searches being rejected when Koha includes its weighting-checkbox submission marker. The marker describes form state; the adapter no longer mistakes it for an unsupported search operation.
Retains native query behavior, filters, sort order, suppression and authoritative public item visibility.
Preserves the submitted checkbox state in pagination links and leaves caller parameters unchanged.
Includes the installer hardening, barcode repair and optional OpenSearch API with Swagger from prior builds.
Passed 1,708 Perl assertions and the 273-case Python suite, with five privileged cases skipped. The customer confirmed the repair worked on the affected installation. Engine source and schema 7 are unchanged; this does not introduce a new ranking algorithm.
Update the existing plugin in place, then run bundled setup with --existing-engine on a compatible schema-7 installation. No engine rebuild or reindex is needed for this repair.
Fixes a runtime parent directory being created without Koha-account traversal under the launcher’s private umask. This could stop installation before the lifecycle helper could run.
Explicitly prepares verified root-owned code and registry directories and checks staged files as the selected Koha account.
Preserves private data, backups and ACLs. Unsafe ownership, symlinks and security-policy blockers produce actionable errors.
Resumed installation writes logs in the extracted setup directory.
The 273-case Python suite passed with five privileged cases skipped locally; separate real-account and Ubuntu container tests cover ACL denials and noexec mounts. Native search and schema 7 are unchanged. This is supported-layout hardening, not certification for every cloud image.
Update the existing plugin in place. For an unfinished first installation, rerun its normal setup command. Compatible installations may use --existing-engine for this installer-only change; --update also refreshes the engine when needed. No reindex is required.
0.6.0 — general update guidance and compatible updater correction
· Build afb945d8efb5
The plugin’s Update RustSearch section now gives reusable instructions for updating the engine and plugin. Release-specific fixes and incident details belong in these dated release notes.
Distinguishes --update, which replaces the engine and matching components, from --existing-engine, which retains the executable.
Applies the supported SearchEngine preference guard before extending its trusted integration baseline. Both preference files are included in the update backup and rollback.
Shows captured subprocess errors when an update step fails, so the underlying cause is visible.
Retains the staff barcode repair, optional OpenSearch API and Swagger. The native engine source and schema are unchanged from the preceding validated build.
Validated with 254 Python tests and 1,671 Perl assertions. The unchanged engine matches the previously validated ARM64 and x86-64 source provenance. The separately reported Z39.50 save HTTP 500 remains unresolved.
Repairs a missing barcode result in general staff keyword search when explicit Barcode search already finds the item. The simple keyword path now searches the barcode projection already present in schema 7.
Retains leading zeroes, explicit field scope, result visibility and pagination. Item-masked requests retain their existing visibility path.
Requires an engine executable refresh using the new package’s bundled --update command. A KPZ upload alone or --existing-engine does not apply this engine change.
No record reimport, schema migration or full reindex is needed for this repair.
Retains the optional OpenSearch API and Swagger. The API stays disabled by default; an already-enabled listener is preserved during update.
Portable ARM64 and x86-64 builds passed the 77 native HTTP checks, including barcode regressions, and the 31 optional API checks on each architecture. The Configuration page now distinguishes engine updates from plugin-only refreshes.
The November 2 barcode-only repair did not address Z39.50 saving. The November 6 authority-initialization repair now has customer-confirmed save acceptance; see the latest release above.
An additional, experimental interface for trusted local applications. OpenSearch clients can run the supported read-only searches and counts against the existing RustSearch bibliographic index. Native Koha integration and the index schema stay unchanged.
Optional at build time and disabled at runtime by default; uses a separate loopback listener and /opensearch/v1 namespace.
Includes a versioned OpenAPI specification and locally bundled Swagger UI with interactive requests.
Supports a defined query subset, exact totals, pagination and stored fields. Requires _source: false; original JSON documents are not retained.
No OpenSearch or Elasticsearch server dependency. Unsupported operations return explicit errors; this is not full Elasticsearch compatibility or a drop-in replacement for Koha’s Elasticsearch adapter.
The compatible updater preserves index paths, tenant ports and enabled API settings. The prior pagination repair and schema-7 activation guard remain included.
API checks passed on ARM64 and x86-64 using the official OpenSearch Python client 3.2.0. Enablement requires an engine refresh and a separate administrator opt-in; uploading the KPZ alone does not enable it.
Fixed staff and OPAC searches failing with “Invalid pagination parameters” when Koha requests more than 100 records per page. The adapter collects the requested page in native requests of at most 100 records, within the supported 10,000-result window.
Preserves result order, offsets, visibility rules, totals and facets.
Detects incomplete, duplicate or changing result pages instead of returning a successful partial response.
Logs the underlying native search error for future diagnosis.
Update the existing plugin; do not uninstall. Upload the new KPZ and run its bundled setup with --existing-engine on a compatible schema-7 server. No engine rebuild or reindex is needed. If search is currently restored by a 20-result page-size workaround, keep that setting until the update completes.
Verified with 1,668 Perl assertions and real Koha searches at 20, 200 and 500 records per page, including later pages and ID/order comparisons. The earlier performance optimizations and activation guard remain included.
Checks the running engine schema, profiles and native capabilities before saving SEARCHENGINE. An incompatible engine leaves that preference unchanged.
Reports server setup or coordinated migration requirements instead of hiding an engine mismatch behind a generic search error.
Requires schema 7 for production updates and prohibits schema-6 production rollback.
Update in place; do not uninstall. Upload the new KPZ. If the check reports a compatible local engine, run the same bundled command with --existing-engine instead of --check-only. The read-only check does not apply changes. Schema-6 servers need coordinated migration.
Verified with 1,631 Perl assertions, targeted activation/update/integrity tests and checks of the bundled source manifest. Existing native engine optimizations are retained.
Earlier package · retained in this release
0.6.0 — bounded item lookup and text normalization
· Build ebed7eb6b4f2
Item-ID queries narrow candidates through a compact reverse lookup while retaining item visibility, availability and other predicates. A fixed entry budget falls back to the existing native scanner for oversized segments.
ASCII text uses a fast Rust normalization path. Non-ASCII text retains the existing Unicode routine. No assembly or index schema change is introduced.
Stress checks cover concurrent commits, merges, old snapshots, updates, deletes, shared identifiers and budget fallback. Multilingual canonical text and token positions matched the reference on 80,173 strings.
In local synthetic measurements, warm item-ID latency fell about 97% at 150,000 items; at one million items the bounded fallback limited the gain to about 20%. These are native-handler measurements, not a whole-import or browser speed claim. Published historical benchmark charts are unchanged.
Install the engine change
Fresh setup builds the bundled engine when missing. Existing libraries must rebuild and refresh the native executable with a coordinated backup/probe/restart procedure. A KPZ upload or --existing-engine refresh alone preserves the older executable. Compatible schema-7 indexes do not need a full reindex for this update. Batch sizes, schedules and engine selections are unchanged.
Removed catalog-completeness gates from staff/OPAC, browse and authority searches. Pending updates, retrying records and catalog-count differences no longer disable searches.
OPAC activation no longer waits for indexing to finish. Backend compatibility and OPAC visibility restrictions remain enforced.
Malformed MARC failures remain visible and retryable. Missing records stay absent from search until indexed; catalog readiness is a diagnostic report, not an activation prerequisite.
Initial setup continues when the worker reports individual record failures, while fatal worker errors remain explicit.
Apply to an installed library
Upload this KPZ without uninstalling. To enable OPAC using the updated plugin and reload Plack, replace INSTANCE in the paths and final argument with the library’s instance name:
SELECT RUSTSEARCH IN SEARCHENGINE to use the current index. No full reindex or catalog changes are required. The normal --existing-engine refresh also installs this behavior in the protected worker copy.
Verified with pending work and ten retrying decoding errors. Historical behavior described below is superseded by this update.
0.6.0 — protected multi-tenant setup
· Build a393940d4f77
Protected plugin directories: fixed setup stopping with “Permission denied” while checking or backing up an existing tenant’s plugin. File and ownership checks now use sudo without loosening Koha directory permissions.
Launcher access: the plugin’s setup guide now copies bundled launcher files with sudo, then runs the copy as the normal SSH user.
Correct refresh instructions: compatible schema-7 installations use --existing-engine. The guide no longer directs them to the legacy schema-6 engine updater.
Updating an existing library
Upload the latest KPZ through that library’s Koha plugin manager; do not uninstall the existing plugin.
Open the plugin’s Configuration page and follow its updated SSH instructions. For a compatible schema-7 engine, use the existing-engine refresh command. For an unfinished first installation, rerun normal setup for that instance.
Check indexing status and readiness, then test staff and OPAC searches. SELECT RUSTSEARCH UNDER ADMINISTRATION > SEARCHENGINE TO USE THE CURRENT INDEX. Indexing completeness is diagnostic; the separate OPAC flag validates visibility enforcement.
The compatible refresh reuses the engine binary and indexes and does not request a full reindex. Older or incompatible indexes require a separate migration. A failed setup can leave earlier steps installed; keep its log and backup paths.
Using an earlier extracted setup folder? It still contains the old installer. Use the newly uploaded KPZ’s setup guide to extract and run the corrected bundle.
Verified with 249 Python tests, 1,618 Perl assertions and a full setup run against a protected tenant plugin directory.
0.6.0 — OPAC activation and engine switching
· Earlier build d8d8ce412ce6; included in the latest package
Setup validates and enables OPAC automatically once indexing coverage is complete. If indexing is still running, the scheduled worker completes activation afterward.
Readiness cannot pass with OPAC activation disabled.
Saving a changed SEARCHENGINE through Koha Administration reloads that instance’s running Plack. The separate OPAC enable flag is preserved.
A failed automatic reload is reported explicitly. Direct SQL or command-line preference changes still require an explicit Plack reload.
0.6.0 — tenant setup and optional authorities
· Included in the latest package
One bundled setup can configure selected Koha instances. Each receives its own service, endpoint, indexes and worker; its dashboard uses its own Koha database for stats, errors and settings.
Interactive setup supports a normal sudo password and maintains authorization during long builds.
Recognized stock Koha source can receive the required plugin-engine integration with staged checks and backups.
Libraries without authority records can index author and subject text normally. Unresolved authority links remain unchanged in MARC and appear as separate warnings; real indexing failures remain retryable errors.
Installation, upgrades and validation details
Pagination repair — build 31c1a0e8b34a: update the existing plugin; do not uninstall. Larger Koha pages now use bounded native requests instead of failing above 100 results. Run the bundled server setup before SELECTING RUSTSEARCH IN SEARCHENGINE. Compatible schema-7 engines use --existing-engine; schema 6 requires coordinated migration. The corrected activation guard refuses incompatible engines. Repair instructions.
The latest build adds bounded item-ID lookup and faster ASCII normalization. Existing installations need an engine binary refresh; a KPZ upload alone does not update the executable. Performance update and upgrade details.
Release acceptance passed for the documented Koha MARC21 profile on ARM64 and x86-64. Validate your library’s catalog and settings in staging before production. Historical benchmark snapshots remain labeled as measurements, not live telemetry.
These notes describe packaged changes, not live server telemetry. Published benchmark statistics retain their saved measurements. See setup, migration and limits for the supported profile. When RustSearch is selected, searches execute in Rust without automatic fallback to another engine.