org.galagosearch.core.parse
Class AdditionalTextCombiner
java.lang.Object
org.galagosearch.tupleflow.StandardStep<Document,Document>
org.galagosearch.core.parse.AdditionalTextCombiner
- All Implemented Interfaces:
- org.galagosearch.tupleflow.Processor<Document>, org.galagosearch.tupleflow.Source<Document>, org.galagosearch.tupleflow.Step
@InputClass(className="org.galagosearch.core.parse.Document")
@OutputClass(className="org.galagosearch.core.parse.Document")
public class AdditionalTextCombiner
- extends org.galagosearch.tupleflow.StandardStep<Document,Document>
Adds tuples of type AdditionalDocumentText to the end of the text field in
a document. The AdditionalDocumentText stream is specified in the
textSource parameter. This stage should be used before document tokenizing.
- Author:
- trevor
| Fields inherited from class org.galagosearch.tupleflow.StandardStep |
processor |
|
Method Summary |
void |
process(Document document)
|
static void |
verify(org.galagosearch.tupleflow.TupleFlowParameters parameters,
org.galagosearch.tupleflow.execution.ErrorHandler handler)
|
| Methods inherited from class org.galagosearch.tupleflow.StandardStep |
close, setProcessor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdditionalTextCombiner
public AdditionalTextCombiner(org.galagosearch.tupleflow.TupleFlowParameters parameters)
throws java.io.IOException
- Throws:
java.io.IOException
verify
public static void verify(org.galagosearch.tupleflow.TupleFlowParameters parameters,
org.galagosearch.tupleflow.execution.ErrorHandler handler)
process
public void process(Document document)
throws java.io.IOException
- Specified by:
process in interface org.galagosearch.tupleflow.Processor<Document>- Specified by:
process in class org.galagosearch.tupleflow.StandardStep<Document,Document>
- Throws:
java.io.IOException
Copyright © 2009. All Rights Reserved.