Closed jsoriano closed 1 month ago
@mrodm do you know how the search-index-all-full.json can be regenerated?
I would like to add content packages there.
@mrodm do you know how the search-index-all-full.json can be regenerated?
I would like to add content packages there.
The last time I had to add new packages (and update this file), I did it manually. I don't know if there is any automated way to achieve this, sorry :(
cc @jsoriano
Fixes https://github.com/elastic/package-registry/issues/1229.
Add a new
discovery
parameter to/search
and/categories
endpoints, to filter packages based on their discovery fields. It supports a list of fields that has to be passed in the formfields:<comma-separated list of fields>
. To pass the filter, packages must include discovery fields in their manifest, and all of them must be included in the list included in the parameter.For example the following request will return prerelease packages of content type, whose discovery subfields are a subset of ['http.method', 'apache.status.total_bytes'].