| The PostgreSQL 9.0 Reference Manual - Volume 1A - SQL Language Reference
by The PostgreSQL Global Development Group Paperback (6"x9"), 454 pages ISBN 9781906966041 RRP £14.95 ($19.95) Sales of this book support the PostgreSQL project! Get a printed copy>>> |
10.11 Limitations
The current limitations of PostgreSQL's text search features are:
- The length of each lexeme must be less than 2K bytes
-
The length of a
tsvector(lexemes + positions) must be less than 1 megabyte - The number of lexemes must be less than 2^64
-
Position values in
tsvectormust be greater than 0 and no more than 16,383 - No more than 256 positions per lexeme
-
The number of nodes (lexemes + operators) in a
tsquerymust be less than 32,768
For comparison, the PostgreSQL 8.1 documentation contained 10,441 unique words, a total of 335,420 words, and the most frequent word “postgresql” was mentioned 6,127 times in 655 documents.
Another example--the PostgreSQL mailing list archives contained 910,989 unique words with 57,491,343 lexemes in 461,020 messages.
| ISBN 9781906966041 | The PostgreSQL 9.0 Reference Manual - Volume 1A - SQL Language Reference | See the print edition |