Clean up some stray references to tsearch2.
authorTom Lane
Tue, 13 Nov 2007 23:36:26 +0000 (23:36 +0000)
committerTom Lane
Tue, 13 Nov 2007 23:36:26 +0000 (23:36 +0000)
doc/src/sgml/gin.sgml
doc/src/sgml/gist.sgml
doc/src/sgml/indices.sgml
doc/src/sgml/trgm.sgml
src/backend/access/gin/README

index 842ce0167d007444eec204b52156676197a7d63e..61a3f0f4ec126c36258260ed624ec8c49d03dfca 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
 GIN Indexes
 
  
   The PostgreSQL source distribution includes
-  GIN classes for one-dimensional arrays of all internal
-  types.  The following
+  GIN operator classes for tsvector and
+  for one-dimensional arrays of all internal types.  The following
   contrib modules also contain GIN
   operator classes:
  
 
  
+  
+   hstore
+   
+    Module for storing (key, value) pairs
+   
+  
+
   
    intarray
    
   
 
   
-   tsearch2
+   pg_trgm
    
-    Support for inverted text indexing.  This is much faster for very
-     large, mostly-static sets of documents.
-    
+    Text similarity using trigram matching
    
   
  
index a02da6a9f6508e306a4bbf5f7d0c100c8c5a4335..587517da1d17ce13b54f998accb6d871e2da2d3b 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
 GiST Indexes
  
   The PostgreSQL source distribution includes
   several examples of index methods implemented using
-  GiST.  The core system currently provides R-Tree
-  equivalent functionality for some of the built-in geometric data types
+  GiST.  The core system currently provides text search
+  support (indexing for tsvector and tsquery) as well as
+  R-Tree equivalent functionality for some of the built-in geometric data types
   (see src/backend/access/gist/gistproc.c).  The following
   contrib modules also contain GiST
   operator classes: 
    
   
 
+  
+   hstore
+   
+    Module for storing (key, value) pairs
+   
+  
+
   
    intarray
    
     Indexing for float ranges
    
   
-
-  
-   tsearch2
-   
-    Full text indexing
-   
-  
  
 
 
index 2c238d342944e7147da55d8f0508d452d0c0049a..6fcb6968ffc190a69aac2bb975050f1ad291e0e8 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  Indexes
@@ -235,8 +235,6 @@ CREATE INDEX name ON table
 
    (See  for the meaning of
    these operators.)
-   Also, an IS NULL condition on
-   an index column can be used with a GiST index.
    Many other GiST operator
    classes are available in the contrib collection or as separate
    projects.  For more information see .
@@ -269,10 +267,9 @@ CREATE INDEX name ON table
 
    (See  for the meaning of
    these operators.)
-   GIN indexes cannot use IS NULL as a search condition.
-   Other GIN operator classes are available in the contrib
-   tsearch2 and intarray modules.
-   For more information see .
+   Many other GIN operator
+   classes are available in the contrib collection or as separate
+   projects.  For more information see .
   
  
 
index 6d61404a4a17b3f3ea5c0303dc36552e162a3c87..63f677a6475142d39cc41882bf1420368df1fc43 100644 (file)
@@ -131,24 +131,24 @@ ORDER BY
  
 
  
-  T<span class="marked">search2</span> Integration
+  T<span class="marked">ext Search</span> Integration
   
    Trigram matching is a very useful tool when used in conjunction
-   with a text index created by the Tsearch2 contrib module. (See
-   contrib/tsearch2)
+   with a full text index.
   
   
    The first step is to generate an auxiliary table containing all
-   the unique words in the Tsearch2 index:
+   the unique words in the documents:
   
   
 CREATE TABLE words AS SELECT word FROM 
         stat('SELECT to_tsvector(''simple'', bodytext) FROM documents');
   
   
-   Where 'documents' is a table that has a text field 'bodytext'
-   that TSearch2 is used to search.  The use of the 'simple' dictionary
-   with the to_tsvector function, instead of just using the already
+   where documents is a table that has a text field
+   bodytext that we wish to search.  The use of the
+   simple configuration with the to_tsvector
+   function, instead of just using the already
    existing vector is to avoid creating a list of already stemmed
    words.  This way, only the original, unstemmed words are added
    to the word list.
@@ -174,9 +174,9 @@ CREATE INDEX words_idx ON words USING gin(word gist_trgm_ops);
   
    
     
-     Since the 'words' table has been generated as a separate,
+     Since the words table has been generated as a separate,
      static table, it will need to be periodically regenerated so that
-     it remains up to date with the word list in the Tsearch2 index.
+     it remains up to date with the document collection.
     
    
   
@@ -184,14 +184,14 @@ CREATE INDEX words_idx ON words USING gin(word gist_trgm_ops);
 
  
   References
-  
-   Tsearch2 Development Site
-   
-  
   
    GiST Development Site
    
   
+  
+   Tsearch2 Development Site
+   
+  
  
 
  
index aa9ae3db3b930533b485c57e8abce323679b68e0..c914759aa82a9edde48bf756743ade25b80d1a58 100644 (file)
@@ -48,7 +48,7 @@ Features
   * User-defined opclasses.  (The scheme is similar to GiST.)
   * Optimized index creation (Makes use of maintenance_work_mem to accumulate
     postings in memory.)
-  * Tsearch2 support via an opclass
+  * Text search support via an opclass
   * Soft upper limit on the returned results set using a GUC variable:
     gin_fuzzy_search_limit