DRG-10758/FILE_ACCESS_ROLE question

I set the file access role as follows
begin
ctx_adm.set_parameter('FILE_ACCESS_ROLE','WHITEHAT');
end;
The role is granted to the index owner.
I get the following error when I try to create the index.
CREATE INDEX filey_imt_idx on filey(filename) indextype is ctxsys.context
parameters ('datastore filey_datastore')
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: interMedia Text error:
DRG-10758: index owner does not have the privilege to use this preference
ORA-06512: at "CTXSYS.DRUE", line 126
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 78
ORA-06512: at line 1
The interesting thing is the explanation for DRG-10758
Cause: index owner does not have the role defined in FILE_DATASTORE_ROLE
FILE_DATASTORE_ROLE is not a valid parameter.
The index creation works when FILE_ACCESS_ROLE is not set.
any ideas?

Hi,
for executing that statement you need to be SYS. So connect as SYS. If you don't know how, then you need to contact your DBA.
If you can access the server and under user oracle, then also
sqlplus / as sysdbacan work. Otherwise you need the password for SYS.
Herald ten Dam
http://htendam.wordpress.com

Similar Messages

  • Autoconfig Error- jtfictx.sh (INSTE8_PRF 1) ORA-29874: warning in the execution of ODCIINDEXALTER routine

    Gurus,
    EBS : R12.1.2 (OS Linux)
    Database: 11.2.0.3 (OS HP UX Itanium)
    I am getting error in autoconfig with jtfictx.sh.  I am cloning PROD to QA. Usually I use RMAN duplicate to clone the database and then Application file system are copied. I have performed this method for many times( say 25 times).
    This iteration after the database recovery, I ran the RDBMS autoconfig which completed successfully. Then I ran the autoconfig on the concurrent manager server  first and received the below error. There are no change of steps from my usual.
    Executing script in InstantiateFile:
    /ebs02/oracle/inst/apps/SID_servername/admin/install/jtfictx.sh
    script returned:
    jtfictx.sh started at Sun Sep  8 01:04:11 CDT 2013
    SQL*Plus: Release 10.1.0.5.0 - Production on Sun Sep 8 01:04:11 2013
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Enter value for 1: Enter value for 2: Enter value for 3: Connected.
    DECLARE
    ERROR at line 1:
    ORA-29874: warning in the execution of ODCIINDEXALTER routine
    ORA-29960: line 1,
    DRG-10595: ALTER INDEX JTF_AMV_ITEMS_URL_CTX failed
    DRG-11422: linguistic initialization failed
    DRG-11446: supplied knowledge base file
    /u01/oracle/orahome/11.2.0/ctx/data/enlx/droldUS.dat not installed
    ORA-06512: at "SYS.DBMS_SQL", line 1199
    ORA-06512: at line 96
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    jtfictx.sh exiting with status 1
    ERRORCODE = 1 ERRORCODE_END
    .end std out.
    .end err out.
    I usually backup the autoconfig/ context file before the refresh of EBS files from PROD. The previous refresh was performed 2 months ago and it was successful. There is no changes on database ORACLE_HOME as depicted in the error.
    I see that someone have had asked similar error in forums and Hussein did recommend some Metalink Note. I did refer that but so far no success. Please do let me know if anyone faced similar issue and how did you solve it?
    Notes Referred:
    "Jtfictx.sh" Failed During Autoconfig On Application Tier, ORA-29874, DRG-10595 (Doc ID 1271186.1)
    Autoconfig Failed On Apps Tier "jtfictx.sh INSTE8_PRF" . Running manually "jtfictx.sh " Failed on "DRG-10758: index owner does not have the privilege" (Doc ID 1357760.1)
    Several Scripts Failing With A ORA-29855 Executing ODCIINDEXCREATE Routine During Upgrade To 12.1.1 (u6678700.drv) (Doc ID 1286033.1)
    11i : Autoconfig Fails On The Application Tier in running jtfictx.sh (Doc ID 396174.1)
    Thanks
    Cherrish Vaidiyan

    Yes I did and below are the DB components from dba_registry:
    Oracle Application Express    APEX_030200    3.2.1.00.12    VALID
    OLAP Catalog    OLAPSYS    11.2.0.3.0    VALID
    Oracle Data Mining    DMSYS    11.2.0.3.0    VALID
    Oracle XML Database    XDB    11.2.0.3.0    VALID
    Oracle Text    CTXSYS    11.2.0.3.0    VALID
    Spatial    MDSYS    11.2.0.3.0    VALID
    Oracle Multimedia    ORDSYS    11.2.0.3.0    VALID
    Oracle Database Catalog Views    SYS    11.2.0.3.0    VALID
    Oracle Database Packages and Types    SYS    11.2.0.3.0    VALID
    JServer JAVA Virtual Machine    SYS    11.2.0.3.0    VALID
    Oracle Database Java Packages    SYS    11.2.0.3.0    VALID
    Oracle XDK    SYS    11.2.0.3.0    VALID
    Oracle Real Application Clusters    SYS    11.2.0.3.0    INVALID
    OLAP Analytic Workspace    SYS    11.2.0.3.0    VALID
    Oracle OLAP API    SYS    11.2.0.3.0    VALID
    Only component invalid is RAC and I dont have RAC for this database.
    Thanks
    Cherrish Vaidiyan

  • Can OATM Lexer error be fixed in place or do I need to start over?

    Hi,
    I am doing some trial runs of OATM. I had registered CTXSYS to include it in the OATM migration and I was aware that I might hit some issues because I couldn't locate the drkorean.sql script and wanted to still keep moving. Sure enough, I am 99% complete but have these errors in the logs for several schemas.
    DRG-11422: linguistic initialization failed
    DRG-11446: supplied knowledge base file /sechi/oracle/product/112/ctx/data/enlx/droldUS.dat not installed
    DRG-10595: ALTER INDEX CS_INCIDENTS_ALL_TL_N1 failed
    DRG-50857: oracle error in drixmd.PurgeKGL
    ORA-20000: Oracle Text error:
    DRG-13201: KOREAN_LEXER is desupported
    ORA-30576: ConText Option dictionary loading error
    DRG-50610: internal error: kglpurge
    My longterm (real) fix will be to run drkorean.sql BEFORE the migration so as to not hit these errors in the first place.
    However, once I locate this script and run it, could I just restart OATM migration for those schemas in which I got this
    errror? Can i (I should I) bounce the DB inbetween?
    If not, I will just restore the whole DB from backup and restart, pretending it never happened. I just want to know if
    in-place fixes can be done in case I were to encounter some issue when going live during the live run.
    Thanks, Marv

    Thanks all.
    I bounced the DB again. Got the same issue. Despite the "error log report" not having every single schema at 100%, using other queries I could not find any object that had not been migrated, and the audit report said SUCCESS everywhere.
    A friend a colleague had a script to generate some manual migration commands and it came up with these...24 of them
    ALTER INDEX "HR"."IRC_DOCUMENTS_CTX" REBUILD parameters ('replace storage APPS.TXN_IND_STORAGE_PREF') ;
    ALTER INDEX "HR"."IRC_DOCUMENTS_CTX1" REBUILD parameters ('replace storage APPS.TXN_IND_STORAGE_PREF') ;
    .. another 22 commands
    and I ran them and they all worked, except for this one:
    ALTER INDEX "JTF"."JTF_AMV_ITEMS_URL_CTX" REBUILD parameters ('replace storage APPS.TXN_IND_STORAGE_PREF')
    ERROR at line 1:
    ORA-29874: warning in the execution of ODCIINDEXALTER routine
    ORA-29960: line 1,
    DRG-10595: ALTER INDEX JTF_AMV_ITEMS_URL_CTX failed
    DRG-10758: index owner does not have the privilege to use file or URL datastore
    But this error I saw before in another metalink note as ignorable so I am ignoring it and continuing..
    may not even have needed to do the above commands since everything was listed as having migrated, but all but 1 worked so continued (this is a PRE-CRP) so going to keep going...
    now doing the steps like resizing the old tablespace and dropping empty files... will see if the system
    At this point I'm just interested to see if the system will come up...

  • Autoconfig issue after upgrading 12.1.1 to 12.1.3

    Hi all,
    I am getting below mention autoconfig issue after upgrading 12.1.1 to 12.1.3.
    jtfictx.sh started at Mon Mar 28 08:28:50 EDT 2011
    SQL*Plus: Release 10.1.0.5.0 - Production on Mon Mar 28 08:28:50 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter value for 1: Enter value for 2: Enter value for 3: Connected.
    DECLARE
    ERROR at line 1:
    ORA-29858: error occurred in the execution of ODCIINDEXALTER routine
    ORA-20000: Oracle Text error:
    DRG-10561: index JTF_AMV_ITEMS_URL_CTX is not valid for requested operation
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 665
    ORA-06512: at "SYS.DBMS_SQL", line 1199
    ORA-06512: at line 96
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Product
    ion
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    jtfictx.sh exiting with status 1
    ERRORCODE = 1 ERRORCODE_END
    .end std out.
    .end err out.
    i got below mention some solution from metalink, but that does not working.
    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=743720.1
    according to note we need to create index but its giveing below metion error.
    SQL> @jtfiaibu.sql jtf jtf apps
    Connected.
    DECLARE
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-10758: index owner does not have the privilege to use file or URL datastore
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366
    ORA-06512: at "SYS.DBMS_SQL", line 1199
    ORA-06512: at line 37
    Thanks in advance,
    Sandeep.

    Hi,
    DRG-10561: index JTF_AMV_ITEMS_URL_CTX is not valid for requested operationPlease make sure you have no invalid objects. And also please see of these helps. I know these are for older version, but please check
    Script jtfictx.sh Failed While Attempting To Run The Autoconfig On APPS Tier [ID 1271186.1]
    Autoconfig Returns ORA-29868 from jtfictx.sh [ID 386740.1]
    By the way did u iinstall companion/examples CD after installing OracleSoftware
    Thanks,
    Taher

  • Supplied Knowledge Base Question DRG-11446

    I am receiving message " DRG-11446 supplied knowledge base file c:\oracle\product\10.1.0\db_1\ctx_data\enlx\drolkUS.dat not installed "
    when creating/syncing an index.
    The language files are definitely installed, and in the correct directory.
    Our lexer is set to INDEX_THEMES=YES for this particular index. Creating a test index with INDEX_THEMES=NO works fine.
    Does anyone have any idea why this message might appear, when the files, in fact, are there?
    Thanks.

    Hi Roger,
    Nice to hear from you. Hope things are going well.
    This has actually been running well for some time now. The language files were installed a year or two ago and we've been using the index to create themes and summaries. This is just one of five databases (all ghosted images) and the only one that is having this problem.
    I'm going to try to "re-install" the files from the Companion CD tomorrow morning but before I did that, I was casting about to see if there were any other reason (parameter, system setting, whatever) that might possibly cause a problem like this.
    Thanks.

  • Technical note:  Troubleshooting DRG-11207 errors / INSO filters.

    All,
    The following is Metalink's Note 210319.1about troubleshooting DRG-11207 errors.
    If the content is of no help, I suggest contacting Oracle support.
    -Omar
    Subject: Troubleshooting DRG-11207 errors
    INTRODUCTION
    =============
    Most of the errors encountered during creation of Oracle Text indexes are likely
    to be caused when dealing with formatted documents. These errors are logged in the
    view CTX_USER_INDEX_ERRORS and can be queried from the schema where the create index
    statement was executed, or table CTX_INDEX_ERRORS queried from the CTXSYS user.
    One of the errors commonly reported in these views is the DRG-11207 error.
    Unfortunately, this error is often not useful in diagnosing indexing issues.
    The INSO_FILTER issues are difficult to diagnose because Oracle uses a third-party
    application for filtering. As a result, it is often difficult to identify the real
    source of the problem.
    This document will troubleshoot the INSO_FILTER errors associated with
    the
    DRG-11207 "exited with status X"
    message. In regards to the INSO_FILTER, the error code implies that it is unable to
    index a formatted document. It is important to mention that these errors can be operating
    system specific and therefore this note is intended to provide some hints as a starting
    point for analysis. Its possible that other cases may be reported and if this is the
    case be sure to log the error with Oracle Support. Examples of the most common document
    types are provided in this article (Adobe PDF, Micrsoft Word and Microsoft Excel).
    For Oracle 10i, meaningful error messages have been added for drg-11207.
    This has been documented in [BUG:2473885]
    COMMON ERRORS
    ==============
    DRG-11207: user filter command exited with status 1
    Status 1 means "Could not filter the document". It is a generic error and indicates that
    INSO_FILTER failed on a given document. This can happen due to many documented reasons: an
    invalid environmental setting; document is corrupted, encrypted, password protected;
    document version not supported(incompatibility) or due to a bug in INSO_FILTER.
    DRG-11207: user filter command exited with status 2
    Status 2 means "The INSO_FILTER has timed-out". The default value of the timeout value
    for the INSO_FILTER is 120 (seconds). The default value for the timeout_type is
    heuristic, which implies that if the timeout value is reached and the INSO_FILTER
    has not started to write output, the indexing operation terminates for the document
    row and Oracle moves to the next document row to be indexed. Beginning in 9.2.0.1
    it is possible to change the timeout_type variable to fixed, which allows a
    user to terminate filtering processing after the TIMEOUT seconds regardless of
    whether filtering is progressing normally or hanging. The default timeout value
    is generally enough for filtering most of the documents. If the timeout value is
    not large enough then it may timeout even before filtering completes. PDF and
    Microsoft Excel files are usually more prone to this timeout as the INSO_FILTER
    generally takes more time to process these types of files. If this is the
    case then you can create a preference with a larger timeout value in versions
    8.1.7.1b and above. It should be noted, however, that the timeout attribute cannot be
    changed dynamically. In order for the new timeout value to take effect, it
    would be necessary to re-create the index with the new timeout attribute
    setting.
    For example, in 9.2.x to alter the timeout to 600 seconds(10 minutes) and use
    the fixed timeout_type:
    begin
    ctx_ddl.create_preference('my_inso', 'INSO_FILTER');
    ctx_ddl.set_attribute('my_inso', 'timeout', '600');
    ctx_ddl.set_attribute('my_inso', 'timeout_type', 'FIXED');
    end;
    Documented reasons for timing out are:
    1. the document is too large to be indexed in the alloted time set via TIMEOUT
    attribute.
    2. INSO_FILTER is hanging during the filtering.
    DRG-11207: user filter command exited with status 127
    Status 127 points to that likely an environmental issue with the shared library
    environmental variable.
    DRG-11207: user filter command exited with status 137
    Status 137 meand that the ctxhx executable was killed as the inso filter is not
    set-up properly. Confirm that the correct environmental variables are
    setup(LD_LIBRARY_PATH AND PATH) and the format of the document is
    supported by INSO_FILTER.
    ENVIRONMENTAL SETTINGS
    ======================
    Please note that any DRG-11207 error may be caused by the setting of the
    environmental variables. Be sure that the PATH and shared library path
    which is LD_LIBRARY_PATH (SHLIB_PATH for HP-UX and LIBPATH for AIX) are
    correct, since it is this setting which actually invokes the INSO_FILTER.
    Note : it is also possible to define the environment variable
    LD_LIBRARY_PATH in the listener.ora entry for extproc. This would be
    included in the ENVS section of the origin database LISTENER.ORA:
    ENVS = 'LD_LIBRARY_PATH=<full_pathname_of_oracle_home>/ctx/lib:$ORACLE_HOME/lib'
    LD_LIBRARY_PATH should include
    <full_pathname_of_oracle_home>/ctx/lib:<full_pathname_of_oracle_home>/lib
    For example:
    export LD_LIBRARY_PATH=<full_pathname_of_oracle_home>/ctx/lib:$LD_LIBRARY_PATH
    PATH should include
    <full_pathname_of_oracle_home>/ctx/bin:<full_pathname_of_oracle_home>/bin
    [NOTE:133691.1] and [NOTE:135333.1] provides possible steps to get around this error.
    SUPPORTED DOCUMENT ATTRIBUTE CHECKLIST
    ======================================
    1. Determine if the filtered document is supported
    A list of supported formats is provided in the InterMedia Text documentation
    pages. Please check whether the format falls in the list of supported formats.
    It is important to note that each Oracle version may support different
    versions of documents.
    For PDF Acrobat (full version), click on File->Document_Info->General and
    you should see the PDF version.
    For Microsoft Word and Excel, click on File->Save As and review the
    "Save as type" to determine the version.
    2. Determine if the document is corrupted
    To verify if a document is corrupted, open the document and view it line
    by line checking for corrupted output. Please note, just holding down the
    "Page Down" button to view all the pages, it's possible that potential
    corruption on a particular page will go unnoticed.
    3. Determine if the document is a secure or copy protected document
    Password protected documents and documents with password protected contents
    are not supported by the INSO_FILTER.
    For PDF Acrobat (full version), click under file->document_info->security.
    If the open password or security password is set to true then it's password
    protected.
    For Microsoft Word, click under Tools->Options->Save. If the
    "Password to open" or "Password to modify" appears as asterisks (*****),
    then the document is secured.
    For Microsoft Excel, click under File->Save As->Tools->General options.
    If the "Password to open" or "Password to modify" appears as
    asterisks (*****), then the document is secured.
    4. Determine if the document is a encrypted
    INSO_FILTER does not currently support encrypted documents.
    For PDF Acrobat (full version), click under file->document_info->security.
    If security method is none, the document is not encrypted. In other cases,
    it is encrypted.
    For Microsoft Word, it is not possible to encrypt this type of document
    directly.
    For Microsoft Excel, if the document is workbook protected then this
    implies that the document is encrypted. To determine this click under
    tools->protection and if the Unprotect Workbook or Unprotect
    Sheet is shown, this implies that the workbook/worksheet is encrypted.
    5. Determine if the document has custom embedded fonts
    Stellent filters will succeed on the majority of PDF documents containing
    custom fonts. Until now, there have only been a few documented cases of
    custom embedded fonts causing filtering problems with PDF documents. If
    there is a filtering problem with custom fonts, it will only result in
    garbage tokens being produced as a result of the custom font, whereas the
    remainder of the PDF document using the standard/built-in font will be
    filtered properly.
    To determine if custom embedded fonts are used for PDF Acrobat (full version),
    click under file->document_info->fonts and review the encoding type.
    The best way to identify whether a particular custom font will filter successfully
    is to highlight the character, copy and paste into Notepad. If the output
    contains garbage text then it is not likely to be filtered properly.
    For Microsoft Word and Excel, regardless of what font is being used, the
    INSO_FILTER should be able to extract the characters.
    References
    Oracle Text Reference Releases 9.1 and 9.2
    [BUG:2473885] BETTER ERROR MESSAGES FOR WHEN CREATING INTERMEDIA INDEX
    USING INSO FILTER
    [NOTE:133691.1] Create context index fails with DRG-11207 or fatal:libsc_fa.so
    [NOTE:135333.1] CTX_DDL.SYNC_INDEX With DBMS_JOB Fails (DRG-11207) Using
    INSO Filter in V817
    [BUG:1795642] INTERMEDIA TEXT INDEX OF A CERTAIN EXCEL97 FILE IS NOT
    CREATED IN WEBDB SITE

    Gary,
    This is two questions:
    1. The INSO filter on 8.1.7 when converting MS Word or WordPrefect Docs to HTML would give you <I> and <B> used in
    the word processor. The 9.2.0.1 version is not converting <I> or <B> in the HTML. Is there any documentation
    from the Company on using the ctxhx and template files? If <I> and <B> tags are missing in 9.2.0.1 then it is a bug in the INSO code.
    2. I have received an error in the CTX_USER_INDEX_ERRORS from one of the docs store in a BLOB here is the error.
    DRG-11207: user filter command exited with status 1.
    Is there a way to debug the ctxhx or INSO load libraries? I know what a 137 error is (NO LD_LIBRARY_PATH for ctx/lib)
    but what a 1. Where is the FL_CMD_EXIT_ERR info? Status 1 is a generic error and you can't debug it. Could you please post your email address? I would like to contact you for a test case.
    Thanks.

  • Error - DRG-51030: wildcard query expansion resulted in too many terms

    Hi All,
    My searches against a 100 million company names table on org names often result in the following error:
    DRG-51030: wildcard query expansion resulted in too many terms
    A sample query would be:
    select v.* --xref.external_ref_party_id,v.*
    from xxx_org_search_x_v vwhere 1 =1
    and state_province = 'PA'
    and country = 'US'
    and city = 'BRYN MAWR'
    and catsearch(org_name,'BRYN MAWR AUTO*','CITY=''BRYN MAWR''' ) > 0
    I understand that is caused by the presence of the word Auto to which we append a * . (If i remove the auto the search works fine).
    My question is - is there a way to limit the query expansion to only , say 100, results that get returned from the index?

    Thanks for the reply. This is how the preferences are set:
    exec ctx_ddl.create_preference('STEM_FUZZY_PREF', 'BASIC_WORDLIST');
    exec ctx_ddl.set_attribute('STEM_FUZZY_PREF','FUZZY_MATCH','AUTO');
    exec ctx_ddl.set_attribute('STEM_FUZZY_PREF','FUZZY_SCORE','60');
    exec ctx_ddl.set_attribute('STEM_FUZZY_PREF','FUZZY_NUMRESULTS','100');
    exec ctx_ddl.set_attribute('STEM_FUZZY_PREF','STEMMER','AUTO');
    exec ctx_ddl.set_attribute('STEM_FUZZY_PREF', 'wildcard_maxterms',15000) ;
    exec ctx_ddl.create_preference('LEXTER_PREF', 'BASIC_LEXER');
    exec ctx_ddl.set_attribute('LEXTER_PREF','index_stems', 'ENGLISH');
    exec ctx_ddl.set_attribute('LEXTER_PREF','skipjoins',',''."+-/&');
    exec ctx_ddl.create_preference('xxx_EXT_REF_SEARCH_CTX_PREF', 'BASIC_STORAGE');
    exec ctx_ddl.set_attribute('xxx_EXT_REF_SEARCH_CTX_PREF', 'I_TABLE_CLAUSE','tablespace ICV_TS_CTX_IDX');
    exec ctx_ddl.set_attribute('xxx_EXT_REF_SEARCH_CTX_PREF', 'K_TABLE_CLAUSE','tablespace ICV_TS_CTX_IDX');
    exec ctx_ddl.set_attribute('xxx_EXT_REF_SEARCH_CTX_PREF', 'N_TABLE_CLAUSE','tablespace ICV_TS_CTX_IDX');
    exec ctx_ddl.set_attribute('xxx_EXT_REF_SEARCH_CTX_PREF', 'I_INDEX_CLAUSE','tablespace ICV_TS_CTX_IDX Compress 2');
    exec ctx_ddl.set_attribute('xxx_EXT_REF_SEARCH_CTX_PREF', 'P_TABLE_CLAUSE','tablespace ICV_TS_CTX_IDX ');
    exec ctx_ddl.set_attribute('xxx_EXT_REF_SEARCH_CTX_PREF', 'I_ROWID_INDEX_CLAUSE','tablespace ICV_TS_CTX_IDX ');
    exec ctx_ddl.set_attribute('xxx_EXT_REF_SEARCH_CTX_PREF', 'R_TABLE_CLAUSE','tablespace ICV_TS_CTX_IDX LOB(DATA) STORE AS (CACHE) ');
    exec ctx_ddl.create_index_set('xxx_m_iset');
    exec ctx_ddl.add_index('xxx_m_iset','city, country');
    exec ctx_ddl.add_index('xxx_m_iset','postal_code, country');
    Users will always use city or postal code when searching for a name. When I run this query -
    SELECT dr$token
    FROM DR$XXX_EXT_REF_SEARCH_CTX_I1$I
    where dr$token like 'AUTO%'
    ORDER BY dr$token desc
    i get more than 1M rows.
    is there a way to include and search for the city name along with the org name?
    Thanks again..

  • DRG-50920 part of phrase not itself a phrase or equivalence in phrase query

    Hello everyone on this forum.
    How can I do grouping of Booleans in a phrase query ?
    Specifically, I need to use a query such as the following one (fictitious example):
    CONTAINS( my_indexed_column
            , ' aaaa ( (bbb1 bbb2) OR (bbb3 bbb4 bbb5) ) cccc ( (ddd1 ddd2) OR (ddd3) ) eeee '
            , 1
            ) > 0 Unfortunately I found that executing such a query, causes the following error:
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-20000: Oracle Text error:
    DRG-50900: text query parser error on line 1, column 43
    DRG-50920: part of phrase not itself a phrase or equivalence
    I am using Oracle Text version 10.2.0.2.0
    It looks like Oracle Text parser, in phrase queries, only allows grouping if it is/evaluates to a simple sequence of terms,
    Unfortunately the EQUIV and SYN operators don't solve my problem, because:
    1) The EQUIV operator only works on a term-by-term basis ;
    Using
    (bbb1 bbb2) EQUIV (bbb3 bbb4 bbb5) causes error
    DRG-50921: EQUIV operand not a word or another EQUIV expression
    2) The SYN operator can deal with compound terms/phrases, but Oracle Text parser will choke on a phrase query ;
    Assuming I created a CTX_THES thesaurus , that has the SYN relation: bbb1 bbb2 ==> bbb3 bbb4 bbb5
    Using
            ' aaaa '
         || ' (' || CTX_THES.SYN('bbb1 bbb2','my_thesaurus') || ') '
         || ' cccc '
        causes error
    DRG-50920: part of phrase not itself a phrase or equivalence
    So, short of expanding all the boolean operations in my query to their logical equivalents, I have not figured a solution for my problem.
    For my fictitious example, that would mean something like:
    CONTAINS( my_indexed_column   
               ( aaaa (bbb1 bbb2)      cccc (ddd1 ddd2) eeee )
              OR
               ( aaaa (bbb3 bbb4 bbb5) cccc (ddd1 ddd2) eeee )
              OR
               ( aaaa (bbb1 bbb2)      cccc (ddd3) eeee )
              OR
               ( aaaa (bbb3 bbb4 bbb5) cccc (ddd3) eeee )
            , 1
            ) > 0 which seems a complicated workaround.
    Does anybody have a better solution ?
    Thanks in advance.

    Dear Roger Ford
    Was afraid that might be precisely the answer to my question; Bad news :-( ...
    Thanks anyway for your quick answer.
    Best regards

  • How do i read a question in javacc and be able to identify key tokens

    hello everyone....
    I need help. I am still new with javacc, i am trying to generate a parser that will accept a question and be able to recognise the keywords and the askword from the question. e.g a question like "what is HIV" . it is suppose to get "what" as the askword and "HIV" as the key
    another example: "what are arv drug" "what" as the askword and "arv drug" as the key
    below is the code for what i have done so far.... thanx in advance
    Code:
    PARSER_BEGIN(SMS_QUERY)
    import java.io.StringReader;
    public class SMS_QUERY {
    public static void main(String args[]) throws ParseException{
    SMS_QUESTION q = new SMS_QUESTION(System.in);
    q.QUESTION();
    System.out.println(q);
    PARSER_END(SMS_QUERY)
    SKIP :
    | "\t"
    | "\n"
    | "\r"
    void SMS_QUESTION() : {}
    (NounPhrase())+ | AskWord() | AskWord() (NounPhrase())+ | <EOF>
    void AskWord() : {}
    Awhat()
    void Awhat() : {}
    "what" | "wht" | "wt" | "wyt" | "vat" | "wat"
    void NounPhrase() : {}
    key()
    void key() : {}
    q1key() | q2key() | q3key()
    void q1key() : {}
    "Arv" | "Arv Drugs" | "Arv drgs" | "Arv drgh"
    void q2key() : {}
    "HIV" | "Hi virus"
    }

    This not a javacc forum. Locking.

  • DRG-11225: Third-party filter timed out

    Hello,
    I am facing the following problem when indexing a column:
    DRG-11207: user filter command exited with status 2
    DRG-11225: Third-party filter timed out.
    I am using Ubuntu 10.04.2 LTS and Oracle Database 11g Enterprise Edition Release 11.2.0.1.0
    I have a column named URL in a table named DOCUMENTO_CONSULTA
    This column contains file URLs (2 rows involved in the test)
    I am confident that the paths that appear in the two rows of the URL column are correct (because if I change
    them to something different another error appear that says, as expected, that files could not be found). I am sure
    that access to the files is granted. FILE_ACCESS_ROLE is set to CTXAPP and role is granted to the user. File
    and path permission are set to 777.
    The two rows contains paths to simple DOC and PDF content, with just one paragraph each.
    I am using the following configuration:
    ctx_ddl.create_preference ('ajn_doc_cons_datastore', 'URL_DATASTORE');
    ctx_ddl.set_attribute ('ajn_doc_cons_datastore', 'urlsize', 1024);
    ctx_ddl.create_preference ('ajn_doc_cons_filter', 'AUTO_FILTER');
    ctx_ddl.set_attribute ('ajn_doc_cons_filter', 'timeout', 0);
    ctx_ddl.create_preference ('ajn_spanish_lexer', 'BASIC_LEXER');
    ctx_ddl.set_attribute ('ajn_spanish_lexer', 'base_letter', 'YES');
    ctx_ddl.set_attribute ('ajn_spanish_lexer', 'index_themes', 'NO');
    ctx_ddl.set_attribute ('ajn_spanish_lexer', 'index_stems', 7);
    ctx_ddl.set_attribute ('ajn_spanish_lexer', 'index_text', 'YES');
    ctx_ddl.create_preference ('ajn_spanish_wordlist', 'BASIC_WORDLIST');
    ctx_ddl.set_attribute ('ajn_spanish_wordlist', 'stemmer', 'SPANISH');
    ctx_ddl.set_attribute ('ajn_spanish_wordlist', 'fuzzy_match', 'SPANISH');
    The sentence to create the index is:
    create index ajn_doc_cons_idx on documento_consulta(URL)
    indextype is ctxsys.context
    parameters ('LEXER ajn_spanish_lexer DATASTORE ajn_doc_cons_datastore FILTER ajn_doc_cons_filter WORDLIST ajn_spanish_wordlist ')
    I've tried changing URL_DATASTORE to FILE_DATASTORE (with no attributes) but the result is the same
    Here's the configuration I've set in /etv/environment:
    PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/mnt/oracle/app/oracle/product/11.2.0/dbhome_1/bin:/mnt/oracle/app/oracle/product/11.2.0/dbhome_1/ctx/bin"
    TMPDIR=/tmp
    ORACLE_HOSTNAME=--------- (my host name)
    ORACLE_BASE=/mnt/oracle/app/oracle
    ORACLE_HOME=/mnt/oracle/app/oracle/product/11.2.0/dbhome_1
    ORACLE_SID=orcl
    ORACLE_TERM=xterm
    LD_LIBRARY_PATH=/mnt/oracle/app/oracle/product/11.2.0/dbhome_1/ctx/lib:/mnt/oracle/app/oracle/product/11.2.0/dbhome_1/lib
    If I try to use ctxhx from the console everything works OK and twoHTML files corresponding to the two rows are generated with no errors at all.
    I haven't found any relevant information in forums and docs. I don't have any more ideas, so any answer would be appreciated.
    Thanks in advance
    Edited by: 988718 on 18-feb-2013 7:16

    Ubuntu is not a supported platform for Oracle, so it's hard to answer this.
    However, if you want to try to debug it, replace the "ctxhx" executable with a shell script which dumps its arguments and the current environment to a file.
    You can then use that output to create a shell with the same environment, and see if command line ctxhx still works. If not, you'll have to figure out what the differences are between the two environments.

  • DRG-51030: wildcard query expansion

    Hi,
    encountered an error when I ran this,
    SELECT /*+use_hash(t$oracle_text)*/
    count(documentid)
    FROM t$oracle_text
    WHERE CONTAINS (
    dummy,
    'near(((approv%=underwrit%=report%),(waive%=exception%=override%)),10)',
    1) > 0
    ERROR at line 1:
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    I have few question:
    1) what is this = sign in where clause.
    2)How to get rid of this error .
    3)is there any other alternative to run this without hitting wildcard query expansion limit.
    Thanks,

    Hello,
    There's a good discussion of that exception here -
    How to limit the number of search results returned by oracle text
    John
    http://jes.blogs.shellprompt.net
    http://apex-evangelists.com

  • DRG-50901  Error

    Hi All
    I am using interMedia in Oracle 9i (9.2). with oracle FORM 6i
    I have a PL/SQL procedure with a ref cursor, which perform a fairly simple select for searching text. I got perfect result when I run it as stand alone query outside of the procedure. But when I call it from the form it wok for some search words, but give me error (DRG-50901 :text query parser syntax error on line 1, column 1) when I use certain words (tax, personal, property, tif) what I am doing wrong? Thanks in advance for your help.
    PROCEDURE cs_refcur(cs_data IN OUT cs_cursor, cs_criteria IN dpt.CS_CONTACT.subject%TYPE)
    IS
    BEGIN
    OPEN cs_data FOR SELECT cs_contact_id, subject, SCORE(1)+SCORE(2)
    SCORE(3)SCORE(4)+SCORE(5)+SCORE(6) AS score
    FROM dpt.CS_CONTACT
    WHERE CONTAINS(subject, 'ABOUT({'||cs_criteria||'})', 1) > 0
    OR CONTAINS(contact_org, 'ABOUT({'||cs_criteria||'})', 2) > 0
    OR CONTAINS(question, 'ABOUT({'||cs_criteria||'})', 3) > 0
    OR CONTAINS(answer, 'ABOUT({'||cs_criteria||'})', 4) > 0
    OR CONTAINS(reference, 'ABOUT({'||cs_criteria||'})', 5) > 0
    OR CONTAINS(citation, 'ABOUT({'||cs_criteria||'})', 6) > 0
    ORDER BY (SCORE(1)+SCORE(2)+SCORE(3)+SCORE(4)+SCORE(5)
    +SCORE(6)) DESC, 2;
    END cs_refcur;
    Thanks
    Ali

    This forum is for interMedia, image audio and video. Please post your question in the Oracle Text forum.
    Thank you.

  • DRG-50857 and ORA-12838 error while INDEXTYPE IS CTXSYS.CONTEXT

    Hi Experts,
    I've been encountering an issue while creating INDEX.
    If I execute the below script from SQLDEVELOPER line by line, then the index gets created but the weirdest thing is, if I executed the same as one sql file from SQLPLUS or SQLDEVELOPER, I get the error shared below. As we need to deliver as one sql file to customer, how can we fix this issue?
    Below is the content of my sql file
    ALTER SESSION ENABLE PARALLEL DML;
    ALTER SESSION FORCE PARALLEL QUERY;
    CREATE INDEX APPS.TEST_N1 ON APPS.EMP_TABLE
        EMP_NAME
      INDEXTYPE IS CTXSYS.CONTEXT PARALLEL 32;
    ALTER INDEX APPS.TEST_N1 NOPARALLEL;
    COMMIT;
    Below is the error
    Session altered.
    Elapsed: 00:00:00.00
    Session altered.
    Elapsed: 00:00:00.00
    CREATE INDEX APPS.TEST_N1 ON APPS.EMP_TABLE
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-50857: oracle error in dripref.set_preferences
    ORA-12838: cannot read/modify an object after modifying it in parallel
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366
    Elapsed: 00:00:02.82
    Index altered.
    Elapsed: 00:00:00.01
    Commit complete.

    I get the same error in 11g, as shown below, but not in 12c, as shown below that.  So, it looks like there has been a change in the way that Oracle Text does things between versions.  When you create an Oracle Text Context index, it creates some domain index tables.  Apparently there is some change involved behind the scenes in the dripref.set_preferences procedure that perhaps does an append or some such thing.  If you post this question in the Text space/sub-forum, with a link to this thread, you may get a more detailed explanation and perhaps a workaround from Oracle Text product manager Roger Ford or others.  Or, perhaps some moderator will move this thread there.
    SCOTT@orcl> SELECT banner FROM v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0    Production
    TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    5 rows selected.
    SCOTT@orcl> CREATE TABLE emp_table AS SELECT ename emp_name FROM emp;
    Table created.
    SCOTT@orcl> ALTER SESSION ENABLE PARALLEL DML;
    Session altered.
    SCOTT@orcl> ALTER SESSION FORCE PARALLEL QUERY;
    Session altered.
    SCOTT@orcl> CREATE INDEX SCOTT.TEST_N1 ON SCOTT.EMP_TABLE
      2    (
      3       EMP_NAME
      4    )
      5    INDEXTYPE IS CTXSYS.CONTEXT PARALLEL 32;
    CREATE INDEX SCOTT.TEST_N1 ON SCOTT.EMP_TABLE
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-50857: oracle error in dripref.set_preferences
    ORA-12838: cannot read/modify an object after modifying it in parallel
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366
    SCOTT@orcl> ALTER INDEX SCOTT.TEST_N1 NOPARALLEL;
    Index altered.
    SCOTT@orcl> COMMIT;
    Commit complete.
    SCOTT@orcl12c> SELECT banner FROM v$version;
    BANNER
    Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
    PL/SQL Release 12.1.0.1.0 - Production
    CORE    12.1.0.1.0    Production
    TNS for 64-bit Windows: Version 12.1.0.1.0 - Production
    NLSRTL Version 12.1.0.1.0 - Production
    5 rows selected.
    SCOTT@orcl12c> CREATE TABLE emp_table AS SELECT ename emp_name FROM emp;
    Table created.
    SCOTT@orcl12c> ALTER SESSION ENABLE PARALLEL DML;
    Session altered.
    SCOTT@orcl12c> ALTER SESSION FORCE PARALLEL QUERY;
    Session altered.
    SCOTT@orcl12c> CREATE INDEX SCOTT.TEST_N1 ON SCOTT.EMP_TABLE
      2    (
      3       EMP_NAME
      4    )
      5    INDEXTYPE IS CTXSYS.CONTEXT PARALLEL 32;
    Index created.
    SCOTT@orcl12c> ALTER INDEX SCOTT.TEST_N1 NOPARALLEL;
    Index altered.
    SCOTT@orcl12c> COMMIT;
    Commit complete.

  • DRG-11513 with Oracle Intermedia Text on Oracle 8.1.7

    When I try to index a file on a network drive (z:\, for example), y get the error code DRG-11513 on table CTX_USER_INDEX_ERRORS.
    However, if the file beging indexed is on the local hardrive (c:\), it works fine.
    What can be the problem?
    Thanks,

    Please ask questions about Oracle Text (formerly intermedia text) in teh Oracle Text forum. You will get your question looked at by the experts in Oracle Text there.

  • Questions on Print Quote report

    Hi,
    I'm fairly new to Oracle Quoting and trying to get familiar with it. I have a few questions and would appreciate if anyone answers them
    1) We have a requirement to customize the Print Quote report. I searched these forums and found that this report can be defined either as a XML Publisher report or an Oracle Reports report depending on a profile option. Can you please let me know what the name of the profile option is?
    2) When I select the 'Print Quote' option from the Actions drop down in the quoting page and click Submit I get the report printed and see the following URL in my browser.
    http://<host>:<port>/dev60cgi/rwcgi60?PROJ03_APPS+report=/proj3/app/appltop/aso/11.5.0/reports/US/ASOPQTEL.rdf+DESTYPE=CACHE+P_TCK_ID=23731428+P_EXECUTABLE=N+P_SHOW_CHARGES=N+P_SHOW_CATG_TOT=N+P_SHOW_PRICE_ADJ=Y+P_SESSION_ID=c-RAuP8LOvdnv30grRzKqUQs:S+P_SHOW_HDR_ATTACH=N+P_SHOW_LINE_ATTACH=N+P_SHOW_HDR_SALESUPP=N+P_SHOW_LN_SALESUPP=N+TOLERANCE=0+DESFORMAT=RTF+DESNAME=Quote.rtf
    Does it mean that the profile in our case is set to call the rdf since it has reference to ASOPQTEL.rdf in the above url?
    3) When you click on submit button do we have something like this in the jsp code: On click call ASOPQTEL.rdf. Is the report called using a concurrent program? I want to know how the report is getting invoked?
    4) If we want to customize the jsp pages can you please let me know the steps involved in making the customizations and testing them.
    Thanks and Appreciate your patience
    -PC

    1) We have a requirement to customize the Print Quote report. I searched these forums and found that this report can be defined either as a XML Publisher report or an Oracle Reports report depending on a profile option. Can you please let me know what the name of the profile option is?
    I think I posted it in one of the threads2) When I select the 'Print Quote' option from the Actions drop down in the quoting page and click Submit I get the report printed and see the following URL in my browser.
    http://<host>:<port>/dev60cgi/rwcgi60?PROJ03_APPS+report=/proj3/app/appltop/aso/11.5.0/reports/US/ASOPQTEL.rdf+DESTYPE=CACHE+P_TCK_ID=23731428+P_EXECUTABLE=N+P_SHOW_CHARGES=N+P_SHOW_CATG_TOT=N+P_SHOW_PRICE_ADJ=Y+P_SESSION_ID=c-RAuP8LOvdnv30grRzKqUQs:S+P_SHOW_HDR_ATTACH=N+P_SHOW_LINE_ATTACH=N+P_SHOW_HDR_SALESUPP=N+P_SHOW_LN_SALESUPP=N+TOLERANCE=0+DESFORMAT=RTF+DESNAME=Quote.rtf
    Does it mean that the profile in our case is set to call the rdf since it has reference to ASOPQTEL.rdf in the above url?
    Yes, your understanding is correct.3) When you click on submit button do we have something like this in the jsp code: On click call ASOPQTEL.rdf. Is the report called using a concurrent program? I want to know how the report is getting invoked?
    No, there is no conc program getting called, you can directly call a report in a browser window, Oracle reports server will execute the report and send the HTTP response to the browser.4) If we want to customize the jsp pages can you please let me know the steps involved in making the customizations and testing them.
    This is detailed in many threads.Thanks
    Tapash

Maybe you are looking for

  • Issue while opening websites from module pool subscreen.

    I have three subscreens which do open while user clicks a radio button on the main screen . Now in two of the subscreens,there are two text fields which contain url of two websites . When i am setting a GUI status when sy-pfkey/sy-ucomm = 'PICK' , th

  • Connection Timed Out (Browsing only)

    Hello First of all I want to say Thanks BT for providing such amazing service since I switch from 02 2 years ago.  I currently got BT Infinity 2 unlimited download 76mb and it has been flawless! No problems whatsoever. I even had a mini LAN even duri

  • Logic crashes when using the "Close Project without Saving" key command

    The "Close Project without Saving" key command does not work in LP8. When I try to use it, Logic crashes. This is reproducible on my system. Can anyone try and confirm this?

  • Suspect.BUG in CW voice manager2.3 HELP,please!!!!!!!!

    hi... we are getting data for "dialCtlPeerCallInformation" and "dialCtlPeerCallSetup",only from one router among a group of routers...all the routers are added to the cvm in the similar fashion...from router model 3661 IOS (tm) 3600 Software (C3660-I

  • Re: UserName & Pass for Admin Cosole fails!!

    I have the same problem. Any suggestions? "Bill Traynor" <[email protected]> wrote: > Installation went OK, I can get all examples running. However, when I fire up the Default Admin Server Console and attempt to logon to it by typing username and pas