String inputFile = ApplicationSetup.getProperty("ssa.input.file","");
try {
String line = null;
BufferedReader br = Files.openFileReader(inputFile);
staticScores = new double[index.getCollectionStatistics().getNumberOfDocuments()];
MetaIndex m = index.getMetaIndex();
while((line = br.readLine())!= null)
{
final String[] parts = line.split("\\s+");
final int docid = m.getDocument("docno", parts[0]);
if (docid < 0)
{
//logger.warn("Docno " + parts[0] + " not found" );
continue;
}