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

feat(api): add search API #96

Merged
merged 5 commits into from
Feb 14, 2022
Merged

feat(api): add search API #96

merged 5 commits into from
Feb 14, 2022

Conversation

ramey
Copy link
Member

@ramey ramey commented Jan 21, 2022

  • create SearchService and SearchRepository interfaces
  • add mocks generated by mockery for the interfaces
  • update auto-generated go files for new RPC call and messages
  • add DB query for searching data in Postgres
  • migrate scripts for index creation on search_data
  • parsing comments for protobufs when source info is present.

@ramey ramey linked an issue Jan 21, 2022 that may be closed by this pull request
@ramey ramey force-pushed the search branch 3 times, most recently from a5a02f2 to 909de12 Compare February 1, 2022 12:09
server/api/api.go Outdated Show resolved Hide resolved
@ravisuhag ravisuhag linked an issue Feb 9, 2022 that may be closed by this pull request
- create  `SearchService` and `SearchRepository` interfaces
- add mocks generated by mockery for the interfaces
- update auto-generated go files for new RPC call and messages
- add DB query for searching data in Postgres
- migrate scripts for index creation on search_data
* modify search API to make it a global search instead of schema search
* add search keys by parsing comments for protobufs
* change `all` param in `SearchRequest` to `history`
* use oneof for `version_id` and `history`
@ramey ramey force-pushed the search branch 2 times, most recently from 5cef43c to 0b7a0eb Compare February 13, 2022 11:33
address review comments by @ravisuhag and @harikrishnakanchi
* removed indexes on json fields in
* updated search query to search on proto fullname
@h4rikris h4rikris merged commit 9f3421e into raystack:master Feb 14, 2022
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.

add search API Add search command
3 participants