net.nutch.searcher
Interface HitContent

All Known Implementing Classes:
DistributedSearch.Client, FetchedSegments, NutchBean

public interface HitContent

Service that returns the content of a hit.


Method Summary
 String[] getAnchors(HitDetails details)
          Returns the anchors of a hit document.
 byte[] getContent(HitDetails details)
          Returns the content of a hit document.
 ParseData getParseData(HitDetails details)
          Returns the ParseData of a hit document.
 

Method Detail

getContent

public byte[] getContent(HitDetails details)
                  throws IOException
Returns the content of a hit document.

Throws:
IOException

getParseData

public ParseData getParseData(HitDetails details)
                       throws IOException
Returns the ParseData of a hit document.

Throws:
IOException

getAnchors

public String[] getAnchors(HitDetails details)
                    throws IOException
Returns the anchors of a hit document.

Throws:
IOException


Copyright © 2004 The Nutch Organization.