ORA-29902: error in executing ODCIIndexStart() routine

Hi,
I have a problem with my text mining application.
when I start the classification procedure I get the following errors
Error executing statement: ORA-29902: error in executing ODCIIndexStart() routine
ORA-20000: Oracle Text error:
DRG-50857: oracle error in drcs_query
ORA-06502: PL/SQL: numeric or value error: character to number conversion error
ORA-06512: at "CTXSYS.DRVODM", line 676
ORA-01426: numeric overflow
ORA-06512: at line 1
After closing and restarting the SQL Navigator, most times it works again, but not every time.
Here is the procedure I use:
PROCEDURE sp_classify
IS
vc2_sqlcommand VARCHAR2(1000);
guete DBMS_SQL.number_table;
branche DBMS_SQL.varchar2_table;
BEGIN
vc2_sqlcommand := 'ALTER TABLE ergebnisse MOVE TABLESPACE xxx;
execute IMMEDIATE vc2_sqlcommand;
n_matchscore := 20;
INSERT INTO ergebnisse
SELECT rt.cat_id, pt.produktions_id, match_score(1) AS MatchScore
FROM produktionsdaten pt, trainingsregeln rt
WHERE matches ( rt.rule, pt.geschaeftsgegenstand, 1) > n_matchscore;
COMMIT;
vc2_sqlcommand :=
'CREATE INDEX I_ERG_PRODID ON ERGEBNISSE ' ||
'( PRODUKTIONS_ID ASC ) ' ||
'TABLESPACE XXX' ||
'STORAGE ( INITIAL 64K ' ||
'NEXT 64K ' ||
'PCTINCREASE 0 ' ||
execute IMMEDIATE vc2_sqlcommand;
Please help me
Greetz Steffi Schweppe
Message was edited by:
user634781

I agree with Omar, However if you want to search using special character, you may want to look into the following example. I am not saying this may be a solution for you, however this may give you a start on how to deal with special character in you search.
In our enviroment we have "N" number of Science & Pharmacy & Chemical clients. They need the ability to search using special character for that we have done the following..
begin
select user into v_username from dual;
ctx_ddl.create_preference('orc_CTX_WLPREF', 'BASIC_WORDLIST');
ctx_ddl.set_attribute('orc_CTX_WLPREF','SUBSTRING_INDEX','TRUE');
ctx_ddl.set_attribute('orc_CTX_WLPREF','WILDCARD_MAXTERMS','2559');
ctx_ddl.Create_Preference('orc_LEXER','BASIC_LEXER');
ctx_ddl.Set_Attribute('orc_LEXER', 'index_themes', 'FALSE');
ctx_ddl.set_attribute('orc_LEXER','printjoins','0123456789%,./?;:<>[]{}\|+=-_()*&^$#@!''"%');
end;
And then siply create the index as follow..
create index index_name on activitylog(columnname)
indextype is ctxsys.context
parameters ('Wordlist CYBERLAB_CTX_WLPREF lexer CYBERLAB_LEXER memory 48M');
then I am able to do something like the following..
select count(*) from ACTIVITYLOG where contains (DESCRIPTION, '<%.htm@') > 0;
hope this helps..

Similar Messages

  • SQL Error: ORA-29902: error in executing ODCIIndexStart() routine

    I am running a SDO_RELATE operation on 2 geometries from 2 different tables. Spatial indexes are already created and the tables are also versioned.
    Below is the spatial meta data for both the geometries in user_sdo_geom_metadata table:
    DIMINFO is :
    MDSYS.SDO_DIM_ELEMENT(MDSYS.SDO_DIM_ELEMENT(Easting,0,700000,0.001),MDSYS.SDO_DIM_ELEMENT(Northing,0,1300000,0.001),MDSYS.SDO_DIM_ELEMENT(Height,-100,2000,0.001))
    SRID is 27700
    When I use SDO_RELATE or ADO_ANYINTERACT on both the geometires, i am getting the below error.
    Error report:
    SQL Error: ORA-29902: error in executing ODCIIndexStart() routine
    ORA-13243: specified operator is not supported for 3- or higher-dimensional R-tree
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 333
    29902. 00000 - "error in executing ODCIIndexStart() routine"
    *Cause:    The execution of ODCIIndexStart routine caused an error.
    *Action:   Examine the error messages produced by the indextype code and
    take appropriate action.
    Could you please let me know what should be the root cause for this issue?

    Hi
    Have you checked this posting?
    Re: ORA-13243
    Luc

  • ORA-20001: ORA-29902: error in executing ODCIIndexStart() routine

    Hi, everyone!
    I have an error as follow:
    ORA-20001: ORA-29902: error in executing ODCIIndexStart() routine
    ORA-06553: PLS-123: program too large
    I can get the sql where the procedure through the error, and execute the sql in sqlplus, no error. Does anyone have experience with the error? or have some direction to solve problem? thank you!
    My oracle version is 9.2.0.8.0 and sdo version is 9.2.0.8.0, too.

    I agree with Omar, However if you want to search using special character, you may want to look into the following example. I am not saying this may be a solution for you, however this may give you a start on how to deal with special character in you search.
    In our enviroment we have "N" number of Science & Pharmacy & Chemical clients. They need the ability to search using special character for that we have done the following..
    begin
    select user into v_username from dual;
    ctx_ddl.create_preference('orc_CTX_WLPREF', 'BASIC_WORDLIST');
    ctx_ddl.set_attribute('orc_CTX_WLPREF','SUBSTRING_INDEX','TRUE');
    ctx_ddl.set_attribute('orc_CTX_WLPREF','WILDCARD_MAXTERMS','2559');
    ctx_ddl.Create_Preference('orc_LEXER','BASIC_LEXER');
    ctx_ddl.Set_Attribute('orc_LEXER', 'index_themes', 'FALSE');
    ctx_ddl.set_attribute('orc_LEXER','printjoins','0123456789%,./?;:<>[]{}\|+=-_()*&^$#@!''"%');
    end;
    And then siply create the index as follow..
    create index index_name on activitylog(columnname)
    indextype is ctxsys.context
    parameters ('Wordlist CYBERLAB_CTX_WLPREF lexer CYBERLAB_LEXER memory 48M');
    then I am able to do something like the following..
    select count(*) from ACTIVITYLOG where contains (DESCRIPTION, '<%.htm@') > 0;
    hope this helps..

  • ORA-29902: error in executing ODCIIndexStart() routine ORA-06502: PL/SQL: n

    I'm trying a simple spatial query and this does not work:
    select count(1) from will w,
    t_line_sdo t
    where w.ID = 2 --
    and SDO_relate(T.sdo, W.sdo,
    'mask=anyinteract querytype=WINDOW')= 'TRUE'
    t_line_sdo is indexed on sdo column.
    will is indexed on sdo column
    I get an error in executing ODCIIndexStart() routine.
    But this works:
    select count(1) from will w,
    t_line_sdo t
    where w.ID = 2 --
    and SDO_filter(T.sdo, W.sdo,
    'querytype=WINDOW')= 'TRUE'
    -puzzled

    Hi Will,
    No luck reproducing the error on my 9.2.0.1 system.
    I slightly changed the user_sdo_geom_metadata entries to set the coordinate system bounds/tolerance to:
    -180,180,0.5
    -90,90,0.5
    but I don't think those would have been the difference.
    Another change I made was to the queries to use t_line_sdo instead of t_line.
    If I was writing the query I might make one slight modification though - I'd use the /*+ ordered */ hint:
    select /*+ ordered */ count(1) ALBERTA from will w,
    t_line_sdo t
    where w.CAN_BOR_35_ID = 2
    and SDO_RELATE( t.sdo, w.sdo,
    'mask=anyinteract querytype=WINDOW')= 'TRUE';
    Perhaps this will help you.
    Here is what I did:
    CREATE TABLE WILL
    CAN_BOR_35_ID NUMBER (17) NOT NULL,
    BOR_CODE VARCHAR2(5),
    SDO MDSYS.SDO_GEOMETRY NOT NULL
    --Here's my insert:
    INSERT INTO WILL
    VALUES ( 2, 'ALBT', MDSYS.SDO_GEOMETRY(
    2003, -- 2-dimensional polygon
    8307, -- SRID for 'Longitude / Latitude (WGS 84)' coordinate system
    NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 1),
    MDSYS.SDO_ORDINATE_ARRAY( -114.05013, 49.00081, -- ALBT1
    -109.98920, 48.98902, -- SASK1
    -110.00531, 49.50556, -- SASK6
    -114.59275, 49.50253, -- ALBT2
    -114.05013, 49.00081) -- ALBT1 -- CLOSE THE LOOP
    COMMIT;
    -- of course I did the insert into the metadata table...
    INSERT INTO USER_SDO_GEOM_METADATA
    VALUES (
    'WILL',
    'SDO',
    MDSYS.SDO_DIM_ARRAY(
    MDSYS.SDO_DIM_ELEMENT('X', -180, 180, 0.5),
    MDSYS.SDO_DIM_ELEMENT('Y', -90, 90, 0.5)),
    8307 -- SRID for 'Longitude / Latitude (WGS 84)' coordinate system
    INSERT INTO USER_SDO_GEOM_METADATA
    VALUES (
    'T_LINE_SDO',
    'SDO',
    MDSYS.SDO_DIM_ARRAY(
    MDSYS.SDO_DIM_ELEMENT('X', -180, 180, 0.5),
    MDSYS.SDO_DIM_ELEMENT('Y', -90, 90, 0.5)),
    8307 -- SRID for 'Longitude / Latitude (WGS 84)' coordinate system
    COMMIT;
    CREATE INDEX IDX_WILL
    ON WILL (SDO)
    INDEXTYPE IS MDSYS.SPATIAL_INDEX
    --And I did the validate:
    select T.BOR_CODE , SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT
    (T.SDO, 0.5)
    from WILL T
    -- Script to create t_line_sdo:
    CREATE TABLE t_line_sdo
    (life_id NUMBER(17,0) NOT NULL,
    feat_code NUMBER(4,0),
    sdo MDSYS.SDO_GEOMETRY)
    INSERT INTO t_line_sdo
    VALUES
    (1994622361001,4110,
    MDSYS.SDO_GEOMETRY(2002, 8307, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1, 2, 1),
    MDSYS.SDO_ORDINATE_ARRAY(-112.08714, 49.14799, -112.08772, 49.14847, -112.08851, 49.1492,
    -112.08879, 49.14954, -112.08894, 49.14977, -112.0899, 49.15134, -112.09043, 49.15218)))
    INSERT INTO t_line_sdo
    VALUES
    (1994632361001,4110,
    MDSYS.SDO_GEOMETRY(2002, 8307, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1, 2, 1),
    MDSYS.SDO_ORDINATE_ARRAY(-112.09043, 49.15218, -112.09117, 49.15336, -112.09239, 49.15544,
    -112.09338, 49.15718, -112.09408, 49.15835, -112.09495, 49.15992, -112.09542, 49.16066,
    -112.09579, 49.16131, -112.09624, 49.16224, -112.09642, 49.16285, -112.09654, 49.16332,
    -112.09657, 49.16389, -112.09658, 49.16468, -112.0965, 49.16529, -112.09612, 49.16633,
    -112.09594, 49.16677, -112.0945, 49.16904, -112.09403, 49.16984, -112.09326, 49.17102,
    -112.09292, 49.17165, -112.09266, 49.17218, -112.09256, 49.1726, -112.09252, 49.17298,
    -112.0925, 49.17337, -112.09256, 49.17385, -112.09265, 49.17419)) )
    INSERT INTO t_line_sdo
    VALUES
    (1994642361001,4110,
    MDSYS.SDO_GEOMETRY(2002, 8307, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1, 2, 1),
    MDSYS.SDO_ORDINATE_ARRAY(-112.09265, 49.17419, -112.09277, 49.17457, -112.09306, 49.1751,
    -112.09385, 49.17636, -112.09511, 49.17845, -112.09728, 49.18187, -112.09832, 49.18355,
    -112.09864, 49.18412, -112.09897, 49.18462, -112.09921, 49.18493, -112.09961, 49.18533,
    -112.10004, 49.18567, -112.10053, 49.18602, -112.10302, 49.18744, -112.11002, 49.19128,
    -112.1151, 49.1941, -112.11592, 49.1946, -112.1164, 49.19497, -112.11687, 49.19545,
    -112.11749, 49.19642, -112.11898, 49.20042, -112.11989, 49.20288)))
    INSERT INTO t_line_sdo
    VALUES
    (1994712361001,4110,
    MDSYS.SDO_GEOMETRY(2002, 8307, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1, 2, 1),
    MDSYS.SDO_ORDINATE_ARRAY(-112.06171, 49.1155, -112.0626, 49.11626, -112.06361, 49.11717,
    -112.0661, 49.11924, -112.0673, 49.12028, -112.06886, 49.12156, -112.07009, 49.12263,
    -112.07084, 49.12319, -112.07145, 49.12385, -112.07233, 49.12489, -112.07314, 49.12607,
    -112.07415, 49.12744, -112.07484, 49.12843, -112.07534, 49.12904, -112.07553, 49.12938,
    -112.07574, 49.12968, -112.07603, 49.13043, -112.07624, 49.13107, -112.07832, 49.13632)))
    INSERT INTO t_line_sdo
    VALUES
    (1994722361001,4110,
    MDSYS.SDO_GEOMETRY(2002, 8307, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1, 2, 1),
    MDSYS.SDO_ORDINATE_ARRAY(-112.06171, 49.1155, -112.0626, 49.11626, -112.06361, 49.11717,
    -112.0661, 49.11924, -112.0673, 49.12028, -112.06886, 49.12156, -112.07009, 49.12263,
    -112.07084, 49.12319, -112.07145, 49.12385, -112.07233, 49.12489, -112.07314, 49.12607,
    -112.07415, 49.12744, -112.07484, 49.12843, -112.07534, 49.12904, -112.07553, 49.12938,
    -112.07574, 49.12968, -112.07603, 49.13043, -112.07624, 49.13107, -112.07832, 49.13632)))
    INSERT INTO t_line_sdo
    VALUES
    (1994852361001,4110,
    MDSYS.SDO_GEOMETRY(2002, 8307, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1, 2, 1),
    MDSYS.SDO_ORDINATE_ARRAY(-112.07832, 49.13632, -112.07849, 49.13678, -112.07912, 49.13847,
    -112.08024, 49.14133, -112.0806, 49.14208, -112.0809, 49.14257, -112.08126, 49.14305,
    -112.08219, 49.14393, -112.0826, 49.14434, -112.08341, 49.14508, -112.08397, 49.14555,
    -112.08591, 49.14708, -112.08714, 49.14799)))
    INSERT INTO t_line_sdo
    VALUES
    (2681482361001,4110,
    MDSYS.SDO_GEOMETRY(2002, 8307, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1, 2, 1),
    MDSYS.SDO_ORDINATE_ARRAY(-112.05406, 49.10917, -112.05521, 49.11004, -112.0561, 49.11082)) )
    INSERT INTO t_line_sdo
    VALUES
    (2681492361001,4110,
    MDSYS.SDO_GEOMETRY(2002, 8307, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1, 2, 1),
    MDSYS.SDO_ORDINATE_ARRAY(-112.06313, 49.11545, -112.06171, 49.1155)))
    INSERT INTO t_line_sdo
    VALUES
    (2681502361001,4110,
    MDSYS.SDO_GEOMETRY(2002, 8307, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1, 2, 1),
    MDSYS.SDO_ORDINATE_ARRAY(-112.0561, 49.11082, -112.05787, 49.11233, -112.05916, 49.11338,
    -112.06171, 49.1155)))
    commit
    create index IDX_T_LINE_SDO on t_line_sdo (sdo)
    INDEXTYPE IS MDSYS.SPATIAL_INDEX
    --And I did the validate:
    select T.LIFE_ID , SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT
    (T.SDO, 0.5)
    from T_LINE_SDO T
    -- Both of these work
    select count(1) ALBERTA from will w,
    t_line_sdo t
    where w.CAN_BOR_35_ID = 2
    and SDO_RELATE( t.sdo, w.sdo,
    'mask=anyinteract querytype=WINDOW')= 'TRUE';
    -- Works (because it's doing a full table scan???)
    select count(1) ALBERTA from will w,
    t_line_sdo t
    where w.CAN_BOR_35_ID = 2
    and SDO_RELATE( w.sdo, t.sdo,
    'mask=anyinteract querytype=WINDOW')= 'TRUE';

  • Error in executing ODCIIndexStart() routine

    In my application We have sometimes the follow error:
    Exception [TOPLINK-4002] (OracleAS TopLink - 10g (9.0.4) (Build 031126)): oracle.toplink.exceptions.DatabaseException
    Exception Description: java.sql.SQLException: ORA-29902: error in executing ODCIIndexStart() routine
    ORA-20000: Oracle Text error:
    ORA-00942: table or view does not exist
    Internal Exception: java.sql.SQLException: ORA-29902: error in executing ODCIIndexStart() routine
    ORA-20000: Oracle Text error:
    ORA-00942: table or view does not exist
    Error Code: 29902
    at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:226)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:695)
    at oracle.toplink.threetier.ServerSession.executeCall(ServerSession.java:506)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(CallQueryMechanism.java:130)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(CallQueryMechanism.java:111)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeSelectCall(CallQueryMechanism.java:193)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.selectAllRows(CallQueryMechanism.java:563)
    at oracle.toplink.queryframework.ReadAllQuery.execute(ReadAllQuery.java:421)
    at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:498)
    at oracle.toplink.queryframework.ReadQuery.execute(ReadQuery.java:111)
    at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:1968)
    at oracle.toplink.threetier.ServerSession.internalExecuteQuery(ServerSession.java:629)
    at oracle.toplink.threetier.ClientSession.internalExecuteQuery(ClientSession.java:392)
    at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1096)
    at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1048)
    at oracle.toplink.publicinterface.Session.readAllObjects(Session.java:2416)
    at it.csi.cultura.om.supporto.ObjectManagerFrontoffice.getElencoEventiFiltrati(ObjectManagerFrontoffice.java:1431)
    at it.csi.cultura.backoffice.eventinotizie.ElencoEventi.execute(ElencoEventi.java:125)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:251)
    at oracle.portal.provider.v2.render.http.AbstractResourceRenderer.renderBody(Unknown Source)
    at oracle.portal.provider.v2.render.RenderManager.render(Unknown Source)
    at it.csi.cultura.portal.CustomPortletInstance.render(CustomPortletInstance.java:46)
    at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.showPortlet(Unknown Source)
    at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.handleHttp(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(Unknown Source)
    at oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at it.csi.cultura.portal.UploadFilter.doFilter(UploadFilter.java:61)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    Have you any idea???
    Thanks

    Hi,
    A couple of thoughts:
    1. Have you asked in the Oracle Text forum?
    Text
    2. On which text index does this command fail? Have you checked to make sure this text index really does exist?
    Cheers,
    Colin
    PS The singular of 'Indices' is 'Index'.

  • ORA-29902 Error when executing context query

    We sometimes get the following error when executing a search based on keywords entered by a user:
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Error generating context stmt ORA-29902: error in executing ODCIIndexStart() routine ORA-20000: interMedia Text error: DRG-50901: text query <HR></BLOCKQUOTE>
    A demonstration of the error can be seen by going to the main
    http://technet.oracle.com technet page and then performing a site search. Type in any of the following search phrases:
    Oracle and not Microsoft
    not Microsoft
    and database
    In my brief experimentation, the presence of any of
    not, and, or
    at the beginning of the keywords, or next to each other 'and not' within the keywords set causes the above oracle error.
    OK, I could train the users not to do this, but with the potential for every net user on the planet using my site, it might take me some time to speak to all of them.
    So how do I stop Intermedia from throwing up the error? I have written a quick parser to try to strip out offending entries, but that is not, imho, a good solution, as I do not know all the rules that will break it.
    tia

    You need to write a text query parser. Check the Query Translator code samples from http://technet.oracle.com/sample_code/products/text/content.html

  • Error in executing ODCIIndexStart()

    I a Search Application,I need to find the documents, where a StringAttribute (Author) contains any of the values in a specified array.
    For this purpose, I use an AnyOf-query (combined with some other queries).
    Alas I keep getting the following error-message.
    oracle.ultrasearch.query.tagext.SearchJspTagException: WKG17019: JDBC-exception: ORA-20000: Oracle Ultra Search error
    User-Defined Exception
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-20000: Oracle Text error:
    DRG-50901: text query parser syntax error on line 1, column 49
    ORA-06512: at "WKSYS.WK_ERR", line 179
    ORA-06512: at line 1
         at oracle.ultrasearch.query.tagext.GetResultTag.doEndTag(GetResultTag.java:228)
    If I use an AllOf query instead, I get the samme error, but if I use a simple Equals-query, everything is fine.
    Has anybody experienced the same problem? Does anyone have a clue of what I might be doing wrong?

    Hi,
    A couple of thoughts:
    1. Have you asked in the Oracle Text forum?
    Text
    2. On which text index does this command fail? Have you checked to make sure this text index really does exist?
    Cheers,
    Colin
    PS The singular of 'Indices' is 'Index'.

  • ORA-29902 ERROR  on a querry

    We get this error with the following querry:
    SELECT
    DISTANCE FROM DIST_PTS
    WHERE (CLLI = 'CHCGILCL') AND (MDSYS.SDO_NN (GEOLOC,
    MDSYS.SDO_GEOMETRY (2001, NULL,
    MDSYS.SDO_POINT_TYPE (-87.63804626464844, 41.879520416259766, NULL),
    NULL, NULL), 'SDO_NUM_RES=1') = 'TRUE');
    ERROR at line 1:
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-13236: internal error in R-tree processing: [failed to allocate memory]
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD", line 84
    ORA-06512: at line 1
    Our table has 25 million records and we are using Oracle 8.1.7
    We were getting this error with 8.1.6 and were advised to upgrade. We did but we get the same error. Has anyone seen this ?

    I am getting a similar error code trying to run the "Nearest
    Neighbor" sample code:
    error message:
    ORA-29902: error in executing ODCIindexStart()routine
    ORA-13207: incorrect use of the [NO UNITS SUPPORTED] operator
    ORA-06512: at "MYSYS.SDO_INDEX_METHOD" line 83
    partial code:
    v_latlong := v_latlong.findlocation();
    if v_latlong.numTotalCand > 0 then
    v_lat := v_latlong.getLatitude(1);
    v_long := v_latlong.getLongitude(1);
    found3 := FALSE;
    dist := .25;
    while found3 = false loop
    dist := dist + .25;
    select a, b, c INTO r_a, r_b, r_c from atable where
    SDO_WITHIN_DISTANCE(atable.GEOLOC,MDSYS.SDO_GEOMETRY
    (2001,NULL,MDSYS.SDO_POINT_TYPE(v_long,v_lat,NULL),NULL,NULL),
    'distance = dist, Unit=MILE, layer_gtype = POINT')
    = 'TRUE';
    cnt := cnt + 1;
    end loop;
    if cnt >= 2 then
    found3:= TRUE;
    end if;
    The only references I am finding to the ODCI Index is in the
    Oracle Data Cartridge Developers manual. SInce I am not
    developing a Data Cartridge, I am assuming the error is coming
    from either the Oracle Geocoder or the MapInfo implementation of
    that. In either case I do not see how I can correct the
    problem.
    Is the suggestion that there might be a problem with the
    geometry (in my case both are x,y points)?
    Thank you for any help

  • CONTAINS clause and the ORA-29902 error.

    Hello folks,
    I am encountering the following error in APEX.
    report error:
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-20000: Oracle Text error:
    DRG-10825: stored query does not exist: employee
    DRG-10825: stored query does not exist: employee
    Here is the rest of the information :
    1. I have created the index on the column in question as specified here.
    bq. {color:#0000ff} CREATE INDEX{color} \\ {color:#0000ff} \\ emp_idx ON meta_eul (display_name){color} \\ {color:#0000ff} \\ indextype is ctxsys.context; \\ {color}
    2. I have created the sqe for the word as suggested [here |http://download-west.oracle.com/docs/cd/B19306_01/text.102/b14218/cqrypkg.htm#i997218]: employee
    bq. {color:#0000ff} begin{color} \\ {color:#0000ff} \\ ctx_query.store_sqe('employee', 'empl or emp');{color} \\ {color:#0000ff} \\ end;{color}
    3. When I execute the following sql in sql developer, I get results
    bq. {color:#0000ff} SELECT SCORE(1), A.DISPLAY_NAME \\ FROM meta_eul a \\ WHERE 1 =1 \\ AND CONTAINS(A.DISPLAY_NAME , 'sqe(employee)', 1)&gt; 0 \\ ORDER BY SCORE(1) \\ {color}
    4. I have the same query in #3 above as a region in my Page.
    When I execute it, I get the error that I have mentioned above.
    Any thoughts ? Is this a limitation ?
    I am on Apex version 3.0
    Regards,
    Atul

    Thanks, Roel.
    A similar option that worked out as an alternative is that I have changed the region code to :
    bq. {color:#0000ff}SELECT SCORE(1), A.DISPLAY_NAME \\     FROM meta_eul a \\     WHERE 1 =1 \\     AND CONTAINS(A.DISPLAY_NAME , 'emp or empl or employee', 1)&gt; 0 \\     ORDER BY SCORE(1) \\ {color}
    and have avoided the sqe part. This doesn't seem to have an issue in Apex.

  • ORA-29902 error with CONTAINS()

    Hello,
    I have trouble using the CONTAINS() function on an indexed document.
    I created the index with
    create index ikenndatenTextIndex
    on kenndaten_as_column_500 x (kenndaten)
    indextype is ctxsys.context
    +++++++++++++++++++++++++++++++++++++++++++++
    with Result:
    Index created
    +++++++++++++++++++++++++++++++++++++++++++++
    where the column "kenndaten" contains XMLType Documents
    Now, typing in isqlplus:
    select extract(x.kenndaten,'/kenndaten/schlagworte')
    from kenndaten_as_column_500 x
    WHERE CONTAINS(kenndaten,'$("taken") INPATH (/kenndaten/schlagworte)') > 0;
    ++++++++++++++++++++++++++++++++++++++++++++++++++++
    gets the desired result:
    EXTRACT(X.KENNDATEN,'/KENNDATEN/SCHLAGWORTE')
    <schlagworte>group an corporate the taken </schlagworte>
    ++++++++++++++++++++++++++++++++++++++++++++++++++++
    Here is the Problem:
    If I do not look for "taken" but for "was":
    select extract(x.kenndaten,'/kenndaten/schlagworte')
    from kenndaten_as_column_500 x
    WHERE CONTAINS(kenndaten,'$("was") INPATH (/kenndaten/schlagworte)') > 0;
    ++++++++++++++++++++++++++++++++++++++++++++++++++++
    I get:
    select extract(x.kenndaten,'/kenndaten/schlagworte')
    ERROR at line 1:
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-20000: Oracle Text error:
    +++++++++++++++++++++++++++++++++++++++++++++++++++++
    Using {was} instead of "was", typing \w\a\s or simply using ...CONTAINS(kenndaten,'$(was) INPATH...
    gets the same result
    I have no problem looking for words like "and","or","inpath" and the like
    Any ideas?
    Gregor Heuer

    HI,
    I don't know very well Oracle Text, but perhaps the next doc could you help on this one :
    http://www.oracle.com/technology/products/text/index.html
    http://www.oracle.com/technology/oramag/oracle/04-sep/o54text.html
    Nicolas.

  • Exception: ORA-29913: error in executing ODCIEXTTABLEFETCH callout ORA-3065

    Dear Experts,
    Need your help. We export data from oracle 11g database and import into oracle 10g database.
    We have created external tables with same DDL in both export and import schema.
    we are able generate datadump files at export side successfuly. However, when we try to query the datadump files at import side we are getting following error:
    Exception: ORA-29913: error in executing ODCIEXTTABLEFETCH callout ORA-30653: reject limit REACHED
    In the external table definition we have defined the reject limit as zero as we don't want any records to be rejected.
    This issue occurred after we deployed the fix for an issue, which is -> In one of the table we store the xml of the modified record of some core table. And if the records contains control characters [ chr(0) to chr(31), expect chr(9), chr(10) and chr(13) ] then xml fails to validate and our export failed.
    To fix it, we added the code to set the event at the start of the export rountine using command:
    /*Replace the erroneous character with corresponding character reference*/
    EXECUTE IMMEDIATE 'ALTER SESSION SET events = ''19119 trace name context forever, level 0x200000''';
    After this, the export worked fine but import failed.
    I have no clue what this error message is suggesting, expect the reject limit thing which I can't set to unlimited.
    I would be grateful to have your comments on this. Please let me know if you need futher information.
    Many Thanks

    Hi,
    What happens if you set that event on the importing side too?
    Is there no other way to remove the speical characters - can you not use functions against the xml string directly in the routine that populates the external table - why are you using the event?
    Cheers,
    Harry

  • SQL Error: ORA-29913: error in executing ODCIEXTTABLEOPEN callout

    Dear Friends,
    I executed the following stmsts:
    1)CREATE OR REPLACE DIRECTORY TEST_DIR AS 'd:\mydata';
    2)GRANT READ, WRITE ON DIRECTORY TEST_DIR TO wonders_mumbai1;
    3)CREATE TABLE ext_tab18 (
    old_cust VARCHAR2(8),
    new_cust VARCHAR2(8)
    ORGANIZATION EXTERNAL (
    TYPE oracle_loader
    DEFAULT DIRECTORY TEST_DIR
    ACCESS PARAMETERS (
    RECORDS DELIMITED BY NEWLINE
    BADFILE TEST_DIR:'bad-upload.bad'
    LOGFILE TEST_DIR:'log_upload.log'
    FIELDS TERMINATED BY ','
    OPTIONALLY ENCLOSED BY '"'
    MISSING FIELD VALUES ARE NULL
    REJECT ROWS WITH ALL NULL FIELDS
    (old_cust,new_cust))
    LOCATION ('datafile1.csv')
    REJECT LIMIT 0
    NOMONITORING;
    4)SELECT * FROM ext_tab18;
    1 -3 execute successfully.
    4 throws up the error:
    Error starting at line 1 in command:
    SELECT * FROM ext_tab18
    Error report:
    SQL Error: ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04063: unable to open log file log_upload.log
    OS error The system cannot find the file specified.
    ORA-06512: at "SYS.ORACLE_LOADER", line 19
    29913. 00000 - "error in executing %s callout"
    *Cause: The execution of the specified callout caused an error.
    *Action: Examine the error messages take appropriate action.
    What is to be done?

    Hi,
    Yes if I put it on the server it works.
    But if I put the file on the client in a shared folder and put the ip address as below:
    10.97.140.59\mydata
    it doesn't work.
    So it seems that this will work if the file is on the server and not on any client.
    If that be the case then it is a definite disadvantage.
    thanks for ur reply.

  • SQLERRM: ORA-29913: error in executing ODCIEXTTABLEOPEN callout

    SQLERRM: ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-00554: error encountered while parsing access parameters
    KUP-01005: syntax error: found "minussign": expecting one of: "binary_double, binary_float, comma, char, date, defaultif, decimal, double, float, integer, (, nullif, oracle_date, oracle_number, position, raw, recnum, ), unsigned, varrawc, varchar, varraw, varcharc, zoned"
    KUP-01007: at line 8 column 4
    Here is my script
    CREATE OR REPLACE DIRECTORY NO_STOCK_log_dir
    AS 'c:\starpubs\starpubs\dataformats\logs\NO_STOCK\log';
    CREATE OR REPLACE DIRECTORY NO_STOCK_bad_dir
    AS 'c:\starpubs\starpubs\dataformats\logs\NO_STOCK\bad';
    create table ext_NO_STOCK_table (
    ACCT varchar(5),
    SUBACCOUNT char(1),
    ITEM_NO varchar(6),
    PROCESS_DATE varchar(6),
    ORDER_QTY     integer
    organization external
    type oracle_loader
    default directory user_dir
    access parameters
    records delimited by newline
    badfile NO_STOCK_bad_dir:'NO_STOCK%a_%p.bad'
    logfile NO_STOCK_log_dir:'NO_STOCK%a_%p.log'
    fields
    MISSING FIELD VALUES ARE NULL
    ACCT (1:5) char(5),
    SUBACCOUNT (6:6) char(1),
    ITEM_NO (21:26) char(6),
    PROCESS_DATE (30:35) char(6),
    ORDER_QTY (37:41) integer external
    location('NOSTOCK')
    reject limit unlimited;
    NOSTOCK data file is:
    E2247 477265 110120 00001

    a minus qualifies as a special character and can not be used in identifiers unless you embed the identifier in double quotes.
    Error messages are documented. You could and should have looked this up yourself.
    Your question is redundant and a violation of Forums Etiquette.
    Sybrand Bakker
    Senior Oracle DBA

  • ORA-29855: error occured in ODCIINDEXCREATE routine

    I'm trying to create a spatial index using Microstation Geographics, but I got error messages.
    The first error msg was ORA-29855: error occurred in ODCIINDEXCREATE routine. I think the other messages were also related to that routine.
    I tried to create a spatial index (using the same method) in another database. It worked.
    I wonder what went wrong. Do I need records in the table to create index?
    Thanks!

    In the patch readme, I found this:
    =======================================================
    If you are using an Oracle9i (9.2) preconfigured Standard Edition database, then the database contains the following components that are not supported by the Standard Edition:
    Oracle Data Mining
    Oracle OLAP Catalog
    Oracle OLAP Analytic Workspace
    Oracle OLAP API
    Spatial
    The catpatch.sql script does not run the patch scripts for these components. It sets the component STATUS to "OPTION OFF" in the DBA_REGISTRY view. The original versions of the dictionary objects for the components remain in the database but the catpatch.sql script does not apply the patch to them.
    =========================================================
    Does it mean it doesn't support Spatial? I'm not sure mine is preconfigured Standard Edition database though.

  • Ore.neural throws ORA-29913: error in executing ODCITABLESTART callout

    Hi,
    We are using ORE 1.3 and server version 11.2.0.3.0 on an Oracle Linux box.
    I was trying to do simple neural network from ORE and received the below error:
    OREtrain2 <- ore.push(train2)
    dt.mod <- ore.neural(ACTION ~ ., data = OREtrain2)Error in .oci.GetQuery(conn, statement, data = data, prefetch = prefetch, :
    ORA-29913: error in executing ODCITABLESTART calloutI have researched it on Oracle forums and it seems there was a bug throwing the same error message prior to 11.2.0.3 and another one with Solaris installations of ORE 1.1, but neither of these explains why this happens in or case.
    Thanks,
    Zoltan
    Edited by: user2548497 on Jun 2, 2013 1:13 PM
    Edited by: user2548497 on Jun 2, 2013 1:14 PM

    Hi Zoltan,
    What are the data types of your data? This first release of ore.neural supports numerical data.
    Regards,
    Mark

Maybe you are looking for

  • Reading and processing file(s) in a filesystem

    I'm fairly new to java programming and need help. I need to write code which will and read and process 1 or many files from a filesystem. If a file is found, read and process it. Then do same for all files found. Please help. Thanks in advance!

  • Connectivity to MS SQL Server

    Hi All, We have an oracle 8i database and an MS Sql Server 2000 db. These two communicate with each other using some ODBC connection. From Oracle SQLPLUS, I am able to query object that are in the MS Sql Server but the problem is that the query (sele

  • Flash Islands : pass event parameters to Web Dynpro

    Hi, I am trying to pass a parameter to Web Dynpro using "FlashIsland.fireEvent()". The event is fired, but I cannot get the parameter. I WD I created a GACEvent : name = doSomething onAction = doSomethingAction In this Event I created a GACEventParam

  • Radeon R6850 and hdmi output woes

    Hi there, new to the forum and hoping someone can help me out. I have both a small hdmi and dvi capable 20 inch monitor and a Sony kdl w4000 hdtv.  I can output via hdmi and dvi to the small monitor without issue but i cannot for the life of me figur

  • MM to CO-PA

    Hello, I'm trying to get MM movements to post directly in CO-PA, but there still seems to be lacking something. I've made a characteristics group with just ARTNR (required) in KEPA. I've assigned the group to Business Transaction RFBU in KEG4 i've as