[Bug 43358] New: Zebra: add a reduced-parity Lucene query translation layer for the new /search endpoint
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43358 Bug ID: 43358 Summary: Zebra: add a reduced-parity Lucene query translation layer for the new /search endpoint Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Searching - Zebra Assignee: koha-bugs@lists.koha-community.org Reporter: martin.renvoize@openfifth.co.uk QA Contact: testopia@bugs.koha-community.org Depends on: 43355 Target Milestone: --- Bug 43355 establishes a Lucene-style query language as the standard syntax for the new /search endpoint, translated natively by Elasticsearch's own query_string handler. Zebra has no equivalent native support, and per community discussion on Bug 25870, cannot index items separately or join bibs/items the way the new architecture's item-level correctness (combined filters, facet accuracy, query-time OpacHiddenItems enforcement) depends on. This bug is deliberately scoped as reduced parity, not full feature parity: it adds a Lucene-to-PQF/CCL translation layer for basic syntax (field:value, AND/OR/NOT, quoted phrases, parentheses) so Zebra installations can use /search at all, while explicitly documenting that combined item-level filter correctness, facet accuracy against those filters, and query-time OpacHiddenItemsHidesRecord enforcement remain Elasticsearch-only, with Zebra falling back to today's existing (imperfect) behaviour for those specific concerns. This resolves the Bug 25870 disagreement between wanting Elasticsearch progress to not be blocked on Zebra parity, and not wanting Zebra abandoned outright. Test plan: 1. To be written once the parser design is finalised. This bug is part of a staged program building on Bug 43355; see that bug for the overall plan. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43355 [Bug 43355] Add a /search API endpoint for biblios -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org