avoid adding NULL tokens for frequent full names

This commit is contained in:
Sarah Hoffmann
2013-10-30 21:09:21 +01:00
parent 17e2e95b53
commit bb18cc861c

View File

@@ -347,7 +347,7 @@ BEGIN
w := getorcreate_word_id(s);
IF NOT (ARRAY[w] <@ result) THEN
IF w IS NOT NULL AND NOT (ARRAY[w] <@ result) THEN
result := result || w;
END IF;
@@ -415,7 +415,7 @@ BEGIN
w := getorcreate_word_id(s);
IF NOT (ARRAY[w] <@ result) THEN
IF w IS NOT NULL AND NOT (ARRAY[w] <@ result) THEN
result := result || w;
END IF;