improve 'canHandleSearchQueryPart'