I have several RAW repositories (because the built-in types don’t work for what I’m trying to accomplish), with an enforced beginning structure:
I am using the REST API to search for specific name and version using the ‘q’ search parameters (service/rest/v1/search/assets?repository=myRepo&q="/myName/0.0.1/"), but I get back more results that I expected.
For instance, let’s say I have the following in the artifact repository:
* myName - 0.0.1 - 0.0.1-preRelease1 - 0.0.1-asdf - 0.0.2 - 0.0.3-qwerty * secondName - 0.4.2 - 9.9.9 * thirdName - 0.0.1 - 0.0.2
When I search for “/myName/0.0.1/” (notice, I in the REST example above, I quoted the
q parameter, so it should have been an exact search), the results I get include only
myName, but versions: ‘0.0.1’, ‘0.0.1-preRelease1’, ‘0.0.1-asdf’.
I expected that using the “exact” search I would have only gotten
myName ‘0.0.1’ (and anything nested directly below that name/version combo).
It seems like the majority of the search features just don’t work for raw type repositories. What am I doing wrong?