Skip to content

Commit f331658

Browse files
author
Hendrik Muhs
committed
add some documentation/notes on inner design
1 parent 50669ca commit f331658

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

x-pack/plugin/ml-feature-index-builder/src/main/java/org/elasticsearch/xpack/ml/featureindexbuilder/job/FeatureIndexBuilderIndexer.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,12 @@ protected IterationResult<Map<String, Object>> doProcess(SearchResponse searchRe
6464
}
6565

6666
/*
67-
* Parses the result and creates indexable documents
67+
* Parses the result and creates a stream of indexable documents
68+
*
69+
* Implementation decisions:
70+
*
71+
* Extraction uses generic maps as intermediate exchange format in order to hook in ingest pipelines/processors
72+
* in later versions, see {@link IngestDocument).
6873
*/
6974
private Stream<IndexRequest> processBucketsToIndexRequests(CompositeAggregation agg) {
7075
String indexName = job.getConfig().getDestinationIndex();

0 commit comments

Comments
 (0)