org.gcube.dir.master.tasks
Class DescriptionIngester<T extends Collection>
java.lang.Object
org.gcube.dir.master.tasks.DescriptionIngester<T>
public class DescriptionIngester<T extends Collection>
- extends
Ingests into the inverted index of the Running Instance a histogram of
the handled Collection
.
The histogram must be available
in a local file and in an XML format compatible with the following:
<term>
<t>term name</t>
<d>document-wide term frequency</d>
<c>collection-wide term frequency</c>
</term>
- Author:
- Fabio Simeoni (University of Strathclyde)
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DescriptionIngester
public DescriptionIngester()
run
public void run()
throws java.lang.Exception
-
- Throws:
java.lang.Exception
setStatisticsAsStream
public void setStatisticsAsStream(java.io.InputStream stream)
- Sets the statistics stream.
- Parameters:
stream
- the stream.