|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.nutch.searcher.DistributedSegmentBean
public class DistributedSegmentBean
| Constructor Summary | |
|---|---|
DistributedSegmentBean(Configuration conf,
Path serversConfig)
|
|
| Method Summary | |
|---|---|
void |
close()
|
byte[] |
getContent(HitDetails details)
Returns the content of a hit document. |
long |
getFetchDate(HitDetails details)
Returns the fetch date 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. |
String[] |
getSegmentNames()
|
Summary[] |
getSummary(HitDetails[] detailsArr,
Query query)
Returns summaries for a set of details. |
Summary |
getSummary(HitDetails details,
Query query)
Returns a summary for the given hit details. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DistributedSegmentBean(Configuration conf,
Path serversConfig)
throws IOException
IOException| Method Detail |
|---|
public String[] getSegmentNames()
getSegmentNames in interface SegmentBean
public byte[] getContent(HitDetails details)
throws IOException
HitContent
getContent in interface HitContentIOException
public long getFetchDate(HitDetails details)
throws IOException
HitContent
getFetchDate in interface HitContentIOException
public ParseData getParseData(HitDetails details)
throws IOException
HitContent
getParseData in interface HitContentIOException
public ParseText getParseText(HitDetails details)
throws IOException
HitContent
getParseText in interface HitContentIOException
public void close()
throws IOException
close in interface CloseableIOException
public Summary getSummary(HitDetails details,
Query query)
throws IOException
HitSummarizer
getSummary in interface HitSummarizerdetails - the details of the hit to be summarizedquery - indicates what should be higlighted in the summary text
IOException
public Summary[] getSummary(HitDetails[] detailsArr,
Query query)
throws IOException
HitSummarizer
getSummary in interface HitSummarizerdetailsArr - the details of hits to be summarizedquery - indicates what should be higlighted in the summary text
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||