Add mention of full text indexing for word searches.

This commit is contained in:
Bruce Momjian 2007-10-09 20:13:11 +00:00
parent db962bb14d
commit e1caa90406
2 changed files with 6 additions and 12 deletions

View File

@ -1,7 +1,7 @@
Frequently Asked Questions (FAQ) for PostgreSQL
Last updated: Tue Oct 9 16:07:30 EDT 2007
Last updated: Tue Oct 9 16:13:00 EDT 2007
Current maintainer: Bruce Momjian (bruce@momjian.us)
@ -600,12 +600,9 @@
* The default C locale must be used during initdb because it is not
possible to know the next-greatest character in a non-C locale.
You can create a special text_pattern_ops index for such cases
that work only for LIKE indexing.
that work only for LIKE indexing. It is also possible to use full
text indexing for word searches.
In pre-8.0 releases, indexes often can not be used unless the data
types exactly match the index's column types. This was particularly
true of int2, int8, and numeric column indexes.
4.7) How do I see how the query optimizer is evaluating my query?
See the EXPLAIN manual page.

View File

@ -10,7 +10,7 @@
alink="#0000ff">
<H1>Frequently Asked Questions (FAQ) for PostgreSQL</H1>
<P>Last updated: Tue Oct 9 16:07:30 EDT 2007</P>
<P>Last updated: Tue Oct 9 16:13:00 EDT 2007</P>
<P>Current maintainer: Bruce Momjian (<A href=
"mailto:bruce@momjian.us">bruce@momjian.us</A>)
@ -784,14 +784,11 @@ table?</TD><TD>unlimited</TD></TR>
<i>initdb</i> because it is not possible to know the next-greatest
character in a non-C locale. You can create a special
<CODE>text_pattern_ops</CODE> index for such cases that work only
for <SMALL>LIKE</SMALL> indexing.
for <SMALL>LIKE</SMALL> indexing. It is also possible to use
full text indexing for word searches.
</LI>
</UL>
<P>In pre-8.0 releases, indexes often can not be used unless the data
types exactly match the index's column types. This was particularly
true of int2, int8, and numeric column indexes.</P>
<H3 id="item4.7">4.7) How do I see how the query optimizer is
evaluating my query?</H3>