JSv4 / OpenContracts

Mass document analytics platform based on LlamaIndex, Pgvector, React and Django.
https://JSv4.github.io/OpenContracts/
Apache License 2.0
671 stars 53 forks source link

Improve DB Performance with Additional Indexes #168

Closed JSv4 closed 1 month ago

JSv4 commented 1 month ago

Add database indexes to improve query performance

This PR introduces strategic database indexes across models to optimize query performance. Key changes include:

Please monitor the application's behavior after deployment and adjust as needed

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 71.52%. Comparing base (d972338) to head (90388c7). Report is 6 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #168 +/- ## ========================================== + Coverage 71.44% 71.52% +0.07% ========================================== Files 59 59 Lines 2718 2725 +7 ========================================== + Hits 1942 1949 +7 Misses 776 776 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.