Module: ElasticGraph::JSONIngestion::IndexerExtension
- Defined in:
- elasticgraph-json_ingestion/lib/elastic_graph/json_ingestion/indexer_extension.rb
Overview
Provides the default JSON adapter. Registered by SchemaDefinition::APIExtension.
Instance Method Summary collapse
-
#ingestion_adapters_by_format ⇒ Hash<String, ElasticGraph::Indexer::IngestionAdapter::Interface>
Returns the configured ingestion adapters with the built-in JSON adapter registered.
Instance Method Details
#ingestion_adapters_by_format ⇒ Hash<String, ElasticGraph::Indexer::IngestionAdapter::Interface>
Returns the configured ingestion adapters with the built-in JSON adapter registered.
18 19 20 21 22 |
# File 'elasticgraph-json_ingestion/lib/elastic_graph/json_ingestion/indexer_extension.rb', line 18 def ingestion_adapters_by_format @ingestion_adapters_by_format ||= super.merge( "json" => IngestionAdapter.new(schema_artifacts: schema_artifacts, logger: logger) ) end |