Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd14c64c

Browse files
committed
This patch fixes an incorrect statement and makes a few cleanups to
contrib/fulltextindex/README.ftiBackpatched to 7.3.X too.Neil Conway
1 parent3b6ca54 commitd14c64c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

‎contrib/fulltextindex/README.fti

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@ Ofcourse we can write this as:
1313

1414
But this does not use any indices, and therefore, if your database
1515
gets very large, it will not have very high performance (the above query
16-
requires at least one sequential scan, it probably takes 2 due to the
17-
self-join).
16+
requires a sequential scan of the table).
1817

1918
The approach used by this add-on is to define a trigger on the table and
20-
columns you want to dothis queries on. On every insertin the table, it
19+
columns you want to dothese queries on. On every insertto the table, it
2120
takes the value in the specified columns, breaks the text in these columns
2221
up into pieces, and stores all sub-strings into another table, together
2322
with a reference to the row in the original table that contained this
@@ -27,7 +26,7 @@ By now creating an index over the 'fti-table', we can search for
2726
substrings that occur in the original table. By making a join between
2827
the fti-table and the orig-table, we can get the actual rows we want
2928
(this can also be done by using subselects - but subselects are currently
30-
inefficient inPostgres, and maybe there're other ways too).
29+
inefficient inPostgreSQL, and maybe there're other ways too).
3130

3231
The trigger code also allows an array called StopWords, that prevents
3332
certain words from being indexed.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp