OSDN Git Service

Correct documentation for bigm_similarity to indicate case-sensitivity.
authorMasaoFujii <masao.fujii@gmail.com>
Fri, 24 Mar 2023 11:32:54 +0000 (20:32 +0900)
committerMasaoFujii <masao.fujii@gmail.com>
Fri, 24 Mar 2023 11:32:54 +0000 (20:32 +0900)
The previous documentation for bigm_similarity incorrectly stated that
it was not case-sensitive. This commit updates the documentation to
reflect that bigm_similarity IS case-sensitive.

Please note that the Japanese version of the documentation is not updated
as it already accurately explains bigm_similarity and its case-sensitivity.

Back-patch to pg_bigm 1.1.

Reported and suggested by: Vin Yap
Discussion: https://github.com/pgbigm/pg_bigm/issues/3

html/pg_bigm_en-1-2.html

index dd6373e..0f7843c 100644 (file)
@@ -376,7 +376,7 @@ This is basically the same behavior as pg_trgm's similarity function.
 </pre>
 
 <p>
-Note that bigm_similarity is NOT case-sensitive, but pg_trgm's similarity function is case-sensitive.
+Note that bigm_similarity IS case-sensitive, but pg_trgm's similarity function is not.
 For example, the similarity of the strings "ABC" and "abc" is 1 in pg_trgm's similarity function but 0 in bigm_similarity.
 </p>