Run the following command before creating a search application:
$ Hosta = Get-spenterprisesearchserviceinstance-Identity "wtcsps04"
Start-spenterprisesearchserviceinstance-identity $ Hosta
Get-spenterprisesearchserviceinstance-identity $ Hosta
$ SSA = Get-spenterprisesearchserviceapplication
$ Newtopology = new-spenterprisesearchtopology-searchapplication $ SSA
New-spenterprisesearchqueryprocessingcomponent-searchtopology $ newtopology-searchserviceinstance $ Hosta
New-spenterprisesearchindexcomponent-searchtopology $ newtopology-searchserviceinstance $ Hosta-indexpartition 0
New-spenterprisesearchcrawlcomponent-searchtopology $ newtopology-searchserviceinstance $ Hosta
New-spenterprisesearchadmincomponent-searchtopology $ newtopology-searchserviceinstance $ Hosta
New-spenterprisesearchcontentprocessingcomponent-searchtopology $ newtopology-searchserviceinstance $ Hosta
New-spenterprisesearchanalyticsprocessingcomponent-searchtopology $ newtopology-searchserviceinstance $ Hosta
Set-spenterprisesearchtopology-identity $ newtopology
Get-spenterprisesearchtopology-searchapplication $ SSA
Get-spenterprisesearchstatus-searchapplication $ SSA-Text