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

REFACTOR: Changed Data Model for storing data in Database #4

Merged
merged 15 commits into from
Nov 5, 2023

Conversation

ishaan812
Copy link
Owner

  • Added Fields to the Schema
  • Added Sha hash as unique id to store the field

- Added Connection to ElasticSearch
- Added 2 API's - /ping and /passive
- Keyword Search using /passive
- Added Storing to DB capability when using /search
-added error handling for passivesearch api endpoint
- Changed ElasticSearch Search type to Simple Query String
-Made Active Search make better use of downtimes (Rate Limits or Validation Downtime)
-Fixed errors with parrallel processing
- Added RootQuery as an optional query param for activesearch which basically takes out the prompt builder and takes a raw query to look for in Github API.
- Added Python SeedScript
- Added other fields like LastUpdated, ETAG, URL, LastModified to Schema.
- Added SHA hash as the unique parameter to not allow duplicates in the database
@ishaan812
Copy link
Owner Author

Dont delete branch if merging

- Changed console.log to console.info / console.error
-Added PUT /database endpoint for updating the database

- Changed name of the endpoints

- Commented Database Trace Logs
- Fixed GetFileContents
- Added Global variables for EsClient and Octokit for easy access and clean code
- Better logs
- Update API Refactored
- Better API Naming
- Fixed Update API
@ishaan812 ishaan812 merged commit 8a2db0c into main Nov 5, 2023
1 check failed
@ishaan812 ishaan812 deleted the Update-API branch November 5, 2023 09:48
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

1 participant