When searching for a Model by exact name, all models are returned
See original GitHub issueI noticed when issuing a search request on vorto.eclipse.org with an expression of ǹame:CoffeeMaker I get all models of the repository as a result. Only when specifying name:CoffeeMaker* I get two results back. Is this intended?
I read in #1833 that the asterisk was only supported at the end and if I understood it correctly also without the asterisk at all. Maybe I’m mistaken here.
What happens?
The following query returns all models:
https://vorto.eclipse.org/api/v1/search/models?expression=name:CoffeeMaker*
What should happen?
It should return only one result in the response array. The way it responds now is confusing because the searched model does exist but is not returned in the search. Although this might be a strange search query, if you somehow now or guessed the name of a model.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (3 by maintainers)

Top Related StackOverflow Question
@kolotu indeed, the new search is on. @w4tsn closing this. Please find the new documentation on search here. Specifically to this issue, an untagged search by model name my return a slightly broader result than a tagged searched by
name:...- but the issue should be resolved. Also note that model type searches need to be tagged now.@mena-bosch this can be closed now, right?