added boundary on simple search results
This commit is contained in:
parent
b3d7c993aa
commit
8bc739ff20
@ -45,6 +45,9 @@ std::vector<MatchedPatternFragment> IndexSearcher::simpleSearch(
|
||||
Utils::getOffsetFromMarker(marker),
|
||||
0,
|
||||
hash.size()));
|
||||
if (result.size() >= CONCORDIA_SEARCH_MAX_RESULTS) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user