[Groonga-commit] pgroonga/pgroonga.github.io at 3fc0560 [master] similar-search-v2: add more information

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Jun 7 14:48:59 JST 2017


Kouhei Sutou	2017-06-07 14:48:59 +0900 (Wed, 07 Jun 2017)

  New Revision: 3fc056030ce7f4b243c0c46cfb22db30274a3e05
  https://github.com/pgroonga/pgroonga.github.io/commit/3fc056030ce7f4b243c0c46cfb22db30274a3e05

  Message:
    similar-search-v2: add more information

  Modified files:
    reference/index.md
    reference/operators/match-v2.md
    reference/operators/match.md
    reference/operators/query-v2.md
    reference/operators/query.md
    reference/operators/regular-expression-v2.md
    reference/operators/regular-expression.md
    reference/operators/similar-search-v2.md

  Modified: reference/index.md (+3 -1)
===================================================================
--- reference/index.md    2017-06-07 14:44:34 +0900 (82b5803)
+++ reference/index.md    2017-06-07 14:48:59 +0900 (6f148f3)
@@ -154,7 +154,7 @@ Supported types: `boolean`, `smallint`, `integer`, `bigint`, `real`, `double pre
 
 PGroonga 1.Y.Z provides `pgroonga.XXX_v2` operator classes. They don't provide backward compatibility until PGroonga 2.0.0. But they include many improvements aggressively when new versions are released.
 
-If you use them, you need to use [incompatible case steps](../upgrade/#incompatible-case) to upgrade PGroonga.
+If you use them, you need to use [incompatible case steps][upgrade-incompatible] to upgrade PGroonga.
 
 ### For `text`
 
@@ -422,3 +422,5 @@ But you need to tune PGroonga in some cases such as a case that you need to hand
 [script-jsonb-v2]:operators/script-jsonb-v2.html
 [script-jsonb]:operators/script-jsonb.html
 [contain-jsonb]:operators/contain-jsonb.html
+
+[upgrade-incompatible]:../upgrade/#incompatible-case

  Modified: reference/operators/match-v2.md (+1 -1)
===================================================================
--- reference/operators/match-v2.md    2017-06-07 14:44:34 +0900 (8dac84f)
+++ reference/operators/match-v2.md    2017-06-07 14:48:59 +0900 (2dafc16)
@@ -19,7 +19,7 @@ column &@ keyword
 
 `column` is a column to be searched. It's `text` type, `text[]` type or `varchar` type.
 
-`keyword` is a keyword for full text search. It's `text` type for `text` type or `text[]` type `column. It's `varchar` type for `varchar` type `column`.
+`keyword` is a keyword for full text search. It's `text` type for `text` type or `text[]` type `column`. It's `varchar` type for `varchar` type `column`.
 
 ## Operator classes
 

  Modified: reference/operators/match.md (+1 -1)
===================================================================
--- reference/operators/match.md    2017-06-07 14:44:34 +0900 (c6a3b08)
+++ reference/operators/match.md    2017-06-07 14:48:59 +0900 (dac658b)
@@ -19,7 +19,7 @@ column %% keyword
 
 `column` is a column to be searched. It's `text` type, `text[]` type or `varchar` type.
 
-`keyword` is a keyword for full text search. It's `text` type for `text` type or `text[]` type `column. It's `varchar` type for `varchar` type `column`.
+`keyword` is a keyword for full text search. It's `text` type for `text` type or `text[]` type `column`. It's `varchar` type for `varchar` type `column`.
 
 ## Operator classes
 

  Modified: reference/operators/query-v2.md (+1 -1)
===================================================================
--- reference/operators/query-v2.md    2017-06-07 14:44:34 +0900 (f2a418f)
+++ reference/operators/query-v2.md    2017-06-07 14:48:59 +0900 (7a8c668)
@@ -21,7 +21,7 @@ column &? query
 
 `column` is a column to be searched. It's `text` type, `text[]` type or `varchar` type.
 
-`query` is a query for full text search. It's `text` type for `text` type or `text[]` type `column. It's `varchar` type for `varchar` type `column`.
+`query` is a query for full text search. It's `text` type for `text` type or `text[]` type `column`. It's `varchar` type for `varchar` type `column`.
 
 [Groonga's query syntax][groonga-query-syntax] is used in `query`.
 

  Modified: reference/operators/query.md (+1 -1)
===================================================================
--- reference/operators/query.md    2017-06-07 14:44:34 +0900 (f4e95c6)
+++ reference/operators/query.md    2017-06-07 14:48:59 +0900 (16119ef)
@@ -21,7 +21,7 @@ column @@ query
 
 `column` is a column to be searched. It's `text` type, `text[]` type or `varchar` type.
 
-`query` is a query for full text search. It's `text` type for `text` type or `text[]` type `column. It's `varchar` type for `varchar` type `column`.
+`query` is a query for full text search. It's `text` type for `text` type or `text[]` type `column`. It's `varchar` type for `varchar` type `column`.
 
 [Groonga's query syntax][groonga-query-syntax] is used in `query`.
 

  Modified: reference/operators/regular-expression-v2.md (+1 -1)
===================================================================
--- reference/operators/regular-expression-v2.md    2017-06-07 14:44:34 +0900 (939ff45)
+++ reference/operators/regular-expression-v2.md    2017-06-07 14:48:59 +0900 (b41e480)
@@ -47,7 +47,7 @@ column &~ regular_expression
 
 `column` is a column to be searched. It's `text` type or `varchar` type.
 
-`regular_expression` is a regular expression to be used as pattern. It's `text` type for `text` type `column. It's `varchar` type for `varchar` type column.
+`regular_expression` is a regular expression to be used as pattern. It's `text` type for `text` type `column`. It's `varchar` type for `varchar` type column.
 
 If `column` value is matched against `regular_expression` pattern, the expression returns `true`.
 

  Modified: reference/operators/regular-expression.md (+1 -1)
===================================================================
--- reference/operators/regular-expression.md    2017-06-07 14:44:34 +0900 (034ab32)
+++ reference/operators/regular-expression.md    2017-06-07 14:48:59 +0900 (d123601)
@@ -47,7 +47,7 @@ column @~ regular_expression
 
 `column` is a column to be searched. It's `text` type or `varchar` type.
 
-`regular_expression` is a regular expression to be used as pattern. It's `text` type for `text` type `column. It's `varchar` type for `varchar` type column.
+`regular_expression` is a regular expression to be used as pattern. It's `text` type for `text` type `column`. It's `varchar` type for `varchar` type column.
 
 If `column` value is matched against `regular_expression` pattern, the expression returns `true`.
 

  Modified: reference/operators/similar-search-v2.md (+13 -3)
===================================================================
--- reference/operators/similar-search-v2.md    2017-06-07 14:44:34 +0900 (9bd5697)
+++ reference/operators/similar-search-v2.md    2017-06-07 14:48:59 +0900 (bfe4ec1)
@@ -17,11 +17,21 @@ This operator uses v2 operator class. It doesn't provide backward compatibility
 column &~? document
 ```
 
-`column` is a column to be searched.
+`column` is a column to be searched. It's `text` type, `text[]` type or `varchar` type.
 
-`document` is a document for similar search. It's `text` type.
+`document` is a document for similar search. It's `text` type for `text` type or `text[]` type `column`. It's `varchar` type for `varchar` type `column`.
 
-Similar search searches records that have similar content with `document`. If `document` is short content, similar search may return records that is less similar.
+Similar search searches records that have similar content with `document`. If `document` is short content, similar search may return records that are less similar.
+
+## Operator classes
+
+You need to specify one of the following operator classes to use this operator:
+
+  * `pgroonga.text_full_text_search_ops_v2`: For `text`.
+
+  * `pgroonga.text_array_full_text_search_ops_v2`: For `text[]`.
+
+  * `pgroonga.varchar_full_text_search_ops_v2`: For `varchar`.
 
 ## Usage
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index