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

Support multiple targets in search route #5

Merged
merged 1 commit into from
Aug 8, 2022
Merged

Conversation

kdid
Copy link
Contributor

@kdid kdid commented Aug 8, 2022

Example searches:

  • curl -X POST 'http://127.0.0.1:3000/search/works,collections,file-sets' --data-binary '{"query": {"match_all": {}}}' | jq
  • curl -X POST 'http://127.0.0.1:3000/search/collections' --data-binary '{"query": {"match_all": {}}}' | jq
  • curl -X POST 'http://127.0.0.1:3000/search' --data-binary '{"query": {"match_all": {}}}' | jq

Invalid Search

  • curl -X POST 'http://127.0.0.1:3000/search/nope' --data-binary '{"query": {"match_all": {}}}' | jq

Verified

This commit was signed with the committer’s verified signature. The key has been revoked.
eggplants haruna
@kdid kdid force-pushed the 3085-search-indices branch from 0e0c75d to f9de9b9 Compare August 8, 2022 17:31
@kdid kdid requested a review from mbklein August 8, 2022 17:56
@mbklein mbklein merged commit ea2092e into main Aug 8, 2022
@mbklein mbklein deleted the 3085-search-indices branch August 16, 2022 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants