English preferences for oracle text error

Hi,
i did run the script drdefus.sql script as sysdba
and when i try to install the "Presidential Inaugural Addresses" demonstration application in HTMLDB and i got the following error.
error:------------------------------------------
ORA-20001: This demonstration can only be installed into an Oracle database which has the English preferences loaded for Oracle Text. Please contact your administrator
Can someone help me to fix this error.
Thanks,
Philip.

I have 10.0.1.3.0 in place and used the companion cd of 10.0.1.2.0 to install the necessary tools on a clone. It seems to work and I was able to install the application now. Do I have to apply the patch again for some reason? Looking at the Metalink they say I should? Any experience out there.
Denes Kubicek

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.

  • 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

  • How to install knowledge base file for oracle text

    how to install knowledge base file for oracle text?
    there are couple of files droldUS.dat,.. which are required to generate gists and themes, where can i find them or install them.
    please help!

    I checked the download page and it says:
    "All Release 2 download pages contain Oracle Companion, Client, Clusterware, Gateways, and Application Express standalone downloads"
    so you should already have it. Try searching for the filename that was in your error message.

  • [Microsoft][ODBC driver for Oracle]Syntax error or access violation

    Hi,
    When I am trying to connect to Oracle 8.1.6 database using Microsoft ODBC driver for Oracle. The connection is established.
    But while creating CallableStatement, I am getting error "[Microsoft][ODBC driver for Oracle]Syntax error or access violation".
    What I need to do to resolve this problem.
    Raj

    Hi Satish
    It could be an issue with the driver.
    You can try with the OLEDB n Oracle native connection to test if the issue persists.
    Also you can refer to the [Troubleshooting Database Connectivity for Crystal Reports|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/d05b3bb7-0f28-2c10-4ea3-84dbdc4e414e&overridelayout=true]
    Hope this helps!!
    Regards
    Sourashree

  • Oracle companion cd themes for oracle text

    Hi i want to install oracle cd companion, but i have not understood what i have to download to run it.
    I need use themes for oracle text query's,and oracle 10g xe don't support themes.
    Is there a simply procedure that i can follow to install companion correctly?
    I have windows xp and oracle 10g.
    Important file is droldus.dat..
    Thank you very much!!!

    I have to install companion cd only for testing oracle text's themes on my computer..
    and nothing else...
    but which are applications that i have installed??
    html db??oracle workflow server??i can't understand!!!Are useful in my case, or i must install it?

  • How do I know what Oracle products I need installed for Oracle Text to work

    I get the following errors from a VB application when trying to access the Oracle Text procedures:
    Oracle Error: -20000
    ORA-20000: Oracle Text error:
    ORA-02074: cannot ROLLBACK in a distributed transaction
    ORA-06512: at "CTXSYS.CTX_DOC", line 483
    ORA-02074: cannot SET SAVEPOINT in a distributed transaction
    DRG-10816: display/highlight call failed
    ORA-02074: cannot SET SAVEPOINT in a distributed transaction
    I need to resolve this ASAP

    Oracle Text is part of the database. Try the quick start sample (http://otn.oracle.com/products/text/x/Samples/Quick_Start/index.html) and check if a sql-contains statement works.

  • Pre-built Thesaurus for Oracle Text

    Could anyone provide me direction on where to get Pre-built Thesaurus For Oracle Text that is specific to pharmaceutical science companies.
    any advice would be appreicated

    There are two ways you can use pre-built Thesaurus in Oracle.
    1) Just as an earlier reply you got, use the Thesaurus Management System (TMS) product that comes with a prebuilt Medra database for mdeical and other related text mining.
    2) Import and supplement your own medical thesaurus into the existing thesaurus that comes pre-loaded with the database using the provided APIs. As an example, you could download from the web the UMLS thesaurus content, convert the data into the API required format and load the UMLS data into the database. You can then cluster and classify documents/abstracts based on themes or subject matter.
    Regards.

  • Is possible to alter default collations for Oracle Text?

    Oracle supports custom linguistic sorts for sorting and matching.
    Is something similar availble for Oracle text?
    Specifiaccaly we want to alter base letter definitions and ignorable characters for a given language.

    Barbara, thank you for your reply.
    The purpose was to satisfy certain requirements of arabic text search. These seem to be fulfilled by WORLD LEXER, so the case is closed.
    Note that BASIC and AUTO LEXER implement differently the lexing of arabic text, with result not to be candidates for such a solution.
    By the way, I tried to use skipjoins for setting an ignorable character but it did not work (auto lexer).

  • MultiLanguage support for Oracle Text

    Hi,
    We are providing multi language support in our application. So, we are using the NVarchar datatype. And we want to provide the search option for that text. So if i tried to create an index on that column it is giving the error and unable to create the index on that column. Same if tried to create an index on Char and Varchar datatypes it was successfully created the index on those columns and search is working fine.
    But according to our requirements, we should provide the multi language support in our application.
    Please suggest me how to create indexes on NVarchar datatype and providing the oracle text search features on that datatype.
    Waiting for your favourble reply.
    Thanks in advance.
    Regards,
    Anil.

    No place in the standard docs very well. There was a note I found on it at one point, but I can't find the number at the moment. 10g new features for Text note has some info on it though. I'll look again tomorrow.
    I did a lot of research on the world_lexer a few months back (wrote some info on IR & Oracle Text our newest Oracle Press book), and got some good info from the product team. One of the chapters covering Text will be made available for free and there is a diagram in there of how the world_lexer processes text. I'll post the link to the forum when it is available.
    Since it doesn't require a language column, it attempts to auto-recognize the text...but not really the language. More like...the type of text it is. White-space delimited languages like English or Spanish are easy to break into tokens. Japanese & Korean are another story...no white-space delimiter. Arabic is yet another story. Those are essentially the buckets that text is thrown into for breaking into tokens when using the world_lexer.
    So, where does German fall? It will be broken up similar to English. But what about the special features (like alternate spelling) that are available? Nope - sorry. It doesn't know German from French. With the multi_lexer you defined sub-lexers and told Text which records were German or French. This means that you can use more of the lang features with it. The world_lexer is much easier to implement and maintain, but it is a trade-off.
    Hope that defines it a little better.

  • 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

  • About index memory parameter for Oracle text indexes

    Hi Experts,
    I am on Oracle 11.2.0.3 on Linux and have implemented Oracle Text. I am not an expert in this subject and need help about one issue. I created Oracle Text indexes with default setting. However in an oracle white paper I read that the default setting may not be right. Here is the excerpt from the white paper by Roger Ford:
    URL:http://www.oracle.com/technetwork/database/enterprise-edition/index-maintenance-089308.html
    "(Part of this white paper below....)
    Index Memory                                    As mentioned above, cached $I entries are flushed to disk each time the indexing memory is exhausted. The default index memory at installation is a mere 12MB, which is very low. Users can specify up to 50MB at index creation time, but this is still pretty low.                                   
    This would be done by a CREATE INDEX statement something like:
    CREATE INDEX myindex ON mytable(mycol) INDEXTYPE IS ctxsys.context PARAMETERS ('index memory 50M'); 
    Allow index memory settings above 50MB, the CTXSYS user must first increase the value of the MAX_INDEX_MEMORY parameter, like this:                                
    begin ctx_adm.set_parameter('max_index_memory', '500M'); end; 
    The setting for index memory should never be so high as to cause paging, as this will have a serious effect on indexing speed. On smaller dedicated systems, it is sometimes advantageous to temporarily decrease the amount of memory consumed by the Oracle SGA (for example by decreasing DB_CACHE_SIZE and/or SHARED_POOL_SIZE) during the index creation process. Once the index has been created, the SGA size can be increased again to improve query performance.&quot;
    (End here from the white paper excerpt)
    My question is:
    1) To apply this procedure (ctx_adm.set_parameter) required me to login as CTXSYS user. Is that right? or can it be avoided and be done from the application schema? This user CTXSYS is locked by default and I had to unlock it. Is that ok to do in production?
    2) What is the value that I should use for the max_index_memory should it be 500 mb - my SGA is 2 GB in Dev/ QA and 3GB in production. Also in the index creation what is the value I should set for index memory parameter  - I had left that at default but how should I change now? Should it be 50MB as shown in example above?
    3) The white paper also refer to rebuilding an index at some interval like once in a month:   ALTER INDEX DR$index_name$X REBUILD ONLINE;
    --Is this correct advice? i would like to ask the experts once before doing that.  We are on Oracle 11g and the white paper was written in 2003.
    Basically while I read the paper, I am still not very clear on several aspects and need help to understand this.
    Thanks,
    OrauserN

    Perhaps it's time I updated that paper
    1.  To change max_index_memory you must be a DBA user OR ctxsys. As you say, the ctxsys account is locked by default. It's usually easiest to log in as a DBA and run something like
    exec ctxsys.ctx_adm.set_parameter('MAX_INDEX_MEMORY', '10G')
    2.  Index memory is allocated from PGA memory, not SGA memory. So the size of SGA is not relevant. If you use too high a setting your index build may fail with an error saying you have exceeded PGA_AGGREGATE_LIMIT.  Of course, you can increase that parameter if necessary. Also be aware that when indexing in parallel, each parallel process will allocated up to the index memory setting.
    What should it be set to?  It's really a "safety" setting to prevent users grabbing too much machine memory when creating indexes. If you don't have ad-hoc users, then just set it as high as you need. In 10.1 it was limited to just under 500M, in 10.2 you can set it to any value.
    The actual amount of memory used is not governed by this parameter, but by the MEMORY setting in the parameters clause of the CREATE INDEX statement. eg:
    create index fooindex on foo(bar) indextype is ctxsys.context parameters ('memory 1G')
    What's a good number to use for memory?  Somewhere in the region of 100M to 200M is usually good.
    3.  No - that's out of date.  To optimize your index use CTX_DDL.OPTIMIZE_INDEX.  You can do that in FULL mode daily or weekly, and REBUILD mode perhaps once a month.

  • CS5 - Text format for classic text error

    will now have to re-edit every part.
    Clearly you can get around this by other formats but fact is if you have a document that has negative spacing dont open it in CS5 cause you
    This may have been in recent update.
    Flash now resets them when you open the file to 0, if you notice or not.
    when you have negative (-20) set in spacing, usually used when you have margins.
    Classic Text Error
    Flash CS5

    Here's a workaround.
    FixTextIndent is a class with static methods that
    provides a workaround for the Flash CS5 text formatting
    bug.  The Flash CS5 IDE will not remember the text
    indent setting for either static or dynamic text fields.
    We can set the indent in Actionscript for dynamic fields,
    so to use this class, convert your fields to dynamic,
    then set the left margin.
    When you call FixTextIndent methods, they will set
    the indent to the negative of the left margin.
    Gary Weinfurther, 12/17/2010
    package com.keysoft.util
        import flash.display.DisplayObject;
        import flash.display.DisplayObjectContainer;
        import flash.text.TextField;
        import flash.text.TextFormat;
        public class FixTextIndent
             Fixes the line indent of all dynamic text fields
             in a given display object container so that
             the indent is the negative of their left margin.
            public static function FixContainer(container:DisplayObjectContainer):void
                for(var i:int = container.numChildren - 1; i >= 0; --i)
                    var obj:DisplayObject = container.getChildAt(i);
                    if (obj is TextField)
                        FixTextField(obj as TextField);
             Fixes the line indent of a dynamic text field
             to the negative of its left margin
            public static function FixTextField(tf:TextField):void
                var format:TextFormat = tf.getTextFormat();
                if (format.leftMargin != null && format.leftMargin > 0)
                    format.indent = -(format.leftMargin as Number);
                    tf.setTextFormat(format);

Maybe you are looking for

  • Is there a way to create a recurring revenue/billing event in Projects (r12)?

    Is there any way to create a revenue/billing event in Projects that can be scheduled (billed monthly until a specified end date) other than a customization?

  • JSFF design view not showing

    In the design view of a jsff file, only the structure of the af components is shown. Any advice? (seems this forum does support images ...) Edited by: Leon Zeng on May 3, 2013 10:39 AM

  • Move order pick slip report in Oracle Application 11i

    hello I have problem with Move Order Pick Slip Report in Oracle Application 11i that in my system it is not running. when I submit this report from my system, the application halt and I have to restart application on my system. on other computer it i

  • Chinese characters shown not properly

    It was noted that some software couldn't show Chinese characters properly after upgrading to Lion. These characters were supposed to be shown in the same level, but they didn't. Even after upgrading to Mountain Lion, this problem remains. For example

  • EarlyWatch configuration

    Hi there, I'm trying to integrate EarlyWatch on my BW from solution manager but when I try to make the connection in the SMSY it says: Error in system PBW (see long text for details) Message no. SOLAR_EN158 Diagnosis When using RFC destination SM_PBW