Rem Rem $Header: drdefja.sql 20-nov-2001.12:37:48 gkaminag Exp $ Rem Rem drdefja.sql Rem Rem Copyright (c) 1998, 2001, Oracle Corporation. All rights reserved. Rem Rem NAME Rem drdefja.sql - Rem Rem DESCRIPTION Rem default preference for Japanese Rem Rem NOTES Rem Rem Rem MODIFIED (MM/DD/YY) Rem gkaminag 11/20/01 - policy name to default_policy_oracontains Rem gkaminag 10/23/01 - default policy Rem ehuang 04/12/01 - add description Rem mfaisal 10/05/98 - change default stemmer to NULL Rem ehuang 09/04/98 - language-specific defaults Rem ehuang 09/04/98 - Created Rem PROMPT Creating lexer preference... begin CTX_DDL.create_preference('DEFAULT_LEXER','JAPANESE_VGRAM_LEXER'); end; / PROMPT Creating wordlist preference... begin CTX_DDL.create_preference('DEFAULT_WORDLIST','BASIC_WORDLIST'); CTX_DDL.set_attribute('DEFAULT_WORDLIST','STEMMER', 'NULL'); CTX_DDL.set_attribute('DEFAULT_WORDLIST','FUZZY_MATCH', 'JAPANESE_VGRAM'); end; / PROMPT Creating stoplist... begin CTX_DDL.create_stoplist('DEFAULT_STOPLIST'); end; / PROMPT Creating default policy... begin CTX_DDL.create_policy('DEFAULT_POLICY_ORACONTAINS', filter => 'CTXSYS.NULL_FILTER', section_group => 'CTXSYS.NULL_SECTION_GROUP', lexer => 'CTXSYS.DEFAULT_LEXER', stoplist => 'CTXSYS.DEFAULT_STOPLIST', wordlist => 'CTXSYS.DEFAULT_WORDLIST' ); end; /