implemented idf correction for structured queries and fixed summarizers