An error of O8i Context index
My Server NT4.0 SP5
160 Mb RAM
P-III 450 CPU * 1
Oracle 8.1.5 Enterprise Server;
when I execute the Sql
"create index product_description
on product(description)
indextype is ctxsys.context;"
"description" is column of a varchar2 type .
but happened
"DRG-11422 linguistic initialization failed
Cause: Linguistic services initialization failed; possibly out of memory."
Is it really memory insufficient?
null
Hi,
obviously its a wrong use of org.apache.myfaces.trinidad.event.SelectionListener
Caused By: java.lang.InstantiationException: org.apache.myfaces.trinidad.event.SelectionListener
The class cannot be instantiated which indicates a failed argument (or missing argument)
Frank
Similar Messages
-
Error in Updating ctxsys.context index using ctxsrv
Environment :
Linux 6.2,
Oracle 8.1.6
character set : zhs16gbk or zhs16cgb231280
I can create an ctxsys.context index(using CHINESE_VGRAM_LEXER) on a long column, and i can rebuild this index with no parameters.
When i want to rebuild this index automatic using ctxsrv, this error occur ---
DRG-50857 Oracle error in drtldml(dml)
Ora-2000 error
anybody can help me?
nullthe complete error:
Dml batch: cid=1023
End batch: return code is 1
DRG-50857: oracle error in drtldml(dml)
ORA_20000: interMedia text 4mNs
DRG-50857: oracle error in drsxsopen
ORA-01480: STR83V51dA?H1IY?U:sW:
null -
Hi,
Iam trying to create an context index in a table. After a logn run it gave an error. end-of-file on communication channel. How to resolve this error. And do i have any possibility to continue my index creation. How to recover it?
Urgent Help needed......
Thanks,
Sri"End of file on communication channel" nearly always means the Oracle background process has crashed, which means either an Oracle bug or a hardware issue.
You would need to look at the database alert logs to get more information about the crash.
You probably won't be able to resume the indexing job from where it crashed, but will need to drop the index and recreate it. -
Context Indexing creation error...
I cannot use context cartridge...
When I try to create index, i receive following error message:
SQL> create index myindex on x(name) indextype is ctxsys.context
2 parameters ('lexer mylexer wordlist mywordlist stoplist mystoplist');
create index myindex on x(name) indextype is ctxsys.context
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: ConText error:
ORA-06520: PL/SQL: Error loading external library
ORA-06522: z: cannot open shared object file: No such file or directory
ORA-06512: at "CTXSYS.DRUE", line 122
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 34
ORA-06512: at line 1
I listed below the libraries Oracle Context have installed:
SQL> select library_name, file_spec from dba_libraries where library_name
like 'DR%'
LIBRARY_NAME FILE_SPEC
DR$LIB
DR$LIBX z
As you can see these libraries have strange file_specs, but i dont know what right file_specs i must use...
Please help...
Best regards
OlegBut the status of the context index is VALID on the view USER_INDEXES...
Besides lsnrctl says following about extproc:
LSNRCTL> status e
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCKEY))
STATUS of the LISTENER
Alias e
Version TNSLSNR for Linux: Version 8.1.5.0.0 - Production
Start Date 23-OCT-00 13:19:31
Uptime 1 days 2 hr. 21 min. 49 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File /pt01/app/oracle/product/8.1.5/network/admin/listener.ora
Listener Log File /pt01/app/oracle/product/8.1.5/network/log/e.log
Services Summary...
extproc has 1 service handler(s)
The command completed successfully
So, all is right with extproc... -
Creation of context index on index-organized table
I encountered a problem when creating a domain index(intermediate text context index) on a index-organised table in oracle 8i.
The description of the error is stated below:
"ORA-29866: cannot create domain index on a column of index-organized table "
I have configured intermediate text properly and even it worked for those tables which are not index-organised(ordinary tables).
This problem has occured only when i made the tables as index organised.
Please provide us a solution to this problem as early as possible.
In case if you require any more details i shall provide them.Please ask questions about Oracle Text (formerly interMedia text) in the Oracle Text forum. You will get a quicker, more expert answer there.
-
Creation of context index on index-organized tables
I encountered a problem when creating a domain index(intermediate text context index) on a index-organised table in oracle 8i.
The description of the error is stated below:
"ORA-29866: cannot create domain index on a column of index-organized table "
I have configured intermediate text properly and even it worked for those tables which are not index-organised(ordinary tables).
This problem has occured only when i made the tables as index organised.
Please provide us a solution to this problem as early as possible.
In case if you require any more details i shall provide them.creation of domain indexes (such as context) on iot's
is not currently supported in oracle. -
Error while trying to index a bfile
hi,
I have encountered the following error will trying to index a bfile . Following are the error messages, the listener.ora and creation script. I'm using a AIX Ver 4.3.3 J50 machine and my oracle version is 8.1.7 Thanks
Creation Script
SQL> create or replace directory DOC_DIR as '/u01/oradata/vs/documents/';
Directory created.
SQL> grant read on directory DOC_DIR to ctxsys;
Grant succeeded.
SQL> create table per_doc
2 (per_id number primary key,
3 doc1 bfile);
SQL> insert into per_doc
2 values
3 (1,
4 bfilename('DOC_DIR','816.doc'));
ERROR ENCOUNTER
create index doc_index on per_doc(doc1) indextype is ctxsys.context;
exec(): 0509-036 Cannot load program /u05/app/oracle/product/8.1.7/ctx/bin/ctxhx because of the following errors:
0509-150 Dependent module libsc_da.a(sc_da.o) could not be loaded.
0509-022 Cannot load module libsc_da.a(sc_da.o).
0509-026 System error: A file or directory in the path name does not exist.
Index created.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u05/app/oracle/product/8.1.7)
(ENVS =LD_LIBRARY_PATH=/u05/app/oracle/product/8.1.7/lib:/u05/app/oracle/product/8.1.7/ctx/lib)
(PROGRAM = extproc)
nullBelow is the .profile setting for Oracle
ORACLE_BASE=/u05/app/oracle
export ORACLE_BASE
ORACLE_HOME=/u05/app/oracle/product/8.1.7
export ORACLE_HOME
LIBPATH=$ORACLE_HOME/lib:ORACLE_HOME/ctx/lib:/usr/lib:/lib
export LIBPATH
ORACLE_SID=vs
export ORACLE_SID
CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/product/jlib
export CLASSPATH
I have also granted the read access right to ctxsys as reflected below. Is there any other directories that I need to grant ctxsys access to?
Thanks
<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by aw choon hock ([email protected]):
hi,
I have encountered the following error will trying to index a bfile . Following are the error messages, the listener.ora and creation script. I'm using a AIX Ver 4.3.3 J50 machine and my oracle version is 8.1.7 Thanks
Creation Script
SQL> create or replace directory DOC_DIR as '/u01/oradata/vs/documents/';
Directory created.
SQL> grant read on directory DOC_DIR to ctxsys;
Grant succeeded.
SQL> create table per_doc
2 (per_id number primary key,
3 doc1 bfile);
SQL> insert into per_doc
2 values
3 (1,
4 bfilename('DOC_DIR','816.doc'));
ERROR ENCOUNTER
create index doc_index on per_doc(doc1) indextype is ctxsys.context;
exec(): 0509-036 Cannot load program /u05/app/oracle/product/8.1.7/ctx/bin/ctxhx because of the following errors:
0509-150 Dependent module libsc_da.a(sc_da.o) could not be loaded.
0509-022 Cannot load module libsc_da.a(sc_da.o).
0509-026 System error: A file or directory in the path name does not exist.
Index created.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u05/app/oracle/product/8.1.7)
(ENVS =LD_LIBRARY_PATH=/u05/app/oracle/product/8.1.7/lib:/u05/app/oracle/product/8.1.7/ctx/lib)
(PROGRAM = extproc)
)<HR></BLOCKQUOTE>
null -
Oracle intermedia error while creating the index
desc test
no number(2) primary key
name varchar2(20)
SQL> create index tindex on test(name) indextype is ctxsys.context;
create index tindex on test(name) indextype is ctxsys.context
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: ConText error:
ORA-06520: PL/SQL: Error loading external library
ORA-06522: ld.so.1: extprocep_agt1: fatal: relocation error: file
/export/home/oracle8i/OraHome1/ctx/lib/libctxx8.so: symbol ociepgoe: referenced
symbol not found
ORA-06512: at "CTXSYS.DRUE", line 122
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 34
ORA-06512: at line 1
what is the problem ??
i Add an entry in the tnsnames.ora:
extproc_connection_data =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = ipc)
(KEY = DBSID))
(CONNECT_DATA = (SID = ep_agt1)))
and
i Add the following in the listener SID_LIST:
(SID_DESC = (SID_NAME = ep_agt1)
(ORACLE_HOME = /oracle)
(ENVS = LD_LIBRARY_PATH=/oracle/ctx/lib)
(PROGRAM = extproc))
my os is sun solaris intel and oracle version is 8.1.5
nullTry the following:
1. Connect as ctxsys, and perform the following:
SQL> create or replace library dr$libx as '<ORA_HOME>/bin/oractxx8.dll';
2. Check the status of CTXSYS packages:
select object_name, status from user_objects where status like 'IN%';
OBJECT_NAME STATUS
DRIDISP INVALID
3. Re-compile any invalid packages (should be just dridisp) from the .plb file(s) in ?\ctx\admin
SQL> @<ORA_HOME>\ctx\admin\dridisp.plb
Package body created.
SQL> select object_name, status from user_objects where status like 'IN%';
no rows selected
conn test/test
SQL> create index simple_index on simple(text) indextype is ctxsys.context ;
Index created.
Notes
Note1. CONTEXT QUERIES WILL STILL NOT RUN.
SQL> insert into simple values (1, 'the cat sat on the mat') ;
1 row created.
SQL> commit;
Commit complete.
SQL> select pk from simple where contains(text, 'cat') >0 ;
select pk from simple where contains(text, 'cat') >0
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-06550: line 1, column 7:
PLS-00201: identifier 'CTXSYS.DR_REWRITE' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Edit <ORA_HOME\admin\orcl\pfile\init.ora
where orcl is your database name
Remove the line "text_enable=true" and bounce the database.
SQL> select pk from simple where contains(text, 'cat') >0 ;
PK
1
Best Regards -
Context index and contains operator syntax how it works ?
Hi
I create a context index on four collumns (text_prof, text_gest, text_citizen, text)
of the same table content.
When i have more than one collumn being queryed using the contains syntax, oracle display the ora 29907 error saying found duplicated labels in primary invocations .
This query works:
SELECT * FROM content WHERE cod_type = '1'
AND (UPPER(title) LIKE UPPER('%tabagismo%')
OR contains (text, 'tabagismo',1)>0
This not works:
SELECT * FROM content
WHERE cod_type = '1' AND (
UPPER(title) LIKE UPPER('%tabagismo%')
OR contains (text, 'tabagismo',1)>0
OR contains (text_citizen,'tabagismo',1)>0
OR contains (text_gest,'tabagismo',1)>0
OR contains (text_prof,'tabagismo',1)>0
How can i fix it ?
I need to query all these colluns !
Does the contains operator can be used only in one collumn?
Thank´s in advanceHi
I create a context index on four collumns (text_prof, text_gest, text_citizen, text)
of the same table content.
When i have more than one collumn being queryed using the contains syntax, oracle display the ora 29907 error saying found duplicated labels in primary invocations .
This query works:
SELECT * FROM content WHERE cod_type = '1'
AND (UPPER(title) LIKE UPPER('%tabagismo%')
OR contains (text, 'tabagismo',1)>0
This not works:
SELECT * FROM content
WHERE cod_type = '1' AND (
UPPER(title) LIKE UPPER('%tabagismo%')
OR contains (text, 'tabagismo',1)>0
OR contains (text_citizen,'tabagismo',1)>0
OR contains (text_gest,'tabagismo',1)>0
OR contains (text_prof,'tabagismo',1)>0
How can i fix it ?
I need to query all these colluns !
Does the contains operator can be used only in one collumn?
Thank´s in advance -
Context Index World Lexer ORA-03113: end-of-file on communication channel
I have release 10g Release 1 (10.1.0.2.0) for Windows and trying to take advantage of the World Lexer.
My table is:
create table worldtest(
filename char(32),
content blob
I've created a preference for the WORLD_LEXER:
begin
ctx_ddl.create_preference('wlex', 'WORLD_LEXER');
end;
Right now I'm working with 10,000 records of PDF, MS-Word, Text, and HTM documents. When I try and create a context index using this lexer:
create index i_ctx_wc on worldtest(content)
indextype is ctxsys.context
parameters ('lexer wlex');
The following error is returned, and I have to use drop index force to remove the index. Without 'Force' a message is return saying the index is an a loading state, but nothing is occuring.
create index i_ctx_wc on worldtest(content)
indextype is ctxsys.context
ERROR at line 1:
ORA-03113: end-of-file on communication channel
The indexing works fine when I leave the world lexer preference out.
Any suggestions would be wonderful. I've been banging my head on this one for a while.
Thanks.Hi,
I couldn't reproduce (different version which is perhaps the problem). Check out bug 4056162. ORA-3113 related to the use of the world lexer. The resolution is not published externally, so no help there, but the bug is closed so perhaps support can provide some insight.
Thanks. -
Trying to understand context indexes and contains-help
Hi
i am using
Achieving functionality of many preferences using one context index
to understand context indexes and contains
and i get the following
Error starting at line 1 in command:
begin
ctx_ddl.create_preference ('nd_mcds', 'multi_column_datastore');
ctx_ddl.set_attribute ('nd_mcds', 'columns', 'text nd, text text');
ctx_ddl.create_section_group ('nd_sg', 'basic_section_group');
ctx_ddl.add_ndata_section ('nd_sg', 'nd', 'nd');
ctx_ddl.create_preference ('test_lex', 'basic_lexer');
ctx_ddl.set_attribute ('test_lex', 'whitespace', '/\|-_+');
end;
Error report:
ORA-06550: line 5, column 15:
PLS-00302: component 'ADD_NDATA_SECTION' must be declared
ORA-06550: line 5, column 7:
PL/SQL: Statement ignored
06550. 00000 - "line %s, column %s:\n%s"
*Cause: Usually a PL/SQL compilation error.
*Action:
so i am using the following to check for the error
http://docs.oracle.com/cd/E18283_01/text.112/e16593/cddlpkg.htm#BABCBFCB
plus
oracle text application developer's guide
plus
oracle text reference
but these have not listed that error (i have even googled this in vain)
background::we were actually using catsearch but because of its downsides i want to implement this
Is Achieving functionality of many preferences using one context index a good place to start when one does not know about
context and contains??
please post any other useful link for contains and context index that even explains
1) fuzzy
2) stem
3) synonym
4) near
5) soundex
6)ndata
7)lexer
thanks in advanceNdata is new to Oracle 11g. Your other posts indicate that you are using Oracle 10g, so you don't have ndata, so you get an error when you try to use it. If you want to use the 11g features that enable context indexes with contains to do all of the things that ctxcat indexes with catsearch do, then you need to upgrade to 11g.
The online documentation is searchable. Most things regarding Oracle Text are contained in either the Oracle Text Reference or the Oracle Text Application Developer's guide.
I suggest that you start with something very simple, then build from there.
The following is similar to your other post that used catsearch:
SCOTT@orcl_11gR2> CREATE TABLE mv_cat_seg_reg_prod
2 (cat_ids VARCHAR2 ( 7),
3 act_status VARCHAR2 (10),
4 name VARCHAR2 ( 1),
5 email VARCHAR2 ( 1),
6 address1 VARCHAR2 ( 1),
7 address2 VARCHAR2 ( 1),
8 contact_name VARCHAR2 ( 1),
9 mobile VARCHAR2 ( 1),
10 telephone VARCHAR2 ( 1))
11 /
Table created.
SCOTT@orcl_11gR2> INSERT ALL
2 INTO mv_cat_seg_reg_prod VALUES
3 ('1', 'Y', 'A', 'B', 'C', 'D', 'E', 'F', 'G')
4 INTO mv_cat_seg_reg_prod VALUES
5 ('2', 'N', 'H', 'I', 'J', 'K', 'L', 'M', 'N')
6 SELECT * FROM DUAL
7 /
2 rows created.
SCOTT@orcl_11gR2> CREATE INDEX mv_cat_seg_reg_prod_idx
2 ON mv_cat_seg_reg_prod (cat_ids)
3 INDEXTYPE IS CTXSYS.CONTEXT
4 /
Index created.
SCOTT@orcl_11gR2> SELECT token_text FROM dr$mv_cat_seg_reg_prod_idx$i
2 /
TOKEN_TEXT
1
2
2 rows selected.
SCOTT@orcl_11gR2> SELECT *
2 FROM (SELECT SCORE (1), name, email, address1, address2, contact_name, mobile, telephone
3 FROM mv_cat_seg_reg_prod
4 WHERE CONTAINS (cat_ids, '1', 1) > 0
5 AND act_status = 'Y'
6 ORDER BY DBMS_RANDOM.VALUE)
7 WHERE ROWNUM < 8
8 /
SCORE(1) N E A A C M T
4 A B C D E F G
1 row selected. -
Privileges require for a user to create CONTEXT indexes
Hi all,
RDBMS: 11.2.0.3
SO.......: OEL 6.3
What are the necessary privileges that have to be granted to a user to be able to create CONTEXT Indexes, for example. I have granted the CTXAPP to my user, but when i tryied to create the CONTEXT Index with the command bellow, i got an "insufficient privilege" error message.
CREATE INDEX USR_DOCS.IDX_CTX_TAB_DOCUMENTOS_01 ON USR_DOCS.TAB_DOCUMENTOS(DOCUMENTO) INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS ('SYNC (ON COMMIT)');It depends on whether the user is trying to create the index on his own table in his own schema or on somebody else's table in somebody else's schema. The following demonstrates minimal privileges (quota could be smaller) for user usr_docs to create the index on his own table in his own schema and for my_user to create the index on usr_docs table in usr_docs schema.
SCOTT@orcl> -- version:
SCOTT@orcl> SELECT banner FROM v$version
2 /
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
5 rows selected.
SCOTT@orcl> -- usr_docs privileges:
SCOTT@orcl> CREATE USER usr_docs IDENTIFIED BY usr_docs
2 /
User created.
SCOTT@orcl> ALTER USER usr_docs QUOTA UNLIMITED ON users
2 /
User altered.
SCOTT@orcl> GRANT CREATE SESSION, CREATE TABLE TO usr_docs
2 /
Grant succeeded.
SCOTT@orcl> -- my_user privileges:
SCOTT@orcl> CREATE USER my_user IDENTIFIED BY my_user
2 /
User created.
SCOTT@orcl> GRANT CREATE SESSION, CREATE ANY INDEX TO my_user
2 /
Grant succeeded.
SCOTT@orcl> -- user_docs:
SCOTT@orcl> CONNECT usr_docs/usr_docs
Connected.
USR_DOCS@orcl> CREATE TABLE tab_documentos (documento CLOB)
2 /
Table created.
USR_DOCS@orcl> INSERT ALL
2 INTO tab_documentos VALUES ('test data')
3 INTO tab_documentos VALUES ('other stuff')
4 SELECT * FROM DUAL
5 /
2 rows created.
USR_DOCS@orcl> CREATE INDEX USR_DOCS.IDX_CTX_TAB_DOCUMENTOS_01
2 ON USR_DOCS.TAB_DOCUMENTOS(DOCUMENTO)
3 INDEXTYPE IS CTXSYS.CONTEXT
4 PARAMETERS ('SYNC (ON COMMIT)')
5 /
Index created.
USR_DOCS@orcl> DROP INDEX usr_docs.idx_ctx_tab_documentos_01
2 /
Index dropped.
USR_DOCS@orcl> -- my_user:
USR_DOCS@orcl> CONNECT my_user/my_user
Connected.
MY_USER@orcl> CREATE INDEX USR_DOCS.IDX_CTX_TAB_DOCUMENTOS_01
2 ON USR_DOCS.TAB_DOCUMENTOS(DOCUMENTO)
3 INDEXTYPE IS CTXSYS.CONTEXT
4 PARAMETERS ('SYNC (ON COMMIT)')
5 /
Index created. -
About context index???
Dear all,
My oracle version is as follows;
SQL> select * from v$version;
BANNER
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
PL/SQL Release 9.2.0.1.0 - Production
CORE 9.2.0.1.0 Productio
TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
NLSRTL Version 9.2.0.1.0 - Production
I created ctxsys user as follows;
conn sys as sysdba
sql> @D:\oracle\ora92\ctx\admin\dr0dsys
-- Run drcsys.sql with args USERNAME DEFAULT_TABLESPACE TEMPORARY_TABLESPACE
sql> @D:\oracle\ora92\ctx\admin\dr0csys.sql ctxsys ctxsys temp
connect ctxsys
-- Run dr0inst.sql, with arg - your CTX library (this one is for HP-UX)
sql> @D:\oracle\ora92\ctx\admin\dr0inst
-- Run drdefXX.sql to install language, XX = {us, uk, ...}
sql> @D:\oracle\ora92\ctx\admin\defaults\drdefus.sql
-- Grant users access to use CTX
sql> grant CTXAPP to sun1;
Now,I am creating context index on blob coulmn, but i got following error.
conn sun1
SQL> create index articles_title_idx on articles (title)
indextype is ctxsys.context;
create index articles_title_idx on articles (title)
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10502: index ARTICLES_TITLE_IDX does not exist
DRG-50857: oracle error in drdmlpo
ORA-00600: internal error code, arguments: [opibnd1], [], [], [], [], [], [],
ORA-06512: at "CTXSYS.DRUE", line 157
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 186
Please help me.
Thanks In advance,
Prathamesh.ORA-600 is Oracle's message for unhandled exceptions in their code i.e. bugs. There is a bug for this behaviour. Does your system have the CURSOR_SHARING paremeter set to anything other than EXACT?
Cheers, APC -
Oracle 9.2 ConText index alternate_spelling problem
Hello everybody!
I'm having problems with a ConText index in Oracle 9.2, using the alternative_spelling parameter...
Here is my code
CREATE TABLE U2000P.TEST_FICHIER_INT
(ID NUMBER(6) NOT NULL,
NOM_FICHIER VARCHAR2(90) NULL,
MIME VARCHAR2(90) NULL,
FICHIER BLOB DEFAULT empty_blob(),
LNG VARCHAR2(3) NULL,
KEY_WORDS VARCHAR2(500) NULL,
CONSTRAINT PK_TEST_FICHIER_INT PRIMARY KEY (ID)
EXECUTE CTX_DDL.CREATE_PREFERENCE('ENGLISH_LEXER','BASIC_LEXER');
EXECUTE CTX_DDL.SET_ATTRIBUTE('ENGLISH_LEXER', 'INDEX_THEMES', 'YES');
EXECUTE CTX_DDL.SET_ATTRIBUTE('ENGLISH_LEXER', 'THEME_LANGUAGE', 'ENGLISH');
EXECUTE CTX_DDL.SET_ATTRIBUTE('ENGLISH_LEXER', 'BASE_LETTER', 'NO');
EXECUTE CTX_DDL.CREATE_PREFERENCE('FRENCH_LEXER','BASIC_LEXER');
EXECUTE CTX_DDL.SET_ATTRIBUTE('FRENCH_LEXER', 'INDEX_THEMES', 'NO');
EXECUTE CTX_DDL.SET_ATTRIBUTE('FRENCH_LEXER', 'BASE_LETTER', 'NO');
EXECUTE CTX_DDL.CREATE_PREFERENCE('GERMAN_LEXER','BASIC_LEXER');
EXECUTE CTX_DDL.SET_ATTRIBUTE('GERMAN_LEXER', 'INDEX_THEMES', 'NO');
EXECUTE CTX_DDL.SET_ATTRIBUTE('GERMAN_LEXER', 'BASE_LETTER', 'NO');
EXECUTE CTX_DDL.SET_ATTRIBUTE('GERMAN_LEXER', 'ALTERNATE_SPELLING', 'GERMAN');
EXECUTE CTX_DDL.CREATE_PREFERENCE('GLOBAL_LEXER','MULTI_LEXER');
EXECUTE CTX_DDL.ADD_SUB_LEXER('GLOBAL_LEXER', 'FRENCH', 'FRENCH_LEXER', '1');
EXECUTE CTX_DDL.ADD_SUB_LEXER('GLOBAL_LEXER', 'DEFAULT', 'GERMAN_LEXER');
EXECUTE CTX_DDL.ADD_SUB_LEXER('GLOBAL_LEXER', 'ENGLISH', 'ENGLISH_LEXER', '5');
CREATE INDEX IDX_F_TEST_FICHIER_INT
ON TEST_FICHIER_INT(FICHIER)
INDEXTYPE IS CTXSYS.CONTEXT
PARAMETERS('DATASTORE CTXSYS.DIRECT_DATASTORE
FILTER CTXSYS.INSO_FILTER
LEXER GLOBAL_LEXER LANGUAGE COLUMN LNG');
In one of the files that I load, I have the word 'paläontologie'
Here are my searches
select nom_fichier, score(1) from test_fichier_int where contains(fichier, 'paläontologie', 1) > 0;
-> no rows selected
select nom_fichier, score(1) from test_fichier_int where contains(fichier, 'palaontologie', 1) > 0;
-> Finds my document
Why does the first search not work?
If I don't use the 'alternate_spelling' parameter, both searches don't work, why is that???
Thanks in advance for your help
Best regards
Neil.I found my error!!!! Thanks Neil... lol
In fact, it's my SQL*Plus that must be badly configured, and I am having problems with accentuated characters... If I search through a browser, it works!!!
Sorry about that...
Best regards
Neil. -
Creating context index on blob-field
I'm running Oracle 8.1.6 on Suse Linux 6.4.
Trying to create an database via dbassist or dbassist created skripts
will fail, if try to include interMedia.
So used the possibility to copy a sample datebase from CD.
Who knows about a Solution for this?
So configured listener.ora und tnsnames.ora to use external procedures.
Creating an user with cxtapp-role works.
Creating ctx preferences works.
But.......
Creating an index on blob field will fail.
The Error Message tells :
create index doc_index on textdokument(text)
FEHLER in Zeile 1:
ORA-29855: Fehler bei Ausf|hrung der Routine ODCIINDEXCREATE
ORA-20000: interMedia Text-Fehler:
DRG-11206: Benutzerfilterbefehl /opt/oracle/product/8.1.5/ctx/bin/ctxhx
konnte
nicht ausgef|hrt werden
ORA-06512: in "CTXSYS.DRUE", Zeile 126
ORA-06512: in "CTXSYS.TEXTINDEXMETHODS", Zeile 54
ORA-06512: in Zeile 1
Funny, there is no directory $ORACLE_HOME/ctx/bin
and there there is no ctxhx anywhere!
Reinstalling InterMedia will not help.
Are there no Filters within the Linux-Release?
Whats the problem like ?
nullI encountered similar problem running Oracle 8.1.6.on Windows 2000 Prof. I created and then populated a table, by indexing one of the CLOB columns I got following error messages:
Create index system.AI on Tabel1(Text5) indextype is ctxsys.context
FEHLER in Zeile 1:
ORA-29855: Fehler bei Ausf|hrung der Routine ODCIINDEXCREATE
ORA-20000: interMedia Text-Fehler:
DRG-11440: Vorgang wird in der GERMAN Sprache nicht unterst|tzt
ORA-06512: in "CTXSYS.DRUE", Zeile 126
ORA-06512: in "CTXSYS.TEXTINDEXMETHODS", Zeile 54
ORA-06512: in Zeile 1
The error message tell me that something is not supported for German text so the indexing fails. Does it mean there is no German support in IMT? Does somebody know what's wrong? Any workaround & Where to look at? Thanks.
Lucy
Maybe you are looking for
-
Undertaking subcintracting behalf of others
Hello, We take raw materals from other companies to manufacture finished goods behalf of them. Raw materals are given free of charge to us while the we get paid per one finished good. What is the best way to handle this in sap? What documents/process
-
Windows iTunes 12.1 keeps crashing
As soon as I try to enter "my account" in the iTunes store, iTunes throws me out. Ridiculous! I am running Windows 7 and the latest version of iTunes.
-
Query on Scheduling tasks in Portal
Hi, I created a task by following this blog: Did you know you can schedule jobs in portal using KM's Scheduler Task? It doesnt seem like the task has got executed at the scheduled time.Can anyone provide me with a simple code(using logger class) that
-
hi to everyone How to implement caching in hibernate in development. please give any one, with detailed description. sham
-
I amusing Jdev 1033 I am following both the ADF tutorial and the Emp/Dept "build end-to end"...tutorial In both cases my Data Control Palette comes up empty. Yes, I selected Create Data Control Yes I have the dependency set Any ideas?