org.apache.nutch.searcher
Interface HitContent

All Known Subinterfaces:
DistributedSearch.Protocol
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.
 long getFetchDate(HitDetails details)
          Returns the anchors of a hit document.
 ParseData getParseData(HitDetails details)
          Returns the ParseData of a hit document.
 ParseText getParseText(HitDetails details)
          Returns the ParseText 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

getParseText

public ParseText getParseText(HitDetails details)
                       throws IOException
Returns the ParseText of a hit document.

Throws:
IOException

getAnchors

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

Throws:
IOException

getFetchDate

public long getFetchDate(HitDetails details)
                  throws IOException
Returns the anchors of a hit document.

Throws:
IOException


Copyright © 2006 The Apache Software Foundation