Expanded About this book
Who should use this book
How to use this book
How to read the syntax diagrams
Related information
How to send your comments
Expanded Contacting IBM
Product information

User's Guide
Expanded Overview and concepts
Expanded Key concepts
Using an SQL scalar search function
Using a stored procedure search
Using an SQL table-valued function for searching
Expanded Additional concepts
Column transformation function
Instance services
Externally stored data
Administration views
Partitioned database support
Indexes on nicknames in a federated database
Key features
DB2 Net Search Extender in the DB2 client/server environment
Expanded Installation
Expanded System requirements
Installation overview for a partitioned DB2 server (AIX only)
Expanded Installation on UNIX
Step 1 for UNIX: Install the product components
Step 2 for UNIX: Update the DB2 instance
Windows installation
Directory names and file names
Installing the Outside In libraries
Expanded Installation verification
Installation verification on Windows
Installation verification on UNIX
Expanded User scenarios
Simple example with the SQL scalar search function
Simple example with cache usage and stored procedure search
Simple example with the SQL table-valued function
Expanded Planning
Directory locations and index storage
Document formats and supported code pages
Outside In filtering software
User roles
Using the command line or the DB2 Control Center interface for indexing
Expanded Net Search Extender instance services
Starting and stopping DB2 Net Search Extender
Expanded Locking services
Using the locking services
Viewing a lock snapshot
Update services
Expanded Creating and maintaining a text index
Introducing the db2text commands
Expanded Enabling a database
Disabling a database
Expanded Creating a text index
Creating a text index on binary data types
Creating a text index on a nonsupported data type
Creating a text index for DATALINK data types
Installing the Data Links jar file
Creating a text index on a nickname with incremental index update using DB2 Replication
Creating a text index which the stored procedure search can use
Text indexes on views
Performance considerations
Expanded Maintaining text indexes
Updating and reorganizing a text index
Altering a text index
Clearing index events
Dropping a text index
Viewing text index status
Backing up and restoring indexes
Removing files from the /tmp directory
Expanded Using DB2 Control Center
Starting and stopping DB2 Net Search Extender Instance Services
Enabling a database
Expanded Text index administration
Creating a text index
Maintaining a text index
Expanded Searching
Expanded Searching for text using SQL scalar search functions
Making a query
Searching and returning the number of matches found
Searching and returning the score of a found text document
Expanded Specifying SQL search arguments
Searching for terms in any sequence
Searching with the Boolean operators AND and OR
Fuzzy search
Searching for parts of a term (character masking)
Searching for terms that already contain a masking character
Searching for terms in a fixed sequence
Searching for terms in the same sentence or paragraph
Searching for terms in sections of structured documents
Searching with the Boolean operator NOT
Thesaurus search
Numeric attribute search
Free-text search
Additional search syntax examples
Searching for text using a stored procedure search
Expanded Searching for text using an SQL Table-Valued Function
Using the highlight function
Searching on more then one column
Performance considerations
Working with structured documents
Expanded Using a thesaurus to expand search terms
Expanded The structure of a thesaurus
Predefined thesaurus relations
Defining your own relations
Expanded Creating and compiling a thesaurus
Creating a thesaurus definition file
Compiling a definition file into a thesaurus dictionary

Reference
Expanded Administration commands for the instance owner
CONTROL
START
STOP
Expanded Administration commands for the database administrator
ENABLE DATABASE
DISABLE DATABASE
DB2EXTDL (utility)
DB2EXTHL (utility)
Expanded Administration commands for the text table owner
ACTIVATE CACHE
ALTER INDEX
CLEAR EVENTS
CREATE INDEX
DEACTIVATE CACHE
DROP INDEX
DB2EXTTH (Utility)
UPDATE INDEX
HELP
COPYRIGHT
Expanded Syntax of search arguments
Search argument
Expanded SQL scalar search function and the SQL table-valued function
A summary of the search functions
CONTAINS
NUMBEROFMATCHES
SCORE
DB2EXT.TEXTSEARCH
DB2EXT.HIGHLIGHT
Expanded Stored procedure search function
DB2EXT.TEXTSEARCH (for stored procedure search)
Expanded Structured document support
How a document model describes structured documents
An example of a document model
Expanded Document models
Text fields and document attributes
Default document models
Expanded Defining a document model for structured plain-text documents
Element parameters
What happens when a GPP document is indexed
Expanded Defining a document model for HTML documents
Element parameters
Expanded Defining a document model for XML documents
Element parameters
What happens when an XML document is indexed
Expanded Defining a document model for Outside In filtered documents
Element parameters
What happens when an Outside In document is indexed
Thesaurus support

Appendixes
Expanded Appendix A. Migration
Moving from Net Search Extender Version 8.1 to Net Search Extender Version 8.1.x and 8.2
Moving from Net Search Extender Version 7.2 to Net Search Extender Version 8.1.x
Moving from Text Information Extender Version 7.2 to Net Search Extender Version 8.1.x
Expanded Appendix B. Using large amounts of memory
AIX (32-bit and 64-bit)
Windows (32-bit)
Solaris Operating Environment (32-bit and 64-bit)
Linux
HP-UX (32-bit and 64-bit)
Expanded Appendix C. Net Search Extender information catalogs
Expanded Views for database-level information
db2ext.proxyinformation table
Expanded Views for index-level information
db2ext.textindexes view
db2ext.indexconfiguration view
db2ext.textindexformats view
Expanded Table views for a text index
Event view
Log tables, views, and nicknames
Expanded Appendix D. Supported CCSIDs
CCSIDs
Appendix E. Supported languages
Expanded Appendix F. Net Search Extender messages
Information and warning messages
Error messages
Expanded Appendix G. Document model reference
DTD for document models
The semantics of locator (XPath) expressions
Limitations for text fields and document attributes
Outside In tag attribute values
Expanded Appendix H. Text Search Engine
Expanded Tokenization
Words
Sentences
Paragraphs
Expanded Stopwords
Languages supporting stopwords
Expanded Configuration
Character normalization
Using specific characters as part of a word
Appendix I. Text Search Engine reason codes
Expanded Appendix J. Troubleshooting
Tracing faults
Expanded Dropping DB2 objects without using the correct Net Search Extender commands
Dropping a table
Dropping a database
Appendix K. Data Link messages
Expanded Appendix L. Thesaurus supported CCSIDs
CCSIDs
Appendix M. Messages returned by the thesaurus tools
Expanded Appendix N. Windows system errors
System errors
Expanded Appendix O. Notices
Trademarks
Glossary
Index