Sie sind auf Seite 1von 3

https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&d...

Common Issues with Oracle Text Search On The Content Server - OTS - OracleTextSearch [ID 1142762.1] Modified 06-AUG-2010 Type BULLETIN Status PUBLISHED

In this Document Purpose Scope and Application Common Issues with Oracle Text Search On The Content Server - OTS - OracleTextSearch Indexing aborted error Content Server Request Failed Error Rebuilding the index: Error when switching to the OracleText search component, then adding new content Using Collaboration Manager Security without Collab being installed. ACL Security issue Using "NOT CONTAINS" search option produces error

Applies to:
Oracle Universal Content Management - Version: 10.1.3.3.0 to 11.1.1.3.0 - Release: 10gR3 to Information in this document applies to any platform. Checked for currency on July 6th, 2010

Purpose
This document covers common issues that might come up when using Oracle Text Search on the Content Server.

Scope and Application


This document is meant for Content Server Admins who are having issues indexing documents using Oracle Text Search

Common Issues with Oracle Text Search On The Content Server - OTS - OracleTextSearch Indexing aborted error
Indexing aborted. Unable to delete collection directories. Cannot create table or index 'IdcText2' Number of SDATA section exceeds limit(32). [ Details ] :832) The OracleTextSearch component limits the Content Server to less than 32 indexed metadata fields. This is not a content server bug but rather a limitation with the Oracle Text Search database search function. Content Server Request Failed error After installing the OTS component and rebuilding the search index the following error shows up when searching for text:

Content Server Request Failed


Unable to retrieve search results. Error generated when executing query '((Search word))'. Procedure 'content_search.search_with_resultsetinterface' may not be defined. Unable to execute query 'CotsSearchQuery'. ORA-06550: line 1, column 7: PLS-00201: identifier 'CONTENT_SEARCH.SEARCH_WITH_RESULTSETINTERFACE' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored Two SQL scripts need to be run on the database before it is ready to do fulltext searching: contentserverrole contentprocedures See section 2.2.1 of the admin_oracletextsearch_10g guide for further information.

Error Rebuilding the index:


Unable to index documents. Unable to retrieve the columns for the database table 'IdcColl2'. ORA-00942: table or view does not exist Unable to retrieve the columns for the database table 'IdcColl2'. ORA-00942: table or view does not exist java.sql.SQLException: ORA-00942: table or view does not exist [ Details ] If the error contains IdcColl2 or IdcColl1 it means the Content Server is still referencing the DATABASE.FULLTEXT search engine and not OracleTextSearch engine. Remove or rename the <install dir>/search/activeindex.hda file, restart the content server and try again.

Error when switching to the OracleText search component, then adding new content
"Indexing aborted. csIndexerBuildIndexError java.lang.IndexOutOfBoundsException: Index: 0, Size: 0" Upgrade to version 10.2.0.4.0 of the driver. The 10.2.0.4.0 version of the driver can be downloaded via OTN. The OJDBC drivers are located on Oracles OTN site.

1 of 3

16/11/2010 17:32

https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&d...

The drivers are stored in the <install dir>/shared/classes directory The path to the drivers is set in the <install dir>/bin/intradoc.cfg file Download the driver Replace the current driver in the <install dir>/shared/classes directory with the new one. Restart the database Restart the Content Server Cannot extend DrillDownFields Adding DrillDownFields=... to $CS_HOME/config/config.cfg Restarting CS Fast rebuild of the index (via Administration -> Text Search Admin) Test

Using Collaboration Manager Security without Collab being installed.


Content Server Request Unable to retrieve search results. Error generated when executing query '(((({HR} WITHIN dSecurityGroup) or ({Public} WITHIN dSecurityGroup)) or (({Projects} Within dSecurityGroup)) and (((%&test(R%) WITHIN xClbraUserList) or ((%@XXXX(R%) WITHIN xClbraAliasList)))) and (({test} WITHIN dDocAccount) or ((XXXXX%) WITHIN dDEocAccount) or ((XXX%) WITHIN dDocAccount) or ((prj%) WITHIN dDocAccount)))'. Unable to execute query 'XXXXXXX'. ORA-20000: Oracle Text Error: DRG-50857: oracle error in ctx_query.result_set ORA-20000: Oracle Text Error: DRG-50901: text query parser syntax error on line 1, column 333 ORA-06512: at "CTXSYS.DRUE", line 160 ORA-06512: at "CTXSTS.CTX_QUERY". line 772 ORA-06512: at "UCMREP.CONTENT_SEARCH". line 116 ORA-06512: at line 1 Open the <install dir>/config/config.cfg file Under the "Additional Variables" section, add the following configuration entry: ZonedSecurityFields=xClbraUserList,xClbraAliasList Save the changes and close the file Restart the Content Server

ACL Security issue


When both ACL security and the OracleTextSearch component are enabled Content server , non-admin users receive blank result. Plus the ACL security does not work properly. 1. Install OracleTextSearch 2009_04_28 (build 30) 2. Use the following settings for ACL UseCollaboration=true // to enable ACL SpecialAuthGroups=Public // ACL is enabled in Publc ZonedSecurityFields=xClbraUserList,xClbraAliasList AllowQuerySafeUserColumns=true SafeUserColumns=dName,dFullName,dUser 3. Restart the Content Server 4. Rebuild the Search collection using the Repository Manager/Indexer tab and the Start in the Collection Rebuild Cycle.

Using "NOT CONTAINS" search option produces error


Content Server Request Failed Unable to retrieve search results. Error generated when executing query '({Xopus} WITHIN dDocType NOT ( ((XML) WITHIN xxpsContentSubtype) ))'. Unable to execute query 'CotsSearchQuery'. ORA-20000: Oracle Text error: DRG-50857: oracle error in ctx_query.result_set ORA-20000: Oracle Text error: DRG-50901: text query parser syntax error on line 1, column 27 ORA-06512: ORA-06512: ORA-06512: ORA-06512: at at at at "CTXSYS.DRUE", line 160 "CTXSYS.CTX_QUERY", line 788 "UCM_OWNER.CONTENT_SEARCH", line 116 line 1

Details: intradoc.common.ServiceException: !csOracleTextErrorExecutingQuery,({Xopus} WITHIN dDocType NOT ( ((XML) WITHIN xxpsContentSubtype) ))!csDbUnableToExecuteQuery,CotsSearchQuery!$ORA-20000: Oracle Text error: DRG-50857: oracle error in ctx_query.result_set ORA-20000: Oracle Text error: DRG-50901: text query parser syntax error on line 1\, column 27

2 of 3

16/11/2010 17:32

https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&d...

ORA-06512: ORA-06512: ORA-06512: ORA-06512:

at at at at

"CTXSYS.DRUE"\, line 160 "CTXSYS.CTX_QUERY"\, line 788 "UCM_OWNER.CONTENT_SEARCH"\, line 116 line 1

To fix - Install OracleTextSearch: 2009_05_28 (build 32) or later on the Content Server system. References NOTE:579601.1 - Manual installation, deinstallation and verification of Oracle Text 11gR1 NOTE:748936.1 - Where can you find the OracleTextSearch component? NOTE:846189.1 - How To Configure Oracle Text Search And Enable Sort By Score?

Related Products Middleware > Content Management > Oracle Universal Content Management > Oracle Universal Content Management Errors ORA-20000; ORA-6512; ORA-942; ORA-6550; PLS-201; DRG-50901; DRG-50857

Back to top

3 of 3

16/11/2010 17:32