private BaseQueryBuilder getBaseQuery(AdvancedQueryPojo query, String communityIdStrs[], String communityIdStrList, String userIdStr, StringBuffer querySummary)
{
// Intialize alias if so required:
if ((null == query.expandAlias) || query.expandAlias) {
AliasManager aliasManager = AliasManager.getAliasManager();
if (null != aliasManager) {
_aliasLookup = aliasManager.getAliasLookupTable(null, communityIdStrs, null, userIdStr);
}
}
// (end initialize index)
BaseQueryBuilder queryObj = null;