Error creating a text Index
When i tried to create a text index on my system (Oracle 8.1.6, RedHat Linux 6.2) i always get the same error:
create index pkk on teste(maisumteste)indextype is ctxsys.context
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: interMedia Text error:
ORA-06520: PL/SQL: Error loading external library
ORA-06522: ctxsys: cannot open shared object file: No such file or directory
ORA-06512: at "CTXSYS.DRUE", line 126
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 54
ORA-06512: at line 1
i'm a beginner in intermedia, so right now i'm stalled in this one, please help me.
Thanks, in advance.
Tony Cruz
Raj Kr Pandit wrote:
where is the issue?The issue is your code is apples and oranges:
SQL> CREATE TABLE tab_1(aa nvarchar2(50) PRIMARY KEY,bb clob)
2 /
Table created.
SQL> CREATE INDEX xtab_1_bb ON tab_1 (bb) INDEXTYPE IS CTXSYS.CONTEXT
2 /
CREATE INDEX xtab_1_bb ON tab_1 (bb) INDEXTYPE IS CTXSYS.CONTEXT
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10528: primary keys of type NVARCHAR2 are not allowed
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 364
SQL> SY.
Similar Messages
-
Error Creating Oracle Text Index giving DRG-50857: oracle error in drvxtab
Hello,
I'm trying to create an Oracle text indexd as follows:
Create index tt.idx_emp on tt.emp(emp_name)
Indextype is ctxsys.context
Parameters(‘
Datastore idx_emp_dst
Filter idx_emp_fil
Section group idx_emp_sgp
Lexer idx_emp_lex
Wordlist idx_emp_wdl
Stoplist idx_emp_spl
Storage idx_emp_sto
Sync (on commit)
But, I get the following error:
Create index tt.idx_emp
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-50857: oracle error in drvxtab.create_index_tables
ORA-00905: missing keywork
ORA-06512: at “CTXSYS.DRUE”, line 160
ORA-06512: at “CTXSYS.TEXTINDEXMETHODS”, line 364
Has anyone encountered this error before? What did you do to fix this?
Thanks.In what version?
Have you checked metalink? -
Error When Creating Oracle Text index using Lexer Keyword
Hi All,
I am getting following error when i creating oracle text index using lexer & stoplist keyword.
Pls Help me if any body know.
Thanks in Advance.
Error starting at line 1 in command:
CREATE INDEX TXT_INX_TEXT_SEARCH ON TEXT_SEARCH (BFILE_DOC)
Post INDEXTYPE IS "CTXSYS"."CONTEXT" LOCAL (
PARTITION "BEFORE_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)') ,
PARTITION "Q1_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q2_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q3_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q4_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q1_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q2_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q3_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q4_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q1_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q2_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q3_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q4_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "THE_REST" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)')
Error at Command Line:1 Column:13
Error report:
SQL Error: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-11000: invalid keyword LEXER
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 365
29855. 00000 - "error occurred in the execution of ODCIINDEXCREATE routine"
*Cause: Failed to successfully execute the ODCIIndexCreate routine.
*Action: Check to see if the routine has been coded correctly.
Regards,
Jack R.Hi,
it works if you put an extra PARAMETERS clause at the end so the creation looks like:
CREATE INDEX TXT_INX_TEXT_SEARCH ON TEXT_SEARCH (BFILE_DOC)
INDEXTYPE IS "CTXSYS"."CONTEXT" LOCAL (
PARTITION "BEFORE_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)') ,
PARTITION "Q1_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q2_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q3_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q4_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q1_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q2_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q3_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q4_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q1_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q2_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q3_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q4_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "THE_REST" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)')
PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)') <== Added
Hope this helps
Herald ten Dam -
Strange: Conditional Error in Intermedia Text Index Creation
Hi All,
I am facing a strange error while creating the Intermedia Text index on 8.1.6 release for NT 4.0.
I have one database instance installed on the server. When i connect to Oracle through SQL plus as: connect username/password;
The index creation works fine!
But, if i connect using: username/password@servicename;
The index creation does not work!
The following error occurs.
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000:intermedia Text error:
ORA-50704:Net8 listener is not running or cannot start external procedures
ORA-28575:unable to open RPC connection to external procedure agent
ORA-12154:TNS:could not resolve service name
ORA-06512:at "CTXSYS.DRUE", line 126
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 54
ORA-06512:at line 1
Could anyone please help as to why it works without when connected without the service name but not otherwise?
Thanking you in advance!
Thanks and Regards
Anurag AgarwalHi All,
I am facing a strange error while creating the Intermedia Text index on 8.1.6 release for NT 4.0.
I have one database instance installed on the server. When i connect to Oracle through SQL plus as: connect username/password;
The index creation works fine!
But, if i connect using: username/password@servicename;
The index creation does not work!
The following error occurs.
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000:intermedia Text error:
ORA-50704:Net8 listener is not running or cannot start external procedures
ORA-28575:unable to open RPC connection to external procedure agent
ORA-12154:TNS:could not resolve service name
ORA-06512:at "CTXSYS.DRUE", line 126
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 54
ORA-06512:at line 1
Could anyone please help as to why it works without when connected without the service name but not otherwise?
Thanking you in advance!
Thanks and Regards
Anurag Agarwal -
Create Oracle Text Index from Java via JDBC
Hi, I have a question relevant to creation of the Text Index in Oracle Text via Java JDBC.
In Java I create client application and I connect to remote Oracle server. (there is Oracle
10g Enterprise Edition 10.2.0.3.0 on Debian Linux OS). In Java I create query:
CREATE INDEX index_name ON source_tab(text) indextype is ctxsys.context
parameters('datastore ctxsys.file_datastore filter ctxsys.null_filter');
and I start it by:
PreparedStatement stmt = db.prepareStatement(query);
ResultSet rs = stmt.executeQuery();
There is problem that Text Index is created empty and when I write out error log then:
DRG-11513: unable to open or write to file "path"
I have on my computer Oracle XE 10g (Windows XP OS) here this application in Java functions
without problems. Without problems it´s with that same query in SQLPlus when I connect at
this remote Oracle server via PuTTY.
Do you know anybody where could be error? Or at worst case where find I more detailed
manual about JDBC Oracle mainly possible errors and problems with compatibility?Does it work if you don't use "file_datastore"?
Eg. try the following in sqlplus:
create table t (text varchar2(2000));
insert into t values ('hello world');
create index ti on t(text) indextype is ctxsys.context;
select * from t where contains (text, 'hello') > 0;
Then drop the index ti and try the same "create index" through JDBC. Does that work?
If so, then we have some kind of issue with the file_datastore. I assume you are aware that the file will be read by the SERVER, not from the client?
So if your database resides on a Linux box, but you are calling from a Java program on a windows PC, the file names in source_tab(text) must be in Linux format, and must refer to files which are available on the Linux server (and readable by the owner of the Oracle database process).
So /home/me/file.txt might work, but C:\Documents\file.txt will not. -
Trouble creating Oracle Text index
Hey all,
I am having trouble creating an Oracle Text index. I am receiving the following error when I try to sync the index after inserting numerous rows (@170,000). I have also tried to insert the rows and then create the index afterword. See below.
ORACLE_TEXT>insert into varchar_test_ot select doc from varchar_test;
171327 rows created.
Elapsed: 00:06:40.08
ORACLE_TEXT>exec ctx_ddl.sync_index('VT_TEST_IDX_OT');
BEGIN ctx_ddl.sync_index('VT_TEST_IDX_OT'); END;
ERROR at line 1:
ORA-20000: Oracle Text error:
DRG-50857: oracle error in drekmap (lob write)
ORA-22990: LOB locators cannot span transactions
ORA-06512: at "CTXSYS.DRUE", line 157
ORA-06512: at "CTXSYS.CTX_DDL", line 1328
ORA-06512: at line 1
Elapsed: 00:02:09.07CREATE TABLE varchar_test
(doc VARCHAR2(4000)
CREATE TABLE varchar_test_ot
(doc VARCHAR2(4000)
begin
ctx_ddl.create_preference('storage_pref','BASIC_STORAGE');
ctx_ddl.set_attribute('storage_pref', 'I_TABLE_CLAUSE',
'tablespace ot_test_idx_space storage (initial 1M next 1M)');
ctx_ddl.set_attribute('storage_pref', 'K_TABLE_CLAUSE',
'tablespace ot_test_idx_space storage (initial 1M next 1M)');
ctx_ddl.set_attribute('storage_pref', 'R_TABLE_CLAUSE',
'tablespace ot_test_idx_space storage (initial 1M next 1M)');
ctx_ddl.set_attribute('storage_pref', 'N_TABLE_CLAUSE',
'tablespace ot_test_idx_space storage (initial 1M next 1M)');
ctx_ddl.set_attribute('storage_pref', 'I_INDEX_CLAUSE',
'tablespace ot_test_idx_space storage (initial 1M next 1M)');
ctx_ddl.set_attribute('storage_pref', 'P_TABLE_CLAUSE',
'tablespace ot_test_idx_space storage (initial 1M next 1M)');
ctx_ddl.create_section_group('auto','AUTO_SECTION_GROUP');
ctx_ddl.create_preference('mywordlist', 'BASIC_WORDLIST');
ctx_ddl.set_attribute('mywordlist','SUBSTRING_INDEX', 'YES');
end;
CREATE INDEX vt_test_idx_ot
ON varchar_test_ot(doc)
INDEXTYPE IS CTXSYS.CONTEXT
PARAMETERS ('datastore ctxsys.default_datastore
filter ctxsys.null_filter
wordlist mywordlist
storage storage_pref
section group auto
memory 50M'); -
Error creating function based index
i keep getting ORA-13203 errors when creating a function-based index. The function is owned by another schema but the the user creating the function has execute privileges
[email protected]> create index mpp_nc_sidx on MPP_NONCOMPLETE(GIS.DD832UTM(LON*-1,LAT))
2 indextype is mdsys.spatial_index
3 parameters('tablespace=sde4_idx sdo_indx_dims=2');
create index mpp_nc_sidx on MPP_NONCOMPLETE(GIS.DD832UTM(LON*-1,LAT))
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-13203: failed to read USER_SDO_GEOM_METADATA table
ORA-13203: failed to read USER_SDO_GEOM_METADATA table
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_9I", line 7
ORA-06512: at line 1
[email protected]> select table_name,column_name from user_sdo_geom_metadata;
TABLE_NAME COLUMN_NAME
MPP_NONCOMPLETE GIS.DD832UTM(LON*-1,LAT)
[email protected]> select GIS.DD832UTM(LON*-1,LAT) from mpp_noncomplete where rownum < 3;
GIS.DD832UTM(LON*-1,LAT)(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
SDO_GEOMETRY(2001, 82212, SDO_POINT_TYPE(864941.804, 3916953.95, NULL), NULL, NULL)
SDO_GEOMETRY(2001, 82212, SDO_POINT_TYPE(568560.541, 4181497.56, NULL), NULL, NULL)
[email protected]> select text from all_source where name = 'DD832UTM';
TEXT
FUNCTION dd832utm(x number, y number)
RETURN mdsys.sdo_geometry DETERMINISTIC
IS
geom mdsys.sdo_geometry;
BEGIN
geom := sdo_cs.transform
(mdsys.sdo_geometry (2001,8265,mdsys.sdo_point_type
(x,y, null),null,null),82212);
return geom;
END;
any help appreciated
--kassimHi, try to use a view:
create or replace view v_dd832utm as
select
mdsys.sdo_geometry(2001,8265,
mdsys.sdo_point_type((LON*-1),LAT, null),null,null),
82212)as GEOMETRY
from
mpp_noncomplete;
provide metadata for that view (column: GEOMETRY) and create a spatial index. your way is more sophisticated ;o)
regards, Andreas -
Help with creating oracle text index on 2 columns with partial html data
Hi,
I need to create an oracle text index on 2 columns.
TITLE - varchar(255) = contains plain text data
DESCRIPTION - CLOB = contains partial HTML data
This is what I created.
begin
ctx_ddl.create_preference ('Title_Description_Pref', 'MULTI_COLUMN_DATASTORE');
ctx_ddl.set_attribute('Title_Description_Pref', 'columns', 'TITLE, DESCRIPTION');
end;
begin
ctx_ddl.create_preference ('bid_lexer', 'BASIC_LEXER');
ctx_ddl.set_attribute('bid_lexer', 'index_stems', 'ENGLISH');
ctx_ddl.create_section_group('htmgroup', 'HTML_SECTION_GROUP');
end;
create index Bid_Title_Index on Bid(title) indextype is ctxsys.context parameters ('LEXER bid_lexer sync (every "sysdate+(1/24)")');
create index Bid_Title_Desc_Index on Bid(description) indextype is ctxsys.context parameters ('LEXER bid_lexer DATASTORE Title_Description_Pref sync (every "sysdate+(1/24)") filter ctxsys.null_filter section group htmgroup');
The problem is when I do a CONTAINS(description, '$(auction)')>0. I get results where the descriptions have the "auction" word (which is correct). But, the results also returned rows where the search word is inside an IMG tag. e.g. <img src="http://auction.de/120483" alt="Auction Logo"/>.
What I would like is to exclude rows where the search word is inside HTML tag attributes, results expected are rows having <a>Auction</a> or <p>For Auction</p> ... etc. Basically stripping the html tags and leave the text contents.
I'd appreciate some input.
Thanks,
AmielHi,
I need to create an oracle text index on 2 columns.
TITLE - varchar(255) = contains plain text data
DESCRIPTION - CLOB = contains partial HTML data
This is what I created.
begin
ctx_ddl.create_preference ('Title_Description_Pref', 'MULTI_COLUMN_DATASTORE');
ctx_ddl.set_attribute('Title_Description_Pref', 'columns', 'TITLE, DESCRIPTION');
end;
begin
ctx_ddl.create_preference ('bid_lexer', 'BASIC_LEXER');
ctx_ddl.set_attribute('bid_lexer', 'index_stems', 'ENGLISH');
ctx_ddl.create_section_group('htmgroup', 'HTML_SECTION_GROUP');
end;
create index Bid_Title_Index on Bid(title) indextype is ctxsys.context parameters ('LEXER bid_lexer sync (every "sysdate+(1/24)")');
create index Bid_Title_Desc_Index on Bid(description) indextype is ctxsys.context parameters ('LEXER bid_lexer DATASTORE Title_Description_Pref sync (every "sysdate+(1/24)") filter ctxsys.null_filter section group htmgroup');
The problem is when I do a CONTAINS(description, '$(auction)')>0. I get results where the descriptions have the "auction" word (which is correct). But, the results also returned rows where the search word is inside an IMG tag. e.g. <img src="http://auction.de/120483" alt="Auction Logo"/>.
What I would like is to exclude rows where the search word is inside HTML tag attributes, results expected are rows having <a>Auction</a> or <p>For Auction</p> ... etc. Basically stripping the html tags and leave the text contents.
I'd appreciate some input.
Thanks,
Amiel -
Create a text index on multiple tables
I have read the same forum questions a thousand times about doing this and the only thing they show examples of is using multiple columns in one table.
Here is what I have:
create table documents_a
(id number,
text blob);
create table documents_b
(id number,
text blob);
create table documents_c
(id number,
text blob);
I want to be able to do a text search over all three tables on the blob column. I can't use the multi_column_datastore because from what I read this can only be used with one table.
I eventually want to be able to bring up a snippet of the text that contains the keywords and a link to the actual document.
How do I build a text index that includes each blob column from each of the three tables?OK so I created the materialized view
create materialized view alltabs as
select a.id, a.text, b.id, b.text, c.id, c.text
from tablea a, tableb b, tablec c;
and I created the following
ctx_ddl.create_preference(my_multi', "MULTI_COLUMN_DATASTORE');
ctx_ddl.set_attribute('my_multi','columns','a_document, b_document, c_document');
Then I attempted but I am not sure what column name to put in the pararens?
create index multi_tab on alltabs(????)
indextype is ctxsys.context
parameters('datastore my_multi sync(on commit)');
I saw a dummy column created in most of the internet examples but just exactly what gets created here? I want to create a multi column index so didn't I already tell it which columns up above? -
Creating intermedia text index error
Hello. I tried creating an index using the below command
create index mydocs_text_index on
mydocs(thefile) indextype is ctxsys.context;
However, I received some error message as follows:
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: file not found
DRG-50704: file not found
ORA-28575: unable to open RPC connection to external procedure agent
ORA-06512: at "CTXSYS.DRUE", line 126
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 54
ORA-06512: at line 1
What do you think is wrong?
Thank youIs the listener up and running?
Installation
1.What are the steps to install interMedia Text manually, AFTER installing the code via the
installer?
A.
cd $ORACLE_HOME/ctx/admin
B. as SYS:
@dr0csys.sql ctxsys system temp
where ctxsys is the ctxsys password
system is the default tablespace for ctxsys
temp is the temporary tablespace for ctxsys
C. as CTXSYS:
@dr0inst.sql
/oracle/db/dev118/ctx/lib/libctxx8.so
(on Solaris)
where /oracle/db/dev118 is $ORACLE_HOME
D. as CTXSYS:
@defaults/drdefus.sql
Note: this is assuming you want U.S. to be your language default, otherwise run the
corresponding drdef for your language.
2.What are the steps to install interMedia Text manually, with a Net8 Configuration?
A. Configure an IPC listener address.
For example, change:
LISTENER =
(ADDRESS_LIST=
(ADDRESS=
(PROTOCOL=tcp) (HOST=ap118sun.us.oracle.com) (PORT=1521)
to:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC0))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = ap118sun) (PORT
=1521))
This shows the full LISTENER definition in your listener.ora. Note: EXTPROC0 ends in a
zero.
B. Add a system identifier (SID) name of PLSExtProc and a program name of EXTPROC in the server's LISTENER.ORA file.
For example, in the SID_LIST_LISTENER definition, insert:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC = ...
(SID_DESC =
(SID_NAME=PLSExtProc)(ORACLE_HOME=/oracle/db/dev118)
(PROGRAM=extproc)
C. Add a net service name description entry for EXTPROC0 in the server's tnsnames.ora
file, using SID rather than SERVICE_NAME in the CONNECT_DATA section.
For example, add this to the end of tnsnames.ora:
extproc_connection_data =
(DESCRIPTION=
(ADDRESS_LIST =
(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0))
(CONNECT_DATA=
(SID=PLSExtProc)
(PRESENTATION = RO)
This entry should be added exactly as you see it here (do NOT substitute your SID
anywhere, do NOT change the case of any text). Note: EXTPROC0 ends in a zero, RO
ends in an Oh
1.How do I check my interMedia Text installation and setup?
A.
lsnrct1status
should give you the following:
LSNRCTL for Solaris: Version
8.1.5.0.0 - Production on 31-MAR-99 18:57:49
(c) Copyright 1998 Oracle Corporation. All rights reserved.
Connecting to
(DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Solaris: Version 8.1.5.0.0 - Production
Start Date 30-MAR-99 15:53:06
Uptime 1 days 3 hr. 4 min. 42 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File
/private7/oracle/oracle_home/network/admin/listener.ora
Listener Log File
/private7/oracle/oracle_home/network/log/listener.log
Services Summary...
PLSExtProc has 1 service handler(s)
oco815 has 3 service handler(s)
The command completed successfully
The important information to understand here is the service handler for PLSExtProc.
B. Create a user/table/index/query thus:
As SYS or SYSTEM:
create user ctxtest identified by ctxtest ;
grant connect, resource, ctxapp to ctxtest ;
Do any other grants, quotas, tablespace etc. for the new user. As CTXTEST:
create table quick
quick_id number primary key,
text varchar(80)
insert into quick ( quick_id, text )
values ( 1, 'The cat sat on the mat' );
insert into quick ( quick_id, text )
values ( 2, 'The quick brown fox jumped over the lazy dog' );
commit;
create index quick_text on quick ( text )
indextype is ctxsys.context;
At this point, if your Net8 setup is NOT correct you will get:
create index quick_text on quick ( text )
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: ConText error:
DRG-50704: Net8 listener is not running or cannot start external procedures
ORA-28575: unable to open RPC connection to external procedure agent
ORA-06512: at "CTXSYS.DRUE", line 122
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 34
ORA-06512: at line 1
If everything is OK, you will get:
Index created.
Now try some queries:
SQL> select quick_id from quick where contains(text, 'cat')>0;
QUICK_ID
1
SQL> select quick_id from quick where contains(text, 'fox')>0;
QUICK_ID
2
Congratulations !! You now have a successful interMedia Text V8.1 installation.
null -
Errors reading documents when creating intermedia text indexs;
The populating progress ended normally without error message . I check the log and found some reading errors happens during populating progress.
The log is:
12:56:45 07/19/00 begin logging
12:56:58 07/19/00 populate index: CS.CTX_ADDRESS
12:56:58 07/19/00 Begin document indexing
12:56:58 07/19/00 100 documents indexed
12:56:58 07/19/00 200 documents indexed
12:56:58 07/19/00 300 documents indexed
12:56:58 07/19/00 Errors reading documents: 0
12:56:58 07/19/00 Index data for 342 documents to be written to database
12:56:58 07/19/00 memory use: 305012
12:56:58 07/19/00 index data written to database.
12:56:58 07/19/00 End of document indexing. 342 documents indexed.
Only 1 percente of all rows are populated.
Somebody help me!!!How many rows in your $I?
Which rows are not being populated? -
Problem creating Oracle text index
Hi,
I am trying to create an index in Oracle 9i using Oracle Text.
First i gave this grant as SYSDBA:
"GRANT ALL ON CTX_DDL TO <USERNAME>"
Then i executed the following :
EXECUTE CTX_DDL.CREATE_SECTION_GROUP('MYPATHGROUP','PATH_SECTION_GROUP');
CREATE INDEX SDS_SLIDE_XML_IDX ON SDS_SLIDE_DATA (SLIDE_XML)
INDEXTYPE IS CTXSYS.CONTEXT
PARAMETERS('SECTION GROUP MYPATHGROUP');
but I got the following error :
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-50857: oracle error in dricon.get_primary_key
ORA-00980: synonym translation is no longer valid
ORA-06512: at "CTXSYS.DRUE", line 157
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 186
Any ideas?
Rgds
Vikram.Oracle Text will not index the content inside the portlet of the pages. The portlet is treated as a portlet instance item and only the relevant attributes are searched for, like display name of the portlet, etc.
-
Error creating a ctxrule index
create index idx_ctxrule_cat on docs_cats_rule_based_class(query) indextype is ctxsys.ctxrule;
gives error:
Error starting at line 1 in command:
create index idx_ctxrule_cat on docs_cats_rule_based_class(query) indextype is ctxsys.ctxrule
Error report:
SQL Error: ORA-00942: table or view does not exist
please help.Do you have a docs_cats_rule_based_class table in your shcema? Are you running this from SQL*Plus?
-
Express 2014 with Advanced Services, can't create Full Text Index, no service running
I can't confirm that Full-text service is running or installed. There is no sql server full text search [instance] running as a service on the machine. I thought this would be installed with advanced services? I installed all options when installing express
edition 2014. But it's not there. When I run
select fulltextserviceproperty('isfulltextinstalled')
I get a '0' which according to other posts means that it is not installed. I installed Sql Server Advanced Services 2014 with all tools checked. And in Sql Server Configuration Manager I see the service 'Sql Full Text Filter Daemon Launcher' and it is running.
Is there another service called 'sql server full text search' that should be in serives. How do I install full text
search for Sql Server Express 2014 With Advanced Services or install the service so that I can run full text search? Please help !
When running this command
CREATE FULLTEXT CATALOG GftExGiftFTCat;
I get the message:
Cannot use full-text search in user instance.
chuckdawitHi chuckdawit,
Could you please verify that if you connect to the correct SQL Server instance?
Based on my test, the error “Cannot use full-text search in user instance” could occur when connecting to the LocalDB as LocalDB does not support the Full-Text feature. To use the Full –Text feature in SQL Server Express, please ensure that you connect
to the instance with connection string “ ServerName\SQLEXPRESS”.
Thanks,
Lydia Zhang
If you have any feedback on our support, please click
here.
Lydia Zhang
TechNet Community Support -
Error When Creating OR Rebuilding Oracle Text index using Lexer Keyword
Hi All,
I am getting following error when i creating oracle text index using lexer & stoplist keyword.
Pls Help me if any body know.
Thanks in Advance.
Error starting at line 1 in command:
CREATE INDEX TXT_INX_TEXT_SEARCH ON TEXT_SEARCH (BFILE_DOC)
Post INDEXTYPE IS "CTXSYS"."CONTEXT" LOCAL (
PARTITION "BEFORE_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)') ,
PARTITION "Q1_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q2_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q3_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q4_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q1_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q2_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q3_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q4_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q1_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q2_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q3_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q4_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "THE_REST" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)')
Error at Command Line:1 Column:13
Error report:
SQL Error: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-11000: invalid keyword LEXER
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 365
29855. 00000 - "error occurred in the execution of ODCIINDEXCREATE routine"
*Cause: Failed to successfully execute the ODCIIndexCreate routine.
*Action: Check to see if the routine has been coded correctly.
Regards,
Jack R.Hi,
it works if you put an extra PARAMETERS clause at the end so the creation looks like:
CREATE INDEX TXT_INX_TEXT_SEARCH ON TEXT_SEARCH (BFILE_DOC)
INDEXTYPE IS "CTXSYS"."CONTEXT" LOCAL (
PARTITION "BEFORE_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)') ,
PARTITION "Q1_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q2_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q3_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q4_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q1_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q2_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q3_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q4_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q1_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q2_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q3_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "Q4_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
PARTITION "THE_REST" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)')
PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)') <== Added
Hope this helps
Herald ten Dam
Maybe you are looking for
-
Functionality of Table -- TFAVW
I need your one help. We have one table TFAVW. Its a standrad table and having worklist realted with customer payment. Actually i dont know whats the use of this table. whats functionality behind this table.
-
Ok my problem is that I have to order the numbers that are inside the text fields but it keeps showing me : class, interface or enum expected and I just cant find it, I thought it was because of the {} but apparently not so I would really appreciate
-
Hi All, I hope someone could help me out in selecting an appropriate in SAP for me. I have done my B.Tech(Computer science and Engg) and have 3 yrs experience in Development in .net PLATFORM. But currently I am planning to change my career to SAP and
-
Is there a way to get string in *ai file without Illustrator?
Hi. I have a question. 1. Type 'hello' in Illustrator document and save. 2. open file to text editter. 3. find 'hello' in text editter. 4. text editter alert "Cannot find 'hello'" Is there a way to get string in *ai file without Illustrator? If you h
-
Driod Incredible.. offer only online? or at retailers
If I have to purchase online is the first monthly payment included? Or pay on my usuall billing day.