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] Remote Search Processor #11784

Open
austintlee opened this issue Jan 5, 2024 · 2 comments
Open

[Feature Request] Remote Search Processor #11784

austintlee opened this issue Jan 5, 2024 · 2 comments
Labels
enhancement Enhancement or improvement to existing feature or request Search Search query, autocomplete ...etc

Comments

@austintlee
Copy link
Contributor

Is your feature request related to a problem? Please describe

We are doing a lot of experimentations with search results and today, we are having to do most of this work client-side. When we need to make code changes in a search response process to try something new, it is quite tedious and requires multiple steps. We want more flexibility when it comes to changing the behavior of a processor.

Describe the solution you'd like

We basically want a RPC version of the processor. Something that can be executed remotely, e.g. AWS Lambda or a REST endpoint. It can be a Python extension? I'm open to suggestions.

Related component

Search

Describe alternatives you've considered

No response

Additional context

No response

@austintlee austintlee added enhancement Enhancement or improvement to existing feature or request untriaged labels Jan 5, 2024
@github-actions github-actions bot added the Search Search query, autocomplete ...etc label Jan 5, 2024
@austintlee
Copy link
Contributor Author

@dbwiddis What would it take for me to add remote processor functionality as one or more Python extensions. I would like to expose this to OpenSearch as TransportActions.

1/ A SearchRequestProcessor TransportAction, e.g. SearchRequest processRequest(SearchRequest request)
2/ A SearchResponseProcessor TransportAction, e.g. SearchResponse processResponse(SearchRequest request, SearchResponse response)

Ideally, I would like to leverage the new Protobuf transport layer feature for this as well.

It looks like opensearch-sdk-py does not yet support registering transport actions?

Alternatively, we are looking at standing up a microservice outside OpenSearch (Flask or FastAPI). We would really like Python to remote processors which is why we're considering the Python extension (opensearch-sdk-java seems to support what I need in terms of the transport action registration).

@msfroh msfroh removed the untriaged label Jan 10, 2024
@minalsha
Copy link
Contributor

@austintlee could you please share a usecase that would require this support?

@getsaurabh02 getsaurabh02 moved this from 🆕 New to Later (6 months plus) in Search Project Board Aug 15, 2024
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 Search Search query, autocomplete ...etc
Projects
Status: Later (6 months plus)
Development

No branches or pull requests

3 participants