oracleÈ«ÎÄË÷ÒýÖ®STOPLIST_ CTXCAT Ë÷Òý_INDEX SET
ÕâƪÎÄÕ½éÉܵÄÊÇORACLE CTXCATË÷ÒýµÄINDEX SET£¬Ò²ÊÇCTXCATË÷ÒýÌØÓеÄÊôÐÔ¡£
CTXCAT
Ë÷ÒýÊÇCONTEXTË÷ÒýµÄ¼ò»¯°æ£¬CTXCATË÷ÒýÖ§³ÖµÄPREFERENCE°üÀ¨£ºLEXER¡¢STOPLIST¡¢WORDLISTºÍSTORAGE
²ÎÊý¡£²»Ö§³ÖÆäËûµÄ²ÎÊýÈ磺DATASTORE¡¢FILTER¡¢SECTION
GROUP¡£ËäȻ֧³ÖLEXERµ«²»Ö§³ÖTHEME²éѯ£¬¶øÇÒ²»Ö§³ÖFORMAT¡¢CHARSETºÍLANGUAGEÁУ¬ÁíÍâ²»Ö§³Ö±íºÍË÷Òý·ÖÇø¡£
CTXCAT
Ë÷Òý½ö½ö°üº¬ÁËCONTEXTË÷ÒýµÄ²¿·ÖÄÚÈÝ£¬µ«ÊÇCTXCATË÷ÒýÓÐÆä×ÔÉíµÄÓŵ㡣ÆäÖÐ×îÍ»³öµÄÓŵã¾ÍÊÇÖ§³ÖDMLͬ²½¡£CONTEXTË÷ÒýÓÉÓڽṹ¹ý
ÓÚ¸´ÔÓ£¬ÇÒË÷ÒýµÄÊý¾ÝÁ¿Ò»°ã½Ï´ó£¬Òò´ËCONTEXTË÷Òý²¢²»ÊÇ×Ô¶¯Í¬²½µÄ¡£¶øCTXCATË÷ÒýÊÇ×Ô¶¯Í¬²½µÄ£¬µ±·¢ÉúÁËDMLÐÞ¸Äʱ£¬Oracle»á×Ô¶¯
ͬ²½CTXCATË÷Òý£¬½µµÍÁËË÷ÒýµÄά»¤³É±¾¡£
CTXCAT Ë÷ÒýµÄÁíÍâÒ»¸öÓŵã¾ÍÊÇÕâÀïÒª½éÉܵÄINDEX
SETÊôÐÔ£¬ÕâÒ²ÊÇCTXCATË÷ÒýÌØÓеÄÊôÐÔ¡£¼òµ¥µÄ˵£¬CTXCAT¿ÉÒÔ½¨Á¢Ò»¸öË÷Òý¼¯¡£¿ÉÒÔ°ÑһЩ¾³£ÓëCTXCAT²éѯ×éºÏʹÓõIJéѯÁеÄË÷ÒýÌí
¼Óµ½Ë÷Òý¼¯ÖС£±ÈÈ磬Èç¹ûÔÚ²éѯÎÄÕÂÄÚÈݵÄͬʱ£¬¾³£ÐèÒª²éѯÎÄÕµÄ×÷Õß¡¢±êÌâ»ò´´½¨Ê±¼äµÈÐÅÏ¢£¬Ôò¿ÉÒÔ½«ÕâЩÐÅÏ¢ÁеÄË÷ÒýÌí¼Óµ½Ë÷Òý¼¯ÖУ¬Oracle
¿ÉÒÔ½«ÕâЩ²éѯ·â×°µ½CATSEARCH²Ù×÷ÖУ¬´Ó¶øÌá¸ßÈ«ÎÄË÷ÒýµÄЧÂÊ¡£
ÏÂÃæ¿´Ò»¸ö¼òµ¥µÄÀý×Ó£º
[oracle@rhel140 ~]$ sqlplus myuser/myuser
SQL*Plus: Release 10.2.0.1.0 - Production on Sun May 24 23:19:47 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> CREATE TABLE T (ID NUMBER, TITLE VARCHAR2(256), CREATED DATE, DOCS VARCHAR2(4000));
Table created.
SQL> INSERT INTO T VALUES (1, 'ORACLE TEXT REFERENCE', TO_DATE('200203', 'YYYYMM'),
2 'This manual provides reference information for Oracle Text. Use it as a reference for
3 creating Oracle Text indexes, for issuing Oracle Text queries, for presenting
4 documents, and for using the Oracle Text PL/SQL packages.');
1 row created.
SQL> INSERT INTO T VALUES (2, 'ORACLE TEXT APPLICATION DEVELOPER''S GUIDE',
2 TO_DATE('200203', 'YYYYMM'),
3 'This guide explains how to build query applications with Oracle Text. This pref
Ïà¹ØÎĵµ£º
extent--×îС¿Õ¼ä·ÖÅ䵥λ --tablespace management
block --×îСi/oµ¥Î» --segment management
create tablespace james
datafile '/export/home/oracle/oradata/james.dbf'
size 100M ¡¡¡¡¡¡¡¡¡¡¡¡--³õʼµÄÎļþ´óС¡¡
autoextend On¡¡¡¡¡¡¡¡ --×Ô¶¯Ôö³¤
next 10M¡ ......
1¡¢´´½¨´æ´¢¹ý³Ì
create or replace procedure test(var_name_1 in type,var_name_2 out type) as
--ÉùÃ÷±äÁ¿(±äÁ¿Ãû ±äÁ¿ÀàÐÍ)
begin
--´æ´¢¹ý³ÌµÄÖ´ÐÐÌå
end test;
´òÓ¡³öÊäÈëµÄʱ¼äÐÅÏ¢
E.g:
create or replace procedure test(workDate in Date) is
begin
dbms_output.putline('The input date i ......
¼ÌÐøÌÖÂÛÈ«ÎÄË÷ÒýµÄDATASTOREÊôÐÔ£¬½éÉÜMULTI_COLUMN_DATASTORE¡£
Èç¹û±»Ë÷ÒýµÄÎÄÕÂÊDZ£´æÔÚÊý¾Ý¿âÖУ¬µ«ÊÇÄÚÈÝ·Ö²¼ÔÚ¶à¸öÁÐÖУ¬ÄÇô¿ÉÒÔͨ¹ý½¨Á¢Ò»¸öMULTI_COLUMN_DATASTOREÀ´Ë÷ÒýÍêÕûµÄÎÄÕ£º
SQL> CREATE TABLE T (ID NUMBER, DOC1 VARCHAR2(4000), DOC2 VARCHAR2(4000), DOC3 VARCHAR2(4000));
±íÒÑ´´½ ......
Oracle Text¹¦ÄÜÊ®·ÖÇ¿´ó£¬¿ªÊ¼Ñ§Ï°£¬Ö÷Òª²Î¿¼
yangtingkun
µÄblogºÍÎĵµ½øÐС£
µÚÒ»²½ÏȸãÇå³þdatastoreµÄÀàÐÍ¡£
DATASTOREµÄÀàÐÍÈçÏ£º
DIRECT_DATASTORE
MULTI_COLUMN_DATASTORE
DETAIL_DATASTORE
FILE_DATASTORE
NESTED_DATASTORE
URL_DATASTORE
USER_DATASTORE
ÏÂÃæ¾Í¸÷ÖÖÀàÐͽøÐвâÊÔ£¬DIRECT_DATASTOREÊ ......