Oracle8i interMedia Text Reference
Release 2 (8.1.6)

Part Number A77063-01

Library

Product

Contents

Index

Go to previous page Go to beginning of chapter Go to next page

Indexing, 2 of 11


Overview

When you use CREATE INDEX to create an index or ALTER INDEX to manage an index, you can optionally specify indexing preferences, stoplists, and section groups in the parameter string. Specifying a preference, stoplist, or section group answers one of the following questions about the way Oracle indexes text:

Preference Class  Description 

Datastore 

How are your documents stored? 

Filter 

How can the documents be converted to plaintext? 

Lexer 

What language is being indexed? 

Wordlist 

How should stem and fuzzy queries be expanded? 

Storage 

How should the index tables be stored? 

Stop List 

What words or themes are not to be indexed? 

Section Group 

Is querying within sections enabled and how are the document sections defined? 

This chapter describes the options you have for setting each preference. You enable an option by creating a preference with one of the objects described in this chapter.

For example, to specify that your documents are stored in external files, you can create a datastore preference called mydatastore using the FILE_DATASTORE object and specify mydatastore as the datastore preference in the parameter string of CREATE INDEX.

Creating Preferences

To create a datastore, lexer, filter, wordlist, or storage preference, you use CTX_DDL.CREATE_PREFERENCE procedure and specify one of the objects described in this chapter. For some objects, you can also set attributes with CTX_DDL.SET_ATTRIBUTE.

To create a stoplists, use CTX_DDL.CREATE_STOPLIST.

To create section groups, use CTX_DDL.CREATE_SECTION_GROUP and specify a section group type.


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index