Kouhei Sutou
null+****@clear*****
Sun Apr 24 00:52:04 JST 2016
Kouhei Sutou 2016-04-24 00:52:04 +0900 (Sun, 24 Apr 2016) New Revision: 363f9e329986c392627742270b93f73e8231b808 https://github.com/pgroonga/pgroonga/commit/363f9e329986c392627742270b93f73e8231b808 Message: test: fix \n syntax Modified files: expected/function/highlight-html/multiple-keywords.out expected/function/highlight-html/one-keyword.out expected/function/snippet-html/keywords/multiple.out expected/function/snippet-html/keywords/one.out sql/function/highlight-html/multiple-keywords.sql sql/function/highlight-html/one-keyword.sql sql/function/snippet-html/keywords/multiple.sql sql/function/snippet-html/keywords/one.sql Modified: expected/function/highlight-html/multiple-keywords.out (+7 -5) =================================================================== --- expected/function/highlight-html/multiple-keywords.out 2016-04-24 00:43:51 +0900 (61776c2) +++ expected/function/highlight-html/multiple-keywords.out 2016-04-24 00:52:04 +0900 (a64d65c) @@ -4,16 +4,18 @@ SELECT pgroonga.highlight_html( 'newly registered document instantly appears in search results. ' || 'Also, Groonga allows updates without read locks. These characteristics ' || 'result in superior performance on real-time applications.' || - '\n' || - '\n' || + E'\n' || + E'\n' || 'Groonga is also a column-oriented database management system (DBMS). ' || 'Compared with well-known row-oriented systems, such as MySQL and ' || 'PostgreSQL, column-oriented systems are more suited for aggregate ' || 'queries. Due to this advantage, Groonga can cover weakness of ' || 'row-oriented systems.', ARRAY['fast', 'PostgreSQL']); - highlight_html ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - Groonga is a <span class="keyword">fast</span> and accurate full text search engine based on inverted index. One of the characteristics of Groonga is that a newly registered document instantly appears in search results. Also, Groonga allows updates without read locks. These characteristics result in superior performance on real-time applications.\n\nGroonga is also a column-oriented database management system (DBMS). Compared with well-known row-oriented systems, such as MySQL and <span class="keyword">PostgreSQL</span>, column-oriented systems are more suited for aggregate queries. Due to this advantage, Groonga can cover weakness of row-oriented systems. + highlight_html +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Groonga is a <span class="keyword">fast</span> and accurate full text search engine based on inverted index. One of the characteristics of Groonga is that a newly registered document instantly appears in search results. Also, Groonga allows updates without read locks. These characteristics result in superior performance on real-time applications.+ + + + Groonga is also a column-oriented database management system (DBMS). Compared with well-known row-oriented systems, such as MySQL and <span class="keyword">PostgreSQL</span>, column-oriented systems are more suited for aggregate queries. Due to this advantage, Groonga can cover weakness of row-oriented systems. (1 row) Modified: expected/function/highlight-html/one-keyword.out (+7 -5) =================================================================== --- expected/function/highlight-html/one-keyword.out 2016-04-24 00:43:51 +0900 (c771ce7) +++ expected/function/highlight-html/one-keyword.out 2016-04-24 00:52:04 +0900 (fedc76d) @@ -4,16 +4,18 @@ SELECT pgroonga.highlight_html( 'newly registered document instantly appears in search results. ' || 'Also, Groonga allows updates without read locks. These characteristics ' || 'result in superior performance on real-time applications.' || - '\n' || - '\n' || + E'\n' || + E'\n' || 'Groonga is also a column-oriented database management system (DBMS). ' || 'Compared with well-known row-oriented systems, such as MySQL and ' || 'PostgreSQL, column-oriented systems are more suited for aggregate ' || 'queries. Due to this advantage, Groonga can cover weakness of ' || 'row-oriented systems.', ARRAY['Groonga']); - highlight_html ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - <span class="keyword">Groonga</span> is a fast and accurate full text search engine based on inverted index. One of the characteristics of <span class="keyword">Groonga</span> is that a newly registered document instantly appears in search results. Also, <span class="keyword">Groonga</span> allows updates without read locks. These characteristics result in superior performance on real-time applications.\n\n<span class="keyword">Groonga</span> is also a column-oriented database management system (DBMS). Compared with well-known row-oriented systems, such as MySQL and PostgreSQL, column-oriented systems are more suited for aggregate queries. Due to this advantage, <span class="keyword">Groonga</span> can cover weakness of row-oriented systems. + highlight_html +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + <span class="keyword">Groonga</span> is a fast and accurate full text search engine based on inverted index. One of the characteristics of <span class="keyword">Groonga</span> is that a newly registered document instantly appears in search results. Also, <span class="keyword">Groonga</span> allows updates without read locks. These characteristics result in superior performance on real-time applications.<span class="keyword">+ + + + Groonga</span> is also a column-oriented database management system (DBMS). Compared with well-known row-oriented systems, such as MySQL and PostgreSQL, column-oriented systems are more suited for aggregate queries. Due to this advantage, <span class="keyword">Groonga</span> can cover weakness of row-oriented systems. (1 row) Modified: expected/function/snippet-html/keywords/multiple.out (+2 -2) =================================================================== --- expected/function/snippet-html/keywords/multiple.out 2016-04-24 00:43:51 +0900 (7e36d5f) +++ expected/function/snippet-html/keywords/multiple.out 2016-04-24 00:52:04 +0900 (3f2660e) @@ -4,8 +4,8 @@ SELECT unnest(pgroonga.snippet_html( 'newly registered document instantly appears in search results. ' || 'Also, Groonga allows updates without read locks. These characteristics ' || 'result in superior performance on real-time applications.' || - '\n' || - '\n' || + E'\n' || + E'\n' || 'Groonga is also a column-oriented database management system (DBMS). ' || 'Compared with well-known row-oriented systems, such as MySQL and ' || 'PostgreSQL, column-oriented systems are more suited for aggregate ' || Modified: expected/function/snippet-html/keywords/one.out (+5 -3) =================================================================== --- expected/function/snippet-html/keywords/one.out 2016-04-24 00:43:51 +0900 (63e3320) +++ expected/function/snippet-html/keywords/one.out 2016-04-24 00:52:04 +0900 (c53c491) @@ -4,8 +4,8 @@ SELECT unnest(pgroonga.snippet_html( 'newly registered document instantly appears in search results. ' || 'Also, Groonga allows updates without read locks. These characteristics ' || 'result in superior performance on real-time applications.' || - '\n' || - '\n' || + E'\n' || + E'\n' || 'Groonga is also a column-oriented database management system (DBMS). ' || 'Compared with well-known row-oriented systems, such as MySQL and ' || 'PostgreSQL, column-oriented systems are more suited for aggregate ' || @@ -15,7 +15,9 @@ SELECT unnest(pgroonga.snippet_html( unnest -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- <span class="keyword">Groonga</span> is a fast and accurate full text search engine based on inverted index. One of the characteristics of <span class="keyword">Groonga</span> is that a newly registered document instantly appears in search results. Also, Gro - t read locks. These characteristics result in superior performance on real-time applications.\n\n<span class="keyword">Groonga</span> is also a column-oriented database management system (DBMS). Compared with well-known row-orien + out read locks. These characteristics result in superior performance on real-time applications. + + + + <span class="keyword">Groonga</span> is also a column-oriented database management system (DBMS). Compared with well-known row-orien ted systems, such as MySQL and PostgreSQL, column-oriented systems are more suited for aggregate queries. Due to this advantage, <span class="keyword">Groonga</span> can cover weakness of row-oriented systems. (3 rows) Modified: sql/function/highlight-html/multiple-keywords.sql (+2 -2) =================================================================== --- sql/function/highlight-html/multiple-keywords.sql 2016-04-24 00:43:51 +0900 (709aaba) +++ sql/function/highlight-html/multiple-keywords.sql 2016-04-24 00:52:04 +0900 (8803678) @@ -4,8 +4,8 @@ SELECT pgroonga.highlight_html( 'newly registered document instantly appears in search results. ' || 'Also, Groonga allows updates without read locks. These characteristics ' || 'result in superior performance on real-time applications.' || - '\n' || - '\n' || + E'\n' || + E'\n' || 'Groonga is also a column-oriented database management system (DBMS). ' || 'Compared with well-known row-oriented systems, such as MySQL and ' || 'PostgreSQL, column-oriented systems are more suited for aggregate ' || Modified: sql/function/highlight-html/one-keyword.sql (+2 -2) =================================================================== --- sql/function/highlight-html/one-keyword.sql 2016-04-24 00:43:51 +0900 (9eb45b1) +++ sql/function/highlight-html/one-keyword.sql 2016-04-24 00:52:04 +0900 (3661124) @@ -4,8 +4,8 @@ SELECT pgroonga.highlight_html( 'newly registered document instantly appears in search results. ' || 'Also, Groonga allows updates without read locks. These characteristics ' || 'result in superior performance on real-time applications.' || - '\n' || - '\n' || + E'\n' || + E'\n' || 'Groonga is also a column-oriented database management system (DBMS). ' || 'Compared with well-known row-oriented systems, such as MySQL and ' || 'PostgreSQL, column-oriented systems are more suited for aggregate ' || Modified: sql/function/snippet-html/keywords/multiple.sql (+2 -2) =================================================================== --- sql/function/snippet-html/keywords/multiple.sql 2016-04-24 00:43:51 +0900 (e6a7c57) +++ sql/function/snippet-html/keywords/multiple.sql 2016-04-24 00:52:04 +0900 (927421c) @@ -4,8 +4,8 @@ SELECT unnest(pgroonga.snippet_html( 'newly registered document instantly appears in search results. ' || 'Also, Groonga allows updates without read locks. These characteristics ' || 'result in superior performance on real-time applications.' || - '\n' || - '\n' || + E'\n' || + E'\n' || 'Groonga is also a column-oriented database management system (DBMS). ' || 'Compared with well-known row-oriented systems, such as MySQL and ' || 'PostgreSQL, column-oriented systems are more suited for aggregate ' || Modified: sql/function/snippet-html/keywords/one.sql (+2 -2) =================================================================== --- sql/function/snippet-html/keywords/one.sql 2016-04-24 00:43:51 +0900 (e3a30df) +++ sql/function/snippet-html/keywords/one.sql 2016-04-24 00:52:04 +0900 (f449f09) @@ -4,8 +4,8 @@ SELECT unnest(pgroonga.snippet_html( 'newly registered document instantly appears in search results. ' || 'Also, Groonga allows updates without read locks. These characteristics ' || 'result in superior performance on real-time applications.' || - '\n' || - '\n' || + E'\n' || + E'\n' || 'Groonga is also a column-oriented database management system (DBMS). ' || 'Compared with well-known row-oriented systems, such as MySQL and ' || 'PostgreSQL, column-oriented systems are more suited for aggregate ' || -------------- next part -------------- HTML����������������������������... 다운로드