@@ -0,0 +1,960 @@
+import java.io.FileInputStream;%0Aimport java.io.ObjectInputStream;%0Aimport java.util.ArrayList;%0Aimport java.util.HashMap;%0A%0Aimport org.tartarus.snowball.EnglishSnowballStemmerFactory;%0A%0A%0Apublic class QueryHeaderIndex %7B%0A%0A%09static HashMap%3CString, ArrayList%3CString%3E%3E headerIndexList;%0A%09public static void main(String args%5B%5D) throws Exception%0A%09%7B%0A%09%09loadHeaderIndex();%0A%09%7D%0A%09%0A%09public static void loadHeaderIndex() throws Exception%0A%09%7B%0A%09%09    System.out.println(%22Loading header index..%22);%0A%09%09%09FileInputStream fileIn = new FileInputStream(%22headerIndex.ser%22);%0A%09        ObjectInputStream in = new ObjectInputStream(fileIn);%0A%09        headerIndexList  = (HashMap%3CString, ArrayList%3CString%3E%3E) in.readObject();%0A%09        System.out.println(%22Header Index loaded.%22);%0A%09        %0A%09        String word = EnglishSnowballStemmerFactory.getInstance().process(%22information%22);%0A%09        System.out.println(headerIndexList.get(word));%0A%09       // System.out.println(headerIndexList.get(%22lope%22));%0A%09%7D%0A%7D%0A

Create QuerHeadeIndex.java