feat: add pgvector full_text_search #7396
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Checklist:
Important
Please review the checklist below before submitting your pull request.
dev/reformat
(backend) andcd web && npx lint-staged
(frontend) to appease the lint godsDescription
Added
Full Text Search
on pg_vector according to PSQL Full Text Search. works well with different languages such as English, Korean, and ChineseCloses #7190
Type of Change
Testing Instructions
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
VECTOR_STORE
configuration in.env
to pgvector. Please refer to the screenshot below** edited **
![Screenshot 2024-08-19 at 4 45 25 PM](https://private-user-images.githubusercontent.com/45306565/359021491-f1d00ff6-1d22-48c4-899a-3650c3d87dc4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MTk0MTAsIm5iZiI6MTczODkxOTExMCwicGF0aCI6Ii80NTMwNjU2NS8zNTkwMjE0OTEtZjFkMDBmZjYtMWQyMi00OGM0LTg5OWEtMzY1MGMzZDg3ZGM0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDA5MDUxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTUwNzI4MWIyNDAyNjlkNGYxYTNlYzU0NDY5Njc2ZmQwODBmNDc4NjFjZDZiNjJiYjNiYzFlMTk0YThiNjY5OGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.VlCMgd6urFEXzzIcdd4IhS8wrKqIYA3aSvM44g8PCHM)
fixed a bug associated with having a whitespace in
query