Skip to content

Commit

Permalink
Update sp_vector_search_all.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
rjvgupta authored Oct 25, 2024
1 parent 058549d commit 875db13
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ END $$ LANGUAGE plpgsql;

/* Usage Example:
SET enable_case_sensitive_identifier TO true;
call sp_vector_search_all('reviews', 'bat product quality', 100, 'searchresults')
call sp_vector_search_all('reviews', 'bad broken unreliable slow', 100, 'searchresults');
select review_id, product_title, review_title, review_desc, similarity
from #searchresults
join reviews on review_id = "recordId"
order by similarity desc;
*/

0 comments on commit 875db13

Please sign in to comment.