diff --git a/plugins/indexer/twitter/src/main/java/org/elasticsearch/indexer/twitter/TwitterIndexer.java b/plugins/indexer/twitter/src/main/java/org/elasticsearch/indexer/twitter/TwitterIndexer.java index c4b6082a106..7b1f31108d4 100644 --- a/plugins/indexer/twitter/src/main/java/org/elasticsearch/indexer/twitter/TwitterIndexer.java +++ b/plugins/indexer/twitter/src/main/java/org/elasticsearch/indexer/twitter/TwitterIndexer.java @@ -85,7 +85,7 @@ public class TwitterIndexer extends AbstractIndexerComponent implements Indexer if (settings.settings().containsKey("index")) { Map indexSettings = (Map) settings.settings().get("index"); indexName = XContentMapValues.nodeStringValue(indexSettings.get("index"), indexerName.name()); - typeName = XContentMapValues.nodeStringValue(indexSettings.get("type"), indexerName.name()); + typeName = XContentMapValues.nodeStringValue(indexSettings.get("type"), "status"); } else { indexName = indexerName.name(); typeName = "status";