Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/docs/oscon_tsearch2/to_tsvector.html
Дата изменения: Unknown Дата индексирования: Sat Dec 22 10:28:18 2007 Кодировка: Поисковые слова: clouds |
Previous | Next |
Function to_tsvectorConverts text into a tsvector (text search vector) data type of lexemes or word stems that has been processed by dictionaries specified by a configuration. to_tsvector([configuration OID | TEXT, ] txt TEXT) RETURNS TSVECTOR
SELECT to_tsvector('simple', 'vacuumdb is a utility for cleaning a PostgreSQL database.'); to_tsvector ------------------------------------------------------------------------------------------ 'a':3,7 'is':2 'for':5 'utility':4 'cleaning':6 'database':9 'vacuumdb':1 'postgresql':8 (1 row) SELECT to_tsvector('default', 'vacuumdb is a utility for cleaning a PostgreSQL database.'); to_tsvector ------------------------------------------------------------ 'util':4 'clean':6 'databas':9 'vacuumdb':1 'postgresql':8 (1 row) SELECT to_tsvector('default_english', 'vacuumdb is a utility for cleaning a PostgreSQL database.'); to_tsvector ---------------------------------------------------------------- 'clean':6 'utility':4 'database':9 'vacuumdb':1 'postgresql':8 (1 row) |