Skip to main content
Back to overview

Detailed Information

Software name

jeap-opensearch-searchitem-api

Short description

Spring MVC REST API and model for exposing indexed search items from OpenSearch in jEAP applications

Documentation

jeap-opensearch-searchitem-api provides the SearchItemContainer model and a ready-to-use Spring MVC REST controller (SearchItemsController) for exposing indexed search items via a GET /index-api/searchitems endpoint. The endpoint accepts index_type, origin_id, and an optional origin_version query parameter, enforces role-based access control (role searchitem:read), and returns the SearchItem JSON body together with index-major-version and index-minor-version response headers. Applications implement the SearchItemsProvider interface to supply items from their OpenSearch indices. The multi-module layout separates the lightweight model (SearchItemContainer) from the Spring MVC controller so that providers can depend on the model without pulling in the full web layer.

Software version

1.8.0

License

Apache-2.0

Publiccode.yml Version

0.5.0