return false;
}
@Override
public String findIndexName(Class<?> type) {
Esi4JIndex mappedIndex = null;
for (InternalIndex index : _indices.values()) {
if (index.isMapped(type)) {
if (mappedIndex != null) {
throw new IllegalArgumentException("can't find index for type mapped on multiple indices: "
+ type.getName());
} else {
mappedIndex = index;
}
}
}
if (mappedIndex == null) {
throw new IllegalArgumentException("unmapped type " + type.getName() + " for index " + getName());
}
return mappedIndex.getName();
}