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

CTX_DDL Package, 8 of 24


ADD_STOPWORD

Adds a single stopword to a stoplist. To create a list of stopwords, you must call this procedure once for each word.

Syntax

CTX_DDL.ADD_STOPWORD(
  stoplist_name  in   varchar2,
  stopword       in   varchar2
);

stoplist_name

Specify the name of the stoplist.

stopword

Specify the stopword to be added.

Example

The following example adds the stopwords because, notwithstanding, nonetheless, and therefore to the stoplist mystop:

begin
ctx_ddl.add_stopword('mystop', 'because');
ctx_ddl.add_stopword('mystop', 'notwithstanding');
ctx_ddl.add_stopword('mystop', 'nonetheless');
ctx_ddl.add_stopword('mystop', 'therefore');
end;


Note:

You can add stopwords after you create the index with ALTER INDEX.  


Notes

The maximum number of stopwords, stopthemes, and stopclasses you can add to a stoplist is 4095.

Related Topics

CREATE_STOPLIST

REMOVE_STOPWORD

DROP_STOPLIST

ALTER INDEX in Chapter 2.

Appendix E, "Supplied Stoplists"


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