diff --git a/stored-procedures/sp_vector_search_all/sp_vector_search_all.sql b/stored-procedures/sp_vector_search_all/sp_vector_search_all.sql index 3056354..b5909cf 100644 --- a/stored-procedures/sp_vector_search_all/sp_vector_search_all.sql +++ b/stored-procedures/sp_vector_search_all/sp_vector_search_all.sql @@ -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; */