fix bug with searching (always adding the term into s[0]); boost only once per document; add the actual document (line) into the result