I will add the field "alias" in the list of searchable fields (like ’pagetitle’,’longtitle’,’description’,’introtext’,’content’) to allow the displaying of the alias if required.
For the moment, if you can’t wait the official delivery of the release 1.8, download the 1.8 beta 1
from this post and in the file class/search.class.inc.php, in the function initSearchContext() , somewhere around the line 198, change:
'searcheable' => array('pagetitle','longtitle','description','introtext','content'),by
'searcheable' => array('pagetitle','longtitle','description','alias','introtext','content'),and then define your own result template (tplresult ou tplAjaxResult depending of the ajaxSearch mode you use) as follow (tplAjaxResult example):
<div class="[+as.resultClass+]">
<a class="[+as.resultLinkClass+]" href="[+as.resultLink+]" title="[+as.longtitle+]">[+as.aliasShow:is=`1`:then=`[+as.alias+]`:else=`[+as.pagetitle+]`+]</a>
[+as.descriptionShow:is=`1`:then=`
<span class="[+as.descriptionClass+]">[+as.description+]</span>
`+]
[+as.extractShow:is=`1`:then=`
<div class="[+as.extractClass+]"><p>[+as.extract+]</p></div>
`+]
</div>
with: [+as.aliasShow:is=`1`:then=`[+as.alias+]`:else=`[+as.pagetitle+]`+], if the alias exists it will be used, otherwise pagetitle will be used.