@SuppressWarnings("unchecked")
public void addSearchResult(SearchResult result) {
ArrayList<SearchResult> l = new ArrayList<SearchResult>();
l.add(result);
BDBIndex bdbSource = (BDBIndex) source;
bdbSource.insertRecords(new AdaptedIterator(l.iterator(),
new SearchResultToBDBRecordAdapter()));
}