When you index with CREATE INDEX
, you specify the location using the datastore preference. Use the appropriate datastore according to your application.
Table 3-2 summarizes the different ways you can store your text with the datastore preference type.
Table 3-2 Summary of DATASTORE Types
Datastore Type | Use When |
---|---|
|
Data is stored internally in a text column. Each row is indexed as a single document. Your text column can be |
|
Data is stored in a text table in more than one column. Columns are concatenated to create a virtual document, one document for each row. |
|
Data is stored internally in a text column. Document consists of one or more rows stored in a text column in a detail table, with header information stored in a master table. |
|
Data is stored externally in operating system files. Filenames are stored in the text column, one for each row. |
|
Data is stored in a nested table. |
|
Data is stored externally in files located on an intranet or the Internet. URLs are stored in the text column. |
|
Documents are synthesized at index time by a user-defined stored procedure. |
Indexing time and document retrieval time will be increased for indexing URLs, because the system must retrieve the document from the network.
To troubleshoot issues with triggers and MULTI_COLUMN_DATASTORE
or USER_DATASTORE
, refer to the following article on My Oracle Support: "No pending rows using triggers on Text indexed columns with MULTI_COLUMN_DATASTORE or USER_DATASTORE to bring in the various columns for indexing" (Doc ID 1613741.1)