}
// perform the query
String advancedQueryString = StringUtils
.undoSpecialCharReplacements(advancedQuery.toString());
SearchManager manager = new SearchManager();
List<SearchResult> results = null;
ArrayList<Integer> includeOnly = processSearchPlugins(request);
try {
if ((includeOnly != null) && (includeOnly.size() == 0)) {
results = new ArrayList<SearchResult>();
} else {
results = manager.performAdvancedQuery(advancedQueryString,
searchType, (new ProjectManager()).getProjectID(command
.getProject()), contentTypeId, activeOnly,
allowsZero, true, useBlurbFields, includeOnly,
username, updateDateStart, updateDateEnd);
}