|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.verity.profiler.ProfilerTermExtractor
Uses Verity Profiler to extract a set of query terms that match a document - can be used to highlight a document with the set of query terms.
ProfilerFilter retrieves QueryIDs QueryIDs are used to highlight... VProfileNetDocResult --> highlightDocument( QueryID) returns Vector of VProfileHighlightImpl which then can be used to get the word(s) found.
XML Configuration Template:
<TermExtractor class="com.raritantechnologies.verity.profiler.ProfilerTermExtractor"
serverAlias="[ alias of k2 server with profile net ]"
extractHitTermsOnly="[true(default)|false]" >
<ProfilerFilter >
</ProfilerFilter>
</TermExtractor>
| Constructor Summary | |
ProfilerTermExtractor()
|
|
ProfilerTermExtractor(ResultProfilerFilter profFilter)
|
|
| Method Summary | |
java.util.Map |
extractTerms(java.lang.String sessionID,
java.lang.String fromString)
returns a map of terms - key is the term, value is either an AttributeWordsTagger or an Attribute string |
void |
initialize(org.w3c.dom.Element elem)
Initializes the object from an XML tag or element. |
void |
setProfilerFilter(ResultProfilerFilter profFilter)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ProfilerTermExtractor()
public ProfilerTermExtractor(ResultProfilerFilter profFilter)
| Method Detail |
public void setProfilerFilter(ResultProfilerFilter profFilter)
public void initialize(org.w3c.dom.Element elem)
IConfigurable
initialize in interface IConfigurable
public java.util.Map extractTerms(java.lang.String sessionID,
java.lang.String fromString)
ITermExtractor
extractTerms in interface ITermExtractor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||