Другой способ сделать это с zip
public Single<List<DataEntry>> getting(String rawSearchText) {
Single single1 = dbSearch(rawSearchText);
Single single2 = onlineSearch(rawSearchText);
return Single.zip(single1, single2, (b1, b2) -> CombineTwoLists(b1, b2))
.subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread());
}