org.apache.nutch.searcher
Interface Summarizer

All Superinterfaces:
Configurable, Pluggable
All Known Implementing Classes:
BasicSummarizer, LuceneSummarizer

public interface Summarizer
extends Configurable, Pluggable

Extension point for summarizer.

Author:
Jérôme Charron

Field Summary
static String X_POINT_ID
          The name of the extension point.
 
Method Summary
 Summary getSummary(String text, Query query)
          Get a summary for a specified text.
 
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
 

Field Detail

X_POINT_ID

static final String X_POINT_ID
The name of the extension point.

Method Detail

getSummary

Summary getSummary(String text,
                   Query query)
Get a summary for a specified text.

Parameters:
text - is the text to summarize.
query - is the query for which the text is a hit.


Copyright © 2006 The Apache Software Foundation