{
if (sha1Checksum == null || sha1Checksum.length() > 40) {
return IteratorSearchResponse.TOO_MANY_HITS_ITERATOR_SEARCH_RESPONSE;
}
SearchType searchType = sha1Checksum.length() == 40 ? SearchType.EXACT : SearchType.SCORED;
BooleanQuery bq = new BooleanQuery();
if (sha1Checksum != null) {
bq.add(constructQuery(MAVEN.SHA1, sha1Checksum, searchType), BooleanClause.Occur.MUST);