KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > nutch > searcher > HitDetailer


1 /* Copyright (c) 2003 The Nutch Organization. All rights reserved. */
2 /* Use subject to the conditions in http://www.nutch.org/LICENSE.txt. */
3
4 package net.nutch.searcher;
5
6 import java.io.IOException JavaDoc;
7
8 /** Service that returns details of a hit within an index. */
9 public interface HitDetailer {
10   /** Returns the details for a hit document. */
11   HitDetails getDetails(Hit hit) throws IOException JavaDoc;
12   
13   /** Returns the details for a set of hits. Hook for parallel IPC calls. */
14   HitDetails[] getDetails(Hit[] hits) throws IOException JavaDoc;
15
16 }
17
Popular Tags