Some search API query parameters, such as `analyzer`, require the `q` query parameter. Similarly, the `suggest_mode` query parameter requires both the `suggest_field` and `suggest_text` query parameters.

If you attempt to use these parameters without the required parameters, Elasticsearch returns the following message:

```
request [/<index>/_search] contains unrecognized parameter: [<parameter>]
```

This suggests the parameter is invalid, which isn't true. It'd be more helpful to list the other required parameters.

Relates to #79674 and #79716.
server/src/test/java/org/elasticsearch/rest/action/RestActionsTests.java
"reason" : "error",
                      "index_uuid" : "_na_",
                      "index" : "index",
                      "line" : 0,
                      "col" : 0,
                      "caused_by" : {
                        "type" : "illegal_argument_exception",
                        "reason" : "some bad argument"
                      }
                    }
                  }
                ]
              }
            }"""));
    }
    private static ShardSearchFailure createShardFailureParsingException(String nodeId, int shardId, String clusterAlias) {
        String index = "index";
        ParsingException ex = new ParsingException(0, 0, "error", new IllegalArgumentException("some bad argument"));
        ex.setIndex(index);
        return new ShardSearchFailure(ex, createSearchShardTarget(nodeId, shardId, index, clusterAlias));
    }
    private static SearchShardTarget createSearchShardTarget(String nodeId, int shardId, String index, String clusterAlias) {
        return new SearchShardTarget(nodeId, new ShardId(new Index(index, IndexMetadata.INDEX_UUID_NA_VALUE), shardId), clusterAlias);
    }
    @Override
    protected NamedXContentRegistry xContentRegistry() {
        return xContentRegistry;
    }
}