name = String.valueOf(doc);
}
if (normPower == LuceneIterable.NO_NORMALIZING) {
result = new NamedVector(result, name);
} else {
result = new NamedVector(result.normalize(normPower), name);
}
return result;
} catch (IOException ioe) {
throw new IllegalStateException(ioe);
}