Information Retrieval ( boolean model) Java implementation