Skip to content

Prototype search pipelines #97

@msfroh

Description

@msfroh

I'm going to put together a scrappy first implementation of search pipelines.

This first implementation will largely be a copy/paste from ingest pipelines.

I think it should be a good conversation-starter about whether/how to share implementation with ingest pipelines. Depending on where I get with this task, it may be throwaway learning code or it may be the first draft of what we eventually want to merge.

This task should be moved to the OpenSearch core project, but I'm creating it here as a placeholder.

The goals for my prototype include:

  1. Should be able to CRUD search pipelines, with persistence in cluster state.
  2. Should be able to invoke a named search pipeline from a search request. (The named search pipeline might include a dummy "hello world" processor that e.g. adds a field to the first hit in the response or adds a filter to an incoming query.)

Features that can come later (but before "release") include:

  1. Setting a default search pipeline for an index.
  2. Specifying an ad hoc search pipeline as part of a search request.
  3. Availability of a "standard" set of search pipeline processors (similar to ingest-common).
  4. Support for BracketProcessor (processors that modify both request and response, with state carried from request time to response time).

Metadata

Metadata

Assignees

Labels

Searchfeatureintroduce a net new unit of functionality of a software system that satisfies a requirement

Type

No type

Projects

Status

✅ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions