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; 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; 12 13 /** Returns the details for a set of hits. Hook for parallel IPC calls. */ 14 HitDetails[] getDetails(Hit[] hits) throws IOException; 15 16 } 17