Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
455 additions
and
19 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
expected/full-text-search/text/single/like/begin/bitmapscan.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| CREATE TABLE memos ( | ||
| id integer, | ||
| content text | ||
| ); | ||
| INSERT INTO memos VALUES (1, 'PostgreSQL is a RDBMS.'); | ||
| INSERT INTO memos VALUES (2, 'Groonga is fast full text search engine.'); | ||
| INSERT INTO memos VALUES (3, 'PGroonga is a PostgreSQL extension that uses Groonga.'); | ||
| INSERT INTO memos VALUES (4, 'groonga command is provided.'); | ||
| CREATE INDEX grnindex ON memos USING pgroonga (content); | ||
| SET enable_seqscan = off; | ||
| SET enable_indexscan = off; | ||
| SET enable_bitmapscan = on; | ||
| SELECT id, content | ||
| FROM memos | ||
| WHERE content LIKE 'PostgreSQL%'; | ||
| id | content | ||
| ----+------------------------ | ||
| 1 | PostgreSQL is a RDBMS. | ||
| (1 row) | ||
|
|
||
| DROP TABLE memos; |
21 changes: 21 additions & 0 deletions
21
expected/full-text-search/text/single/like/begin/indexscan.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| CREATE TABLE memos ( | ||
| id integer, | ||
| content text | ||
| ); | ||
| INSERT INTO memos VALUES (1, 'PostgreSQL is a RDBMS.'); | ||
| INSERT INTO memos VALUES (2, 'Groonga is fast full text search engine.'); | ||
| INSERT INTO memos VALUES (3, 'PGroonga is a PostgreSQL extension that uses Groonga.'); | ||
| INSERT INTO memos VALUES (4, 'groonga command is provided.'); | ||
| CREATE INDEX grnindex ON memos USING pgroonga (content); | ||
| SET enable_seqscan = off; | ||
| SET enable_indexscan = on; | ||
| SET enable_bitmapscan = off; | ||
| SELECT id, content | ||
| FROM memos | ||
| WHERE content LIKE 'PostgreSQL%'; | ||
| id | content | ||
| ----+------------------------ | ||
| 1 | PostgreSQL is a RDBMS. | ||
| (1 row) | ||
|
|
||
| DROP TABLE memos; |
21 changes: 21 additions & 0 deletions
21
expected/full-text-search/text/single/like/begin/seqscan.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| CREATE TABLE memos ( | ||
| id integer, | ||
| content text | ||
| ); | ||
| INSERT INTO memos VALUES (1, 'PostgreSQL is a RDBMS.'); | ||
| INSERT INTO memos VALUES (2, 'Groonga is fast full text search engine.'); | ||
| INSERT INTO memos VALUES (3, 'PGroonga is a PostgreSQL extension that uses Groonga.'); | ||
| INSERT INTO memos VALUES (4, 'groonga command is provided.'); | ||
| CREATE INDEX grnindex ON memos USING pgroonga (content); | ||
| SET enable_seqscan = on; | ||
| SET enable_indexscan = off; | ||
| SET enable_bitmapscan = off; | ||
| SELECT id, content | ||
| FROM memos | ||
| WHERE content LIKE 'PostgreSQL%'; | ||
| id | content | ||
| ----+------------------------ | ||
| 1 | PostgreSQL is a RDBMS. | ||
| (1 row) | ||
|
|
||
| DROP TABLE memos; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
expected/full-text-search/text/single/like/end/seqscan.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| CREATE TABLE memos ( | ||
| id integer, | ||
| content text | ||
| ); | ||
| INSERT INTO memos VALUES (1, 'PostgreSQL is a RDBMS.'); | ||
| INSERT INTO memos VALUES (2, 'Groonga is fast full text search engine.'); | ||
| INSERT INTO memos VALUES (3, 'PGroonga is a PostgreSQL extension that uses Groonga.'); | ||
| INSERT INTO memos VALUES (4, 'groonga command is provided.'); | ||
| CREATE INDEX grnindex ON memos USING pgroonga (content); | ||
| SET enable_seqscan = on; | ||
| SET enable_indexscan = off; | ||
| SET enable_bitmapscan = off; | ||
| SELECT id, content | ||
| FROM memos | ||
| WHERE content LIKE '%Groonga.'; | ||
| id | content | ||
| ----+------------------------------------------------------- | ||
| 3 | PGroonga is a PostgreSQL extension that uses Groonga. | ||
| (1 row) | ||
|
|
||
| DROP TABLE memos; |
21 changes: 21 additions & 0 deletions
21
expected/full-text-search/text/single/like/partial/bitmapscan.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| CREATE TABLE memos ( | ||
| id integer, | ||
| content text | ||
| ); | ||
| INSERT INTO memos VALUES (1, 'PostgreSQL is a RDBMS.'); | ||
| INSERT INTO memos VALUES (2, 'Groonga is fast full text search engine.'); | ||
| INSERT INTO memos VALUES (3, 'PGroonga is a PostgreSQL extension that uses Groonga.'); | ||
| INSERT INTO memos VALUES (4, 'groonga command is provided.'); | ||
| CREATE INDEX grnindex ON memos USING pgroonga (content); | ||
| SET enable_seqscan = off; | ||
| SET enable_indexscan = off; | ||
| SET enable_bitmapscan = on; | ||
| SELECT id, content | ||
| FROM memos | ||
| WHERE content LIKE '%groonga%'; | ||
| id | content | ||
| ----+------------------------------ | ||
| 4 | groonga command is provided. | ||
| (1 row) | ||
|
|
||
| DROP TABLE memos; |
21 changes: 21 additions & 0 deletions
21
expected/full-text-search/text/single/like/partial/indexscan.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| CREATE TABLE memos ( | ||
| id integer, | ||
| content text | ||
| ); | ||
| INSERT INTO memos VALUES (1, 'PostgreSQL is a RDBMS.'); | ||
| INSERT INTO memos VALUES (2, 'Groonga is fast full text search engine.'); | ||
| INSERT INTO memos VALUES (3, 'PGroonga is a PostgreSQL extension that uses Groonga.'); | ||
| INSERT INTO memos VALUES (4, 'groonga command is provided.'); | ||
| CREATE INDEX grnindex ON memos USING pgroonga (content); | ||
| SET enable_seqscan = off; | ||
| SET enable_indexscan = on; | ||
| SET enable_bitmapscan = off; | ||
| SELECT id, content | ||
| FROM memos | ||
| WHERE content LIKE '%groonga%'; | ||
| id | content | ||
| ----+------------------------------ | ||
| 4 | groonga command is provided. | ||
| (1 row) | ||
|
|
||
| DROP TABLE memos; |
File renamed without changes.
20 changes: 20 additions & 0 deletions
20
expected/full-text-search/text/single/like/underscore/bitmapscan.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| CREATE TABLE memos ( | ||
| id integer, | ||
| content text | ||
| ); | ||
| INSERT INTO memos VALUES (1, ''); | ||
| INSERT INTO memos VALUES (2, 'a'); | ||
| INSERT INTO memos VALUES (3, 'ab'); | ||
| CREATE INDEX grnindex ON memos USING pgroonga (content); | ||
| SET enable_seqscan = off; | ||
| SET enable_indexscan = off; | ||
| SET enable_bitmapscan = on; | ||
| SELECT id, content | ||
| FROM memos | ||
| WHERE content LIKE '_'; | ||
| id | content | ||
| ----+--------- | ||
| 2 | a | ||
| (1 row) | ||
|
|
||
| DROP TABLE memos; |
20 changes: 20 additions & 0 deletions
20
expected/full-text-search/text/single/like/underscore/indexscan.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| CREATE TABLE memos ( | ||
| id integer, | ||
| content text | ||
| ); | ||
| INSERT INTO memos VALUES (1, ''); | ||
| INSERT INTO memos VALUES (2, 'a'); | ||
| INSERT INTO memos VALUES (3, 'ab'); | ||
| CREATE INDEX grnindex ON memos USING pgroonga (content); | ||
| SET enable_seqscan = off; | ||
| SET enable_indexscan = on; | ||
| SET enable_bitmapscan = off; | ||
| SELECT id, content | ||
| FROM memos | ||
| WHERE content LIKE '_'; | ||
| id | content | ||
| ----+--------- | ||
| 2 | a | ||
| (1 row) | ||
|
|
||
| DROP TABLE memos; |
20 changes: 20 additions & 0 deletions
20
expected/full-text-search/text/single/like/underscore/seqscan.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| CREATE TABLE memos ( | ||
| id integer, | ||
| content text | ||
| ); | ||
| INSERT INTO memos VALUES (1, ''); | ||
| INSERT INTO memos VALUES (2, 'a'); | ||
| INSERT INTO memos VALUES (3, 'ab'); | ||
| CREATE INDEX grnindex ON memos USING pgroonga (content); | ||
| SET enable_seqscan = on; | ||
| SET enable_indexscan = off; | ||
| SET enable_bitmapscan = off; | ||
| SELECT id, content | ||
| FROM memos | ||
| WHERE content LIKE '_'; | ||
| id | content | ||
| ----+--------- | ||
| 2 | a | ||
| (1 row) | ||
|
|
||
| DROP TABLE memos; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.