anchor.diff:    }
   }
   ----
  +// TEST[setup:my_index]
   // TEST[s/^/PUT my-index-000002\n/]
   
   You can also search multiple data streams and indices using a wildcard (`*`)
   pattern.
   
  -The following request targets the wildcard pattern `user_logs*`. The request
  -searches any data streams or indices in the cluster that start with `user_logs`.
  -
  -[source,console]
  -----
  -GET /user_logs*/_search
  -{
  -  "query": {
  -    "match": {
  -      "user.id": "kimchy"
  -    }
  -  }
  -}
  -----
  +The following request targets the wildcard pattern `my-index-*`. The request
  +searches any data streams or indices in the cluster that start with `my-index-`.
  +
  +[source,console]
  +----
  +GET /my-index-*/_search
  +{
  +  "query": {
  +    "match": {
  +      "user.id": "kimchy"
  +    }
  +  }
  +}
  +----
  +// TEST[setup:my_index]
   
   To search all data streams and indices in a cluster, omit the target from the
   request path. Alternatively, you can use `_all` or `*`.
  
positive.code: <<query-dsl,Query DSL>>.
  
  The following request body search uses the <<query-dsl-match-query,`match`>>
  query to match documents with a `user.id` value of `kimchy`. Note the
  `match` query is specified as a JSON object in the `query` parameter.
  
  [source,console]
  ----
  
negative.code: parameter>> to run a search in the request's URI. The `q` parameter only accepts
  queries written in Lucene's <<query-string-syntax,query string syntax>>.
  
  The following URI search matches documents with a `user.id` value of `kimchy`.
  
  [source,console]
  ----
  GET /my-index-000001/_search?q=user.id:kimchy
  ----
  // TEST[setup:my_index]
  
  The API returns the following response.
  
  By default, the `hits.hits` property returns the top 10 documents matching the
  query. To retrieve more documents, see <<paginate-search-results>>.
  
  The response sorts documents in `hits.hits` by `_score`, a
  <<relevance-scores,relevance score>> that measures how well each document
  matches the query.
  
  [source,console-result]
  ----
  