Outdated version

You are browsing the docs for Nexus v1.6.x, the latest release is available here

Global search

Nexus provides global search functionality across all projects through the search plugin.

Warning

The search plugin is experimental and its functionality and API can change without notice.

For instructions on how to configure global search in Nexus and how it works please visit the Search configuration page.

Query

POST /v1/search/query
{payload}

… where {payload} is a Elasticsearch query and the response is forwarded from the underlying Elasticsearch indices.

The endpoint filters the Elasticsearch projections from the underlying composite views and only returns results from indices to which user has access to, i.e. has views/query permission.

Configuration

GET /v1/search/config

This endpoint returns the search configuration. The contents of plugins.search.fields config file is the payload of this response.