simplified getSearchQueryPart...()