try{
IndexWriter writer = new IndexWriter(INDEX_STORE_PATH, new StandardAnalyzer(), true);
writer.setUseCompoundFile(false);
Document doc1 = new Document();
Document doc2 = new Document();
Document doc3 = new Document();
Field f1 = new Field("url", "http://www.abc.com/product?typeid=1&category=10&item=71", Field.Store.YES, Field.Index.TOKENIZED);
Field f2 = new Field("url", "http://www.def.com/product/show?typeid=3&catgory=10&item=58", Field.Store.YES, Field.Index.TOKENIZED);
Field f3 = new Field("url", "http://www.ghi.com/prodduct/list?category=4&type=10&order=32", Field.Store.YES, Field.Index.TOKENIZED);