Skip to content

Commit

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

* (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 authored Sep 11, 2024
1 parent 98aa3f2 commit b9662b5
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 b9662b5

Please sign in to comment.