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

[Connector API] Support filtering connectors by service type and a query #105178

Conversation

jedrazb
Copy link
Member

@jedrazb jedrazb commented Feb 6, 2024

Changes

  • Support filtering connectors by service_type in list endpoint
  • Support filtering connectors by a wildcard query across name, index_name and description field

@jedrazb jedrazb added >enhancement :EnterpriseSearch/Application Enterprise Search Team:Enterprise Search Meta label for Enterprise Search team v8.13.0 labels Feb 6, 2024
@elasticsearchmachine
Copy link
Collaborator

Hi @jedrazb, I've created a changelog YAML for you.

@jedrazb
Copy link
Member Author

jedrazb commented Feb 6, 2024

@elasticsearchmachine run elasticsearch-ci/part-3

@jedrazb jedrazb marked this pull request as ready for review February 6, 2024 11:26
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/ent-search-eng (Team:Enterprise Search)

@jedrazb jedrazb requested a review from a team as a code owner February 6, 2024 11:40
@jedrazb jedrazb force-pushed the connector-api-extend-list-connector-by-service-type-and-query branch from d2016c6 to 59248e1 Compare February 6, 2024 11:42
@jedrazb jedrazb removed the request for review from a team February 6, 2024 11:42
@jedrazb
Copy link
Member Author

jedrazb commented Feb 6, 2024

@elasticsearchmachine run elasticsearch-ci/bwc-snapshots

@jedrazb
Copy link
Member Author

jedrazb commented Feb 6, 2024

@elasticsearchmachine run elasticsearch-ci/8.13.0 / bwc-snapshots

Copy link
Member

@wangch079 wangch079 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just one comment

"type": "list",
"description": "A comma-separated list of connector name(s) to fetch connector documents for"
},
"service_type": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't we support this as a list?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uhh that's a good question, I can change this into a list actually. I wasn't sure if we need to support filtering by multiple jobtypes?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm adding support for multiple service types and merging :) it's a small change

@jedrazb
Copy link
Member Author

jedrazb commented Feb 6, 2024

@elasticsearchmachine run elasticsearch-ci/part-3

@jedrazb jedrazb merged commit 24f9682 into elastic:main Feb 6, 2024
15 checks passed
felixbarny pushed a commit to felixbarny/elasticsearch that referenced this pull request Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :EnterpriseSearch/Application Enterprise Search Team:Enterprise Search Meta label for Enterprise Search team v8.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants