Wildcard search is not working in Elasticsearch

I am using Elasticsearch queries for searching. My wildcard query is

GET /_search
{
"query": {
"wildcard" : { "class" : "com*fc.domain.commonservice.core.CoreServiceHelperSingleton" }
}
}

The class is com.ofss.fc.domain.commonservice.core.CoreServiceHelperSingleton. But the query returns

{
"took": 65,
"timed_out": false,
"_shards": {
"total": 104,
"successful": 104,
"failed": 0
},
"hits": {
"total": 0,
"max_score": null,
"hits":
}
}

Why is the wildcard query not working?

Probably because of the analyzer you are using.

But not that using wildcard queries is not recommended.