6364656667686970
} public Hit getHit(int index) { synchronized (docs) { Document doc = (Document)this.docs.get(index); return new DefaultHit(new LuceneDocument(doc), getText(doc), 1.0f); } }
4041424344454647484950
} public Hit getHit(int index) { try { Document doc = hits.doc(index); return new DefaultHit(new LuceneDocument(doc), pattern.format( query, doc), hits.score(index)); } catch (IOException e) { return null; } }