Repository: incubator-streams
Updated Branches:
  refs/heads/STREAMS-170 6cd97b8e8 -> ddf359c50


Minor change to javadoc header


Project: http://git-wip-us.apache.org/repos/asf/incubator-streams/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams/commit/ddf359c5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams/tree/ddf359c5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams/diff/ddf359c5

Branch: refs/heads/STREAMS-170
Commit: ddf359c508666faf89a2ff411c6c4eb76582e82a
Parents: 6cd97b8
Author: Steve Blackmon <[email protected]>
Authored: Thu Oct 16 12:19:29 2014 -0500
Committer: Steve Blackmon <[email protected]>
Committed: Thu Oct 16 12:19:29 2014 -0500

----------------------------------------------------------------------
 .../elasticsearch/processor/DocumentToMetadataProcessor.java    | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ddf359c5/streams-contrib/streams-persist-elasticsearch/src/main/java/org/apache/streams/elasticsearch/processor/DocumentToMetadataProcessor.java
----------------------------------------------------------------------
diff --git 
a/streams-contrib/streams-persist-elasticsearch/src/main/java/org/apache/streams/elasticsearch/processor/DocumentToMetadataProcessor.java
 
b/streams-contrib/streams-persist-elasticsearch/src/main/java/org/apache/streams/elasticsearch/processor/DocumentToMetadataProcessor.java
index 804e1ac..c4c654f 100644
--- 
a/streams-contrib/streams-persist-elasticsearch/src/main/java/org/apache/streams/elasticsearch/processor/DocumentToMetadataProcessor.java
+++ 
b/streams-contrib/streams-persist-elasticsearch/src/main/java/org/apache/streams/elasticsearch/processor/DocumentToMetadataProcessor.java
@@ -40,7 +40,10 @@ import java.util.List;
 import java.util.Map;
 
 /**
- * Uses index and type in metadata to populate current document into datums
+ * Moves a json representation of metadata out of the document to the metadata 
field.
+ *
+ * This is useful if you have a list of document metadata references in the 
document field,
+ * for example loaded from a file, and need them in the metadata field.
  */
 public class DocumentToMetadataProcessor implements StreamsProcessor, 
Serializable {
 

Reply via email to