Urgent: Oracle Text error: DRG-10001: can not access result table

Hi,
I am getting the "DRG-10001:can not access result table" error when trying to run the oracle text procedure ctx_cls.train within HTMLDB. The schema i used for parsing is granted with the necessary privileges, and i can run the procedure manually using the same schema in sqlplus. Following is the script I am trying to run:
1. begin
2. ctx_cls.train(
3. index_name => 'MyDocindex',
4. docid => 'MyDoc_id',
5. cattab => 'MyDocTab_categories',
6. catdocid => 'cat_MyDoc_id',
7. catid => 'cat_id',
8. restab => 'rules',
9. rescatid => 'rule_cat_id',
10. resquery => 'rule_text',
11. resconfid => 'rule_confidence'
12. );
13. end;
Please help urgently!
Thanks
RG

I seem to have hit a similar problem.
Did you eventually resolve this problem?
Rgds
Z

Similar Messages

  • ERROR at line 1: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine ORA-20000: Oracle Text error: DRG-10700: preference does not exist: global_lexer ORA-06512: at "CTXSYS.DRUE", line 160 ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366

    database version 11.2.0.4
    rac two node
    CREATE INDEX MAXIMO.ACTCI_NDX3 ON MAXIMO.ACTCI
    (DESCRIPTION)
    INDEXTYPE IS CTXSYS.CONTEXT
    PARAMETERS('lexer global_lexer language column LANGCODE')
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-10700: preference does not exist: global_lexer
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366

    Like the error message says, you don't have a global_lexer.  So, you need to create a global_lexer and that lexer must have at least a default sub_lexer, then you can use that global_lexer in your index parameters.  Please see the demonstration below, including reproduction of the error and solution.
    SCOTT@orcl12c> -- reproduction of problem:
    SCOTT@orcl12c> CREATE TABLE actci
      2    (description  VARCHAR2(60),
      3      langcode     VARCHAR2(30))
      4  /
    Table created.
    SCOTT@orcl12c> CREATE INDEX ACTCI_NDX3 ON ACTCI (DESCRIPTION)
      2  INDEXTYPE IS CTXSYS.CONTEXT
      3  PARAMETERS('lexer global_lexer language column LANGCODE')
      4  /
    CREATE INDEX ACTCI_NDX3 ON ACTCI (DESCRIPTION)
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-10700: preference does not exist: global_lexer
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366
    SCOTT@orcl12c> -- solution:
    SCOTT@orcl12c> DROP INDEX actci_ndx3
      2  /
    Index dropped.
    SCOTT@orcl12c> BEGIN
      2    CTX_DDL.CREATE_PREFERENCE ('global_lexer', 'multi_lexer');
      3    CTX_DDL.CREATE_PREFERENCE ('english_lexer', 'basic_lexer');
      4    CTX_DDL.ADD_SUB_LEXER ('global_lexer', 'default', 'english_lexer');
      5  END;
      6  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> CREATE INDEX ACTCI_NDX3 ON ACTCI (DESCRIPTION)
      2  INDEXTYPE IS CTXSYS.CONTEXT
      3  PARAMETERS('lexer global_lexer language column LANGCODE')
      4  /
    Index created.

  • My BB9810 refuse to load OS7.1 software on my phone after the download has completed. My phone has freezed/stucked since morning. Pls urgent help/assistant needed as I can not access/use my phone for over 24hrs now.

    My BB9810 refuse to load OS7.1 software on my phone after the download has completed. My phone has freezed/stucked since morning. Pls  urgent help/assistant needed as I can not access/use my phone for over 24hrs now.

    Hi there,
    Use the method described in the link below to get back up and running:
    http://supportforums.blackberry.com/t5/Device-software-for-BlackBerry/How-To-Reload-Your-Operating-S...
    I hope this info helps!
    If you want to thank someone for their comment, do so by clicking the Thumbs Up icon.
    If your issue is resolved, don't forget to click the Solution button on the resolution!

  • Oracle Text Error - 50935

    Hi
    I randomly get following error while searching my database using context index:
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-20000: Oracle Text error:
    DRG-00100: internal error, arguments : [50935],[drpn.c],[992],[],[]
    DRG-00100: internal error, arguments : [50935],[drpnw.c],[600],[],[]
    DRG-00100: internal error, arguments : [51002],[drwa.c],[573],[],[]
    DRG-00100: internal error, arguments : [51028],[drwaf.c],[795],[204],[AUTOMOBILE]
    DRG-00100: internal error, arguments : [50401],[dreb.c],[1037],[],[]
    ORA-03113: end-of-file on communication channelIf I search again using the same keywords, it does not return the error.
    The frequency of this error is low - around 50 out of around 50,000 searches in a day.
    Please advise what should I do?
    Regards
    Madhup

    Hi,
    Version= Oracle 10g Release 10.2.0.1.0
    OS= Linux (Redhat 4.0)
    Language= English (100% documents that are indexed are in English Language)
    similarly the search is in English Language
    The contains clause looks like shown below:
                   (automobile frames in china)*10,
                   ($automobile $frames $in $china)*7,
                   (NEAR((automobile,frames,in,china)))*4,
                   (NEAR(($automobile,$frames,$in,$china)))*3,
                   (automobile% frames% in% china%)*3
              ) within sec_a
         )*1,
                   (automobile frames in china)*10,
                   ($automobile $frames $in $china)*7,
                   (NEAR((automobile,frames,in,china)))*4,
                   (NEAR(($automobile,$frames,$in,$china)))*3,
                   (automobile% frames% in% china%)*3,
                   (FUZZY(automobile,,,WEIGHT) FUZZY(frames,,,WEIGHT) FUZZY(in,,,WEIGHT) FUZZY(china,,,WEIGHT))*2
              ) within sec_b
         )*1,
                   (automobile frames in china)*10,
                   ($automobile $frames $in $china)*7,
                   (NEAR((automobile,frames,in,china)))*4
              ) within sec_c
         )*1,
                   (automobile frames in china)*10,
                   ($automobile $frames $in $china)*7,
                   (NEAR((automobile,frames,in,china)))*4
              ) within sec_d
         )*.1
    )I am using a Multi Column Datastore that has 6 columns
    each of these 6 columns has been setup as a field section so that I can search within it separately.
    My index preferences are as mentioned below:
    BEGIN
         CTX_DDL.DROP_PREFERENCE('CTXSYS.IIL_LEXER');
         CTX_DDL.CREATE_PREFERENCE('CTXSYS.IIL_LEXER','BASIC_LEXER');
                    CTX_DDL.SET_ATTRIBUTE('CTXSYS.IIL_LEXER', 'INDEX_STEMS', 'ENGLISH');
         CTX_DDL.DROP_PREFERENCE('CTXSYS.IIL_FUZZY_PREF');
         CTX_DDL.CREATE_PREFERENCE('CTXSYS.IIL_FUZZY_PREF', 'BASIC_WORDLIST'); 
         CTX_DDL.SET_ATTRIBUTE('CTXSYS.IIL_FUZZY_PREF','FUZZY_MATCH','ENGLISH'); 
         CTX_DDL.SET_ATTRIBUTE('CTXSYS.IIL_FUZZY_PREF','FUZZY_SCORE','60'); 
         CTX_DDL.SET_ATTRIBUTE('CTXSYS.IIL_FUZZY_PREF','FUZZY_NUMRESULTS','100'); 
         CTX_DDL.SET_ATTRIBUTE('CTXSYS.IIL_FUZZY_PREF','SUBSTRING_INDEX','TRUE');
         CTX_DDL.SET_ATTRIBUTE('CTXSYS.IIL_FUZZY_PREF','PREFIX_INDEX','TRUE');
         CTX_DDL.SET_ATTRIBUTE('CTXSYS.IIL_FUZZY_PREF','PREFIX_MIN_LENGTH','1');
         CTX_DDL.SET_ATTRIBUTE('CTXSYS.IIL_FUZZY_PREF','PREFIX_MAX_LENGTH','3');
         CTX_DDL.SET_ATTRIBUTE('CTXSYS.IIL_FUZZY_PREF','WILDCARD_MAXTERMS','15000');
         CTX_DDL.SET_ATTRIBUTE('CTXSYS.IIL_FUZZY_PREF','STEMMER','ENGLISH'); 
    END;Regards
    Madhup

  • Oracle text error when generating random rows

    Hello
    firing
    SELECT *
    FROM
    SELECT NAME,EMAIL,ADDRESS1,ADDRESS2,CONTACT_NAME,MOBILE,TELEPHONE FROM MV_CAT_SEG_REG_PROD
    WHERE CATSEARCH(CAT_TYPES,'security services*' ,NULL)>0 AND
    PLAN_ID=1 AND ACT_STATUS='N'
    ORDER BY DBMS_RANDOM.VALUE
    where rownum < 4;
    returns
    ORA-20000: Oracle Text error:
    DRG-10849: catsearch does not support functional invocation
    DRG-10599: column is not indexed
    20000. 00000 - "%s"
    *Cause:    The stored procedure 'raise_application_error'
    was called which causes this error to be generated.
    *Action:   Correct the problem as described in the error message or contact
    the application administrator or DBA for more information.
    using oracle 10gr2 on windows server 2003
    i have tried 1)dropping the index and creating it again, the index type is "CTXSYS"."CTXCAT"
    2) deleting the stats -checking
    3)recreating the stats- checking
    the table here is a materialized view
    i need to tell you people that
    there are two indexes cat_types_ind and cat_ids_idx on cat_types and cat_ids columns respectively
    the inner query uses cat_types_idx index when executed and seen in sqladvisor
    1)removing the order by clause will make the query work but i really want that order by clause
    2)the inner-query-only works fine
    3) i have seen the forums and they have helped regarding the things i tried above but it does not work
    please tell me if i need to further elaborate on anything
    thanks in advance

    I have same problem, my query is:
    SELECT *
    FROM
    (SELECT
    /*+ FIRST_ROWS(50) */
    NTQ.*,
    ROWNUM RNUM1
    FROM
    (SELECT
    /*+ INDEX(DL_TSD_DEFTR_CI) */
    FROM ima_ol.DL_TSD_SITUATION s
    WHERE (CATSEARCH(DEF_TRANS,'milano ',NULL)>0)
    AND (s.FORECAST = 0)
    AND (s.STATE IN (1,0,4))
    AND (s.ARCH_STATE = 0)
    ORDER BY s.VET_TS DESC
    ) NTQ
    WHERE ROWNUM <=50
    WHERE RNUM1 >=1
    my oracle and system version:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    "CORE     11.1.0.7.0     Production"
    TNS for Solaris: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production
    I have suggested that to solve the problem I should alter the statistics of the offending table to force to use this index .. how do I do? thanks in advance

  • Oracle text Error

    hi all,
    i have the Query like this
    select NAME from ORG_NAME
    where contains(NAME, 'ward&') > 0;
    ERROR at line 1:
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-20000: Oracle Text error:
    While try to execute the Query i got Error ....
    if i'm using any spl char inside the Contains function it Throw the Error
    IS any way for using spl char in Contains function?

    Thanks a lot Herald ten Dam!! I was really panicking and was straight away asking our production dbas to raise an SR with oracle. Your answer gave me first clue on what could be happening.  I could not find what that transaction was and now when I query the database I dont see any distributed transaction. I mean the following query returns 0 rows:
    SELECT  * FROM DBA_2PC_PENDING;
    Also we are not getting any further report/intimation that the Oracle Text errors are happening. So I am guessing it was some distributed transaction that had happened that caused this issue. I wish I could find what that transaction was - is there any way that can be done?
    Thanks a lot!
    OrauserN

  • Internal error Occured mapping can not be opened - while opening interface

    Hi Gurus,
    I Am using ODI 11g to load data from Oracel to Oracel database using different schemas as a source to load facts.
    for the first time its loading sucessfully and when i try to open the same interface to see the mapping its showing the errror like *"Internam error Occured mapping can not be opened"*
    Tis is very urgent to resolve as per my project neeed.
    Please suggest steps : how to resolve the issue.
    Thanks in Advance.
    regards
    sri

    While the iTunes app is being updated, you are correct, it cannot be opened.
    This is true of all Apple apps on your Mac.
    iTunes is not very large compared to other apps.  Let it update, then open it.

  • Oracle BI Publisher - can not access Shared Folder , using Oracle BI Server

    Hi there,
    We have an installed OBIEE and BIP (BI Publisher) system which is the security setting of BIP using "Oracle BI Server".
    Our OBIEE security is using the combination of LDAP (authentication) and Relational Table (for grouping user privillege)
    The integration connection between OBIEE and BIP is successfull, and I can connect using Administrator to the BIP
    But when I assign a general user using group : XMLP_Admin (define in rpd file and relational table), the user can log in to BIP, but can NOT access the Shared Folder.
    the error desc : "Error 500: SRVE0199E: OutputStream already obtained"
    Anyone can help ?
    Thanks a lot
    -toni

    Did you define Roles and Permissions to the shared folder from BIP Admin?
    -Prakash

  • CAN NOT OPEN UP FIREFOX...ERROR ENTRY POINT CAN BE ACCESSED FROM XUL.DLL

    '''3rd time have been locked out.....can not access mozilla or important sites....error '''reads..... The procedure entry point NS_Set Dl Directory could not be located in the dynamic link library xul.dll.......urgent repair needed.....even when internet explorer ooens....certain sites I stll get that error.....like my bank.....like my contact em list.....help immediate please.

    hi, do you have service pack 3 installed on your xp computer?

  • When I plug in my Ipod touch to my computer a warning appears "The program cant start because MSVCR80.dll is missing."  I can not access my Itunes library.  Also, an "error 7 Windows error 126" appears as well.  Any ideas?

    When I plug in my Ipod Touch to my computer I can not access my Itunes library.  The following message appears "The program cant start because MSVCR80.dll is missing."  Also, another message appears as well - "Error 7  Windows error 126" as well as APSDaemon.exe.
    I have NO IDEA what the heck to do.
    Any ideas?
    Thanks!

    Issues installing iTunes or QuickTime for Windows
    solving MSVCR80
    iTunes 11.1.4 for Windows: Unable to install or open
    Troubleshooting issues with iTunes for Windows updates

  • Error!! Can not find the delivery details for the delivery Id :

    hi all,
    I have a report which i need to burst in seven different reports wherein my delivery key is column "emp_id". Now when i schedule the report to burst then the report completes with a warning. I see that there are various delivery cycles for the report and for one of the cycles i get the following message
    Error!! Can not find the delivery details for the delivery Id :
    hence, what happens due to this is, even there are successful deliveries for other delivery ids but then i get only two rows of data in each of the seven bursted ouput xls files. wheareas the data runs in thousands of rows for each cycle.
    Hence whats happening is, that due to error /warning in one of the delivery cycles other reports are also not showing data.
    I am not sure whats causing the issue and why i am not getting complete bursted files out.
    Please suggest
    Thanks
    Ronny

    I guess, you are in 10.1.3.3.2 :),
    in the latest release 10.1.3.4.1, there are more enhancement wrto bursting and performance i believe.
    check th release notes
    can you send me the xml and bursting query you have, i can try simulating in my local.

  • I used migration to send photos form my Mac Book to my I Mac now i get an error message "iPhoto can not be opened because of a problem"  Check with the developer to make sure iPhoto works with this version of Max OSX.  You may need to install any availabl

    I used migration to send photos form my Mac Book to my I Mac now i get an error message "iPhoto can not be opened because of a problem"  Check with the developer to make sure iPhoto works with this version of Max OSX.  You may need to install any available updates or reinstall IPhoto.
    I tried installing Iphoto it said it was downloaded successfully. I still get the error messafe, and can not open any photos of program,  any suggestions?

    What version of iPhoto do you have on the Macbook and on the iMac? What systems are you running on the Macbook and on the iMac?
    Does the message only refer to "a problem" or does it specify what it is?
    Happy Holidays

  • TS3212 i have windows 7 and when trying to install itunes i get the error message "can not access network location %PUBLIC%\Desktop\."

    i have windows 7 and am having trouble installing itunes 10. during the installation process, i get the error message "can not access the network location %PUBLIC%\Desktop\." i cant find anything online that helps me and without itunes my ipod touch ios basically useless. please help me!!

    I've seen a report here of the following instructions helping with that particular variation of the 1606 error message:
    http://quicksolver.blogspot.in/2012/02/unable-to-install-office-2010-on.html

  • Oracle 9,2.0 32 bit for Solaris can not access more than 4GB?

    I am sorry to ask rather stupid question.
    I joined company which has big SUN Fire running Solaris 9 64bit version.
    It has system memory 16GB and 8 CPUs.
    I found 8GB memory reported as free. It is production box. It is heavy loaded.
    I guess Kernel parameter settings for Oracle set too low.
    I reported DBA and asked DBA to improve.
    My DBA said Oracle 32 bit version was installed and Oracle 32bit can't access more than 4GB system memory.
    Is it true that Oracle 9.2.0 32bit for Solaris can not access more than 4GB memory?
    32bit CPU and 32bit OS might have problem in access big memory.
    But I never heard Oracle 9 running on 64bit Solaris box can not access more than 4GB.
    Specially on Sparc 64bit chip and Solaris 9 64bit version.
    I searched forums and could not find good answer. I believe it is rather obvious.
    Please help me on this. I will be greatly appreciated.
    Thanks in advance.
    Message was edited by:
    user524303

    I was really surprised by the fact that almighty
    ORACLE can not access 4GB memory.
    So, it is true that 32bit Oracle is limited by 4GB RAM.Nope. 32bit almighty anything is limited to (max) 2^32 virtual adresses on a vmm system.
    Often there is also some split where memory is divided into system and user areas, where user (program) has e.g. 2 or 3GB. All this works regardless of amount of RAM available 0.5 or 512GB.
    Perhaps this link provides some useful info/background.

  • Error on boot: "Can not find script file "C:\Progra​mData\Leno​vo-20841.v​bs".

    Recently I'm getting an error dialog box on my T530 when I boot it into my OEM installation of Windows 8.  The window title bar is "Windows Script Host", and the error message is:
    Error on boot: "Can not find script file "C:\ProgramData\Lenovo-20841.vbs".
    I pulled up an old backup, and I do have that file, along with a number of other ones that are missing from that directory.  I'm attaching a screenshot of the files that are missing.  Not sure why they would have been deleted (I know I didn't do it manually).  Should I just restore the file?  What about the other ones?
    Thanks very much.

    I am getting a different VBS script error than the one listed above.
    Does anyone know how I can get this file?  or recreate it?
    I get a similar message saying that it can't find the file c:\programdata\Lenovo-11472.vbs
    Also, my wireless just randomly resets - sometimes very few minutes - after I've been using the system for a while.  It's brand new and I can't figure out what's going on.  Could this be the issue?
    When I restart, it stays stable for a while and then starts acting up again.
    Thanks for your help!

Maybe you are looking for

  • [Solved] Installation problem on HP-UX

    Hi there, I try to install Oracle Database 10g Release 2 on an HP-UX system. You'll find below the result of uname -a if it can help. HP-UX c3750 B.11.11 U9000/785 2015203204 unlimited-user licenseWhen I run "runInstaller" in a terminal, here is what

  • Taking more time in INDEX RANGE SCAN compare to the full table scan

    Hi all , Below are the version og my database. SQL> select * from v$version; BANNER Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi PL/SQL Release 10.2.0.4.0 - Production CORE 10.2.0.4.0 Production TNS for HPUX: Version 10.2.0.4.0 -

  • Malerial List With DMS document attached to it

    Hi Can any one have idea from where i can get Material list to which Documents are attached.

  • Error during attachment in Candidate profile

    Hi All, Under candidate profile in attachement tab, when I click the attach or edit button I am getting the following error. Is it something to do with ivew or URL link generation. Serious error; The error occurred in program CL_HRRCF_ABSTRACT_CONTRO

  • IBook Author of the video size

    I would like to know what's best way to set up iBook Author of the video size and format file for all ipad devices including ipad air. I already knew about this part:    •    To create up to a 420p movie: Select "iPod touch & iPhone 3GS."    •    To