class DefaultIndexHandler implements IndexHandler<K, V> {

  protected List<Object> executeOr(final OrCriteria orCriteria) {
    final Set<Object> results = new HashSet<>();
    for (Criteria innerCriteria : orCriteria.getCriterias()) {
      final List<Object> result = execute(innerCriteria);
      results.addAll(result);
    }
    return new ArrayList<>(results);
  }

  public  DefaultIndexHandler();

}