mirror of
https://github.com/wazuh/wazuh-indexer.git
synced 2025-12-10 00:28:05 -06:00
Purpose
This plugin provides empty REST and transport endpoints for bulk indexing and search. It is used to avoid accidental server-side bottlenecks in client-side benchmarking.
Build Instructions
Build the plugin with gradle :client:client-benchmark-noop-api-plugin:assemble from the OpenSearch root project directory.
Installation Instructions
After, the binary has been built, install it with bin/opensearch-plugin install file:///full/path/to/noop-plugin.zip.
Usage
The plugin provides two REST endpoints:
/_noop_bulkand all variations that the bulk endpoint provides (except that all no op endpoints are called_noop_bulkinstead of_bulk)_noop_searchand all variations that the search endpoint provides (except that all no op endpoints are called_noop_searchinstead of_search)
The corresponding transport actions are:
org.opensearch.plugin.noop.action.bulk.TransportNoopBulkActionorg.opensearch.plugin.noop.action.search.TransportNoopSearchAction