Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
38Activity
0 of .
Results for:
No results containing your search query
P. 1
Full-text Search in PostgreSQL

Full-text Search in PostgreSQL

Ratings:

4.7

(1)
|Views: 4,849|Likes:
Published by Nikolay Samokhvalov
Introduction to FTS support in PostgreSQL by Oleg Bartunov and Teodor Sigaev
Introduction to FTS support in PostgreSQL by Oleg Bartunov and Teodor Sigaev

More info:

Published by: Nikolay Samokhvalov on Aug 18, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/09/2014

pdf

text

original

 
Full-Text Search in PostgreSQL
A Gentle Introduction
Oleg Bartunov
Moscow Universityoleg@sai.msu.suMoscowRussia
Teodor Sigaev
Moscow Universityteodor@sigaev.ruMoscowRussia
 
Full-Text Search in PostgreSQL: A Gentle Introduction
by Oleg Bartunov and Teodor SigaevCopyright © 2001-2007 Oleg Bartunov, Teodor SigaevThis document is a gentle introduction to the full-text search in ORDBMS PostgreSQL (version 8.3+). It covers basicfeatures and contains reference of SQL commands, related to the FTS.Brave and smart can play with the new FTS - patch for the CVS HEAD is available tsearch_core-0.48.gz
1
.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or anylater version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover texts, and with no Back-Cover Texts. Acopy of the license is included in the section entitled "GNU Free Documentation License".
1. http://www.sigaev.ru/misc/tsearch_core-0.48.gz
 
Table of Contents
1. FTS Introduction...................................................................................................................................1
1.1. Full Text Search in databases......................................................................................................11.1.1. What is a
?.......................................................................................................11.2. FTS Overview.............................................................................................................................11.2.1. Tsquery and tsvector.......................................................................................................21.2.2. FTS operator...................................................................................................................41.3. Basic operations..........................................................................................................................41.3.1. Obtaining tsvector..........................................................................................................41.3.2. Obtaining tsquery...........................................................................................................61.3.3. Ranking search results....................................................................................................61.3.4. Getting results.................................................................................................................81.3.5. Dictionaries.....................................................................................................................81.3.6. Stop words......................................................................................................................91.4. FTS features..............................................................................................................................101.5. FTS Limitations........................................................................................................................101.6. A Brief History of FTS in PostgreSQL.....................................................................................101.6.1. Pre-tsearch....................................................................................................................111.6.2. Tsearch v1....................................................................................................................111.6.3. Tsearch v2....................................................................................................................111.6.4. FTS current...................................................................................................................121.7. Links..........................................................................................................................................121.8. FTS Todo...................................................................................................................................121.9. Acknowledgements...................................................................................................................13
2. FTS Operators and Functions............................................................................................................14
2.1. FTS operator.............................................................................................................................142.2. Vector Operations......................................................................................................................152.3. Query Operations......................................................................................................................162.3.1. Query rewriting.............................................................................................................182.3.2. Operators for tsquery....................................................................................................192.3.3. Index for tsquery...........................................................................................................202.4. Parser functions.........................................................................................................................202.5. Ranking.....................................................................................................................................212.6. Headline....................................................................................................................................222.7. Full-text indexes........................................................................................................................222.8. Dictionaries...............................................................................................................................242.8.1. Simple dictionary..........................................................................................................252.8.2. Ispell dictionary............................................................................................................252.8.3. Snowball stemming dictionary.....................................................................................272.8.4. Synonym dictionary......................................................................................................272.8.5. Thesaurus dictionary....................................................................................................282.8.5.1. Thesaurus configuration...................................................................................292.8.5.2. Thesaurus examples.........................................................................................292.9. FTS Configuration.....................................................................................................................302.10. Debugging...............................................................................................................................312.11. Psql support.............................................................................................................................32
iii

Activity (38)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Phạm Văn Tân liked this
bilishr6450 liked this
Fieraru Cristian liked this
Obalogun liked this
Itsmejanu liked this
wpbcoder liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->