if (!scores.getChannelSymbols().isEmpty()) {
ScoredIdListBuilder builder = ScoredIds.newListBuilder(results.size());
List<Pair<Symbol,SparseVector>> cvs = Lists.newArrayList();
List<Pair<TypedSymbol<?>, Long2ObjectMap<?>>> channels = Lists.newArrayList();
for (Symbol sym: scores.getChannelVectorSymbols()) {
builder.addChannel(sym, Double.NaN);
cvs.add(Pair.of(sym, scores.getChannelVector(sym)));
}
for (TypedSymbol<?> sym: scores.getChannelSymbols()) {
if (!sym.getType().equals(Double.class)) {
builder.addChannel(sym);