Skip to content

Commit

Permalink
(Doc+) Inference Pipeline ignores Mapping Analyzers (elastic#112522)
Browse files Browse the repository at this point in the history
* (Doc+) Inference Pipeline ignores Mapping Analyzers

From internal Dev feedback (will cross-link after), this updates that inference processors within ingest pipelines run before mapping analyzers effectively ignoring them. So if users want analyzers to take effect, they would need to select the analyzer's ingest pipeline process equivalent and run it higher in flow than the inference processor.

---------

Co-authored-by: István Zoltán Szabó <[email protected]>
  • Loading branch information
stefnestor and szabosteve committed Sep 11, 2024
1 parent 8c442ab commit 44b3759
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/reference/ingest/processors/inference.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ include::common-options.asciidoc[]
`field_map` fields. For NLP models, use the `input_output` option. For
{dfanalytics} models, use the `target_field` and `field_map` option.
* Each {infer} input field must be single strings, not arrays of strings.
* The `input_field` is processed as is and ignores any <<mapping,index mapping>>'s <<analysis,analyzers>> at time of {infer} run.
==================================================

[discrete]
Expand Down

0 comments on commit 44b3759

Please sign in to comment.