type field should be optional in the search() method. When no type is specified, it should search on all types in accordance with the multi-type _search API endpoint.
Additionally, since searchStream() uses * wildcard for applying a stream on all types, search() method should also support type: "*" as a valid way to search on all types.
type
field should be optional in the search() method. When no type is specified, it should search on all types in accordance with the multi-type _search API endpoint.*
wildcard for applying a stream on all types, search() method should also supporttype: "*"
as a valid way to search on all types.