LuceneAddDocumentStage

From CCIL
Jump to: navigation, search

Adds a document to a Lucene index.

Overview


jar ccil-common-lucene
recommended name lucene-add
class net.ccil.common.lucene.stages.LuceneAddDocumentStage
location /ccil-common-lucene/src/main/java/net/ccil/common/lucene/stages/LuceneAddDocumentStage.java
svn svn://svn.code.sf.net/p/ccil/code/trunk/src/common/lucene/src/main/java/net/ccil/common/lucene/stages/LuceneAddDocumentStage.java

Parameters

Name Type Description Comment
IN java.lang.String Content.
socidfield java.lang.String Name of the id field.
contentfield java.lang.String Name of the content field.
commit java.lang.Integer Commit size.
OUT java.lang.String The title of the parsed media.

Registration

service:lucene-add	rdf:type	entity:service ;				
				entity:implementation	"net.ccil.common.lucene.stages.LuceneAddDocumentStage" ;
				entity:classpath	"" ;
				entity:arguments	"" .

Context

TBA

Example

TBA

See Also