//(_id isn't indexed - _uid is and == _type + "#" + _id)
soloOrCombinedQuery = QueryBuilders.boolQuery().must(soloOrCombinedQuery).
must(QueryBuilders.rangeQuery("_uid").lte("document_index#" + lessThanId.toString()));
}//TESTED
indexManager.doDeleteByQuery(soloOrCombinedQuery);
CommandResult result = DbManager.getDocument().getLastError("metadata");
return result.getLong("n", 0);
} catch (Exception e) {