Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Pipeline ingest processor supports ignoring the non-existing pipeline #12463

Closed
gaobinlong opened this issue Feb 26, 2024 · 1 comment
Labels
enhancement Enhancement or improvement to existing feature or request Indexing Indexing, Bulk Indexing and anything related to indexing untriaged

Comments

@gaobinlong
Copy link
Collaborator

Is your feature request related to a problem? Please describe

Now the pipeline ingest processor always throws exception Pipeline processor configured for non-existent pipeline [non-existen] if the specified pipeline doesn't exist:

POST _ingest/pipeline/_simulate
{
  "pipeline": {
    "processors": [
      {
        "pipeline": {
          "name" : "non-existen"
        }
      }
    ]
  },
  "docs": [
    {
      "_source": {
        "foo": "bar"
      }
    }
  ]
}

Describe the solution you'd like

The pipeline ingest processor supports a parameter like ignore_missing, when the specified pipeline doesn't exist and the parameter is set to true, the processor exit quietly.

Related component

Indexing

Describe alternatives you've considered

No alternatives.

Additional context

No response

@gaobinlong gaobinlong added enhancement Enhancement or improvement to existing feature or request untriaged labels Feb 26, 2024
@github-actions github-actions bot added the Indexing Indexing, Bulk Indexing and anything related to indexing label Feb 26, 2024
@peternied
Copy link
Member

[Triage - attendees 1 2 3 4 5]
@gaobinlong Thanks for creating this issue; however, it isn't being accepted due to this making the outcome of this request non-deterministic. Please feel free to open a new issue after addressing the reason.

@msfroh Do you have additional thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request Indexing Indexing, Bulk Indexing and anything related to indexing untriaged
Projects
None yet
Development

No branches or pull requests

2 participants