|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.inxight.InxightSummarizer
Result summarizer that uses the Inxight SmartDiscovery Analysis Server.
XML Configuration Template:
<FieldFormatter formatterClass="com.raritantechnologies.inxight.InxightSummarizer"
analysisServerHost="[ host name of SmartDiscovery Analysis server ]"
analysisServerPort="[ port that SmartDiscovery Analysis server is listening on ]"
fullTextField="[ result field that contains content text to analyze ]"
fullTextURLField="[ result field that URL to document content ]"
keyPhraseField="[ result field to put extracted key phrases ]"
sentenceField="[ result field to extracted sentences ]"
numKeyPhrases="[ maximum number of Key Phrases to extract ]"
numSentences="[ maximum number of Sentences to extract ]" />
| Field Summary |
| Fields inherited from interface com.raritantechnologies.searchApp.IFieldFormatter |
TEMPLATE |
| Constructor Summary | |
InxightSummarizer()
|
|
| Method Summary | |
java.lang.String |
formatField(java.lang.String fieldVal)
Reformats a field value. |
java.lang.String |
formatField(java.lang.String sessionID,
java.lang.String fieldVal)
Reformats a field value. |
void |
formatResultField(IResult result)
Formats a result field "in place". |
void |
formatResultField(java.lang.String sessionID,
IResult result)
Formats a result field "in place", incorporating session context. |
java.lang.String |
getFieldName()
Returns the name of the result field that this formatter can reformat. |
java.lang.String |
getFullTextField()
|
java.lang.String |
getFullTextURLField()
|
java.lang.String |
getKeyPhraseField()
|
java.lang.String |
getSentenceField()
|
void |
initialize(org.w3c.dom.Element elem)
Initializes the formatter from configuration XML element. |
void |
setFullTextField(java.lang.String fullTextField)
|
void |
setFullTextURLField(java.lang.String fullTextURLField)
|
void |
setKeyPhraseField(java.lang.String keyPhraseField)
|
void |
setSentenceField(java.lang.String sentenceField)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.raritantechnologies.searchApp.IFieldFormatter |
getConfigurationXML, getConfigurationXML |
| Constructor Detail |
public InxightSummarizer()
| Method Detail |
public java.lang.String getFullTextField()
public void setFullTextField(java.lang.String fullTextField)
public java.lang.String getFullTextURLField()
public void setFullTextURLField(java.lang.String fullTextURLField)
public java.lang.String getKeyPhraseField()
public void setKeyPhraseField(java.lang.String keyPhraseField)
public java.lang.String getSentenceField()
public void setSentenceField(java.lang.String sentenceField)
public void formatResultField(java.lang.String sessionID,
IResult result)
IFieldFormatter
formatResultField in interface IFieldFormattersessionID - The session key needed to lookup any session content stored
in the session data cache.result - The result object that is to be formatted.public void formatResultField(IResult result)
IFieldFormatter
formatResultField in interface IFieldFormatterresult - The result object that is to be formatted.public java.lang.String getFieldName()
IFieldFormatter
getFieldName in interface IFieldFormatter
public java.lang.String formatField(java.lang.String sessionID,
java.lang.String fieldVal)
IFieldFormatter
formatField in interface IFieldFormattersessionID - The session key needed to lookup any session content stored
in the session data cache.fieldVal - The field value to be reformatted.
public java.lang.String formatField(java.lang.String fieldVal)
IFieldFormatter
formatField in interface IFieldFormatterfieldVal - The field value to be reformatted.
public void initialize(org.w3c.dom.Element elem)
IFieldFormatter
initialize in interface IFieldFormatter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||