public FormPageSearcher(String indexName) throws IOException { super(indexName, FormPageIndexer.FORM_FIELD_NAME, FormPageIndexer.ENTRY_FIELD_NAME); logger.trace(toString(10)); }
FormPageSearcher pageFormSearcher = new FormPageSearcher(line.getOptionValue("index")); pageFormSearcher.setNotificationPoint(notificationPoint); pageFormSearcher.loadCache(line.getOptionValue("key-freq"), minFreq); FreqSetSearcher.Entry[] result = pageFormSearcher.search(line.getOptionValue("search")); logger.info(Arrays.toString(result)); pageFormSearcher.interactive();
FormPageSearcher formPageSearcher = new FormPageSearcher(formPagePath.getAbsolutePath()); PageFormSearcher pageFormSearcher = new PageFormSearcher(pageFormPath.getAbsolutePath()); FreqSetSearcher.Entry[] pEntries = formPageSearcher.search(form); formPageSearcher.close(); pageFormSearcher.close(); writer.close();