added boundary on simple search results

This commit is contained in:
rjawor 2016-01-25 22:42:42 +01:00
parent b3d7c993aa
commit 8bc739ff20

View File

@ -45,6 +45,9 @@ std::vector<MatchedPatternFragment> IndexSearcher::simpleSearch(
Utils::getOffsetFromMarker(marker),
0,
hash.size()));
if (result.size() >= CONCORDIA_SEARCH_MAX_RESULTS) {
break;
}
}
}