Step By Step Oracle Text
Team,
i want to make some search engine. i already make the table. i include a field with blob data type (let says: bl_data). Now, i already save into the table some document with doc and xls extension.
First of all i'm sorry, because i'm newbie in oracle. what i'd like to do next is how am i index the table. and then how am i find a document content with some word that i input, for example "car".
please help me with this problem. i really need it.
Thanks
Rizal
High-level response - take this with a grain of salt as there are a ton of options that I'm leaving out, and you will need some of them:
1) Create your preferences. I have no idea what you need for your solution. For example, you need to use the proper lexer for whatever languages you are using. Do you want to index themes? How much data are you indexing - this might impact your method of storage.
2) Create a context index:
create index index_name on table_name(column_name)
indextype is ctxsys.context;
You have to define the parameters that you want. The syntax is in link I sent.
3) Define how you plan to maintain your index (something you need to be totally familiar with). Options are discussed in the document.
4) Write your queries - use CONTAINS for the CONTEXT index.
Please understand, you are asking what at the surface may seem to be similar to "How can I create a bitmap index", but there is much more to it. It would be similar to me posting a question on how to take backups. There are so many options that the only forum entry that could answer them would be to paste the manual.
Please use the link I posted to get a start. The reference is long because there is a lot to it. Use what you need from it, and post here when you get stumped. Feel free to post specific questions you have back to the forum. Specifics (as opposed to general/broad) are more easily addressed in a forum.
-Ron
Similar Messages
-
Upgrading Oracle Text - Post upgrade step 10.2 to 11.2
I already upgraded my 10.2.0.4 database to 11.2.0.1 and have to do post upgrade steps. In step 39 of Manual guideline (837570.1) is not clear for me. If some one can explain further would be appriciated. When i check my source ORACLE_HOME/ctx/admin/ctxf102.txt or ctxf102.sql
Step 39
Upgrading Oracle Text
Copy the following files from the previous Oracle home to the new Oracle home:
* Stemming user-dictionary files
* User-modified KOREAN_MORPH_LEXER dictionary files
* USER_FILTER executables
To obtain a list of the above files, use:
$ORACLE_HOME/ctx/admin/ctxf<version>.txt
$ORACLE_HOME/ctx/admin/ctxf<version>.sql
where version is 920,101,102
For instance, if upgrading from 10.2.0
*1. For dictionary files check*
*$ORACLE_HOME/ctx/admin/ctxf102.txt*
*2. Execute the script as database user SYS,SYSTEM, or CTXSYS*
*$ORACLE_HOME/ctx/admin/ctxf102.sql*
If your Oracle Text index uses KOREAN_LEXER which was deprecated in Oracle 9i and desupported in Oracle 10g Release 2, see below Note for further information on manual migration from KOREAN_LEXER to KOREAN_MORPH_LEXER.
Note 300172.1 Obsolescence of KOREAN_LEXER Lexer TypeHi Srini
Thank you very much. now i got it.
Oracle asked me to identify the CTXCAT indexes with KOREAN_LEXER execute the following query as user CTXSYS: if nothing return then i can skip this step.
SELECT idx_name
FROM ctxsys.ctx_indexes
WHERE idx_type = 'CTXCAT'
AND idx_name IN
(SELECT ixo_index_name
FROM ctxsys.ctx_index_objects
WHERE ixo_class = 'LEXER'
AND ixo_object = 'KOREAN_MORPH_LEXER ');
SELECT isl_index_owner,isl_index_name,isl_language
FROM CTXSYS.ctx_index_sub_lexers
WHERE isl_object = 'KOREAN_MORPH_LEXER'; -
11gr2 installation hanging at step 7 during Processing Oracle Text 11.2.0.
Hi,
I am trying to install 11gr2 software on my linux 64 bit server.
I had installled the same 11gr2 software successfully on the same server without any issues.
Now i want another oracle home. But the installation is hanging at step 7, 8% was completed.
The details tab showing
Verifying whether Central Inventory is locked by any other OUI session...
Central Inventory is not locked.
Loading products list. Please wait.
Loading products. Please wait.
Analyzing dependencies
Setting up install types
Executing pre-requisites
Loading Oracle Database 11g
Loading Enterprise Edition Options
Loading Oracle Partitioning
Loading Oracle Spatial
Loading Oracle OLAP
Loading Oracle Database 11g
Loading Oracle Net Services
Loading Oracle Text
Loading Oracle Net Listener
Loading Oracle Enterprise Manager Console DB
Loading HAS Files for DB
Loading Oracle Internet Directory Client
Loading Oracle Advanced Security
Loading Oracle JVM
Loading Oracle XML Development Kit
Loading Database Configuration and Upgrade Assistants
Loading Oracle Net
Loading Oracle Multimedia
Loading Oracle Multimedia Locator
Loading Oracle Call Interface (OCI)
Loading SQL*Plus
Loading Oracle Netca Client
Loading Enterprise Manager Agent
Loading Oracle Database Utilities
Loading Oracle Programmer
Loading Oracle Database Gateway for ODBC
Loading Generic Connectivity Common Files
Loading PL/SQL
Loading Oracle Recovery Manager
Loading Assistant Common Files
Loading Buildtools Common Files
Loading Oracle LDAP administration
Loading Oracle Help for the Web
Loading Installation Common Files
Loading Precompiler Common Files
Loading HAS Common Files
Loading Enterprise Manager plugin Common Files
Loading Oracle UIX
Loading Oracle Clusterware RDBMS Files
Loading Cluster Verification Utility Common Files
Loading Oracle Wallet Manager
Loading Oracle Security Developer Tools
Loading XML Parser for Java
Loading Enterprise Manager Minimal Integration
Loading Oracle Notification Service
Loading Oracle Database User Interface
Loading Oracle ODBC Driver
Loading SQL*Plus Files for Instant Client
Loading Required Support Files
Loading Oracle Globalization Support
Loading Database SQL Scripts
Loading OLAP SQL Scripts
Loading PL/SQL Embedded Gateway
Loading Oracle Locale Builder
Loading Character Set Migration Utility
Loading Oracle Java Client
Loading Oracle Multimedia Client Option
Loading Oracle JDBC/THIN Interfaces
Loading Oracle Universal Connection Pool
Loading Secure Socket Layer
Loading Oracle Net Required Support Files
Loading Oracle Code Editor
Loading Oracle Containers for Java
Loading JAccelerator (COMPANION)
Loading Perl Interpreter
Loading Oracle Quality of Service Management (Client)
Loading Deinstallation Tool
Loading Perl Modules
Loading Enterprise Manager Common Files
Loading Installation Plugin Files
Loading Expat libraries
Loading XML Parser for Oracle JVM
Loading Oracle XML Query
Loading Oracle Message Gateway Common Files
Loading Oracle Starter Database
Loading Sample Schema Data
Loading Oracle Help For Java
Loading Oracle Core Required Support Files
Loading Oracle Multimedia Locator RDBMS Files
Loading Oracle JDBC/OCI Instant Client
Loading Oracle Multimedia Annotator
Loading Oracle Multimedia Java Advanced Imaging
Loading Oracle Database 11g Multimedia Files
Loading Precompiler Required Support Files
Loading Oracle Text Required Support Files
Loading Oracle Notification Service (eONS)
Loading Oracle 11g Warehouse Builder Required Files
Loading Parser Generator Required Support Files
Loading regexp
Loading Agent Required Support Files
Loading Enterprise Manager Agent Core Files
Loading Enterprise Manager Common Core Files
Loading Enterprise Manager Grid Control Core Files
Loading Enterprise Manager Database Plugin -- Agent Support
Loading Enterprise Manager Repository Core Files
Loading Enterprise Manager Database Plugin -- Repository Support
Loading Provisioning Advisor Framework
Loading Exadata Storage Server
Loading Oracle Globalization Support
Loading RDBMS Required Support Files
Loading Database Workspace Manager
Loading SQLJ Runtime
Loading RDBMS Required Support Files for Instant Client
Loading XDK Required Support Files
Loading Oracle Application Express
Loading Oracle SQL Developer
Loading Oracle JDBC Server Support Package
Loading Oracle Ice Browser
Loading Oracle Display Fonts
Loading SQL*Plus Required Support Files
Loading Oracle RAC Required Support Files-HAS
Loading Oracle Database Vault option
Loading Platform Required Support Files
Loading Oracle OLAP API
Loading Oracle OLAP RDBMS Files
Loading Oracle Data Mining RDBMS Files
Loading Oracle Label Security
Loading Oracle Database Vault J2EE Application
Loading Oracle Real Application Testing
Loading Oracle JFC Extended Windowing Toolkit
Loading Oracle Extended Windowing Toolkit
Loading Bali Share
Loading SSL Required Support Files for InstantClient
Loading LDAP Required Support Files
Loading Oracle ODBC Driverfor Instant Client
Loading Oracle Configuration Manager
Loading Oracle Database Deconfiguration
Loading Oracle RAC Deconfiguration
Loading Oracle DBCA Deconfiguration
Loading Oracle Configuration Manager Deconfiguration
Loading Oracle Universal Installer
Loading Oracle One-Off Patch Installer
Loading Installer SDK Component
Loading Sun JDK
Loading dialogs for Oracle Database 11g
Loading dialogs for Enterprise Edition Options
Loading dialogs for Oracle Partitioning
Loading dialogs for Oracle Spatial
Loading dialogs for Oracle OLAP
Loading dialogs for Oracle Database 11g
Loading dialogs for Oracle Net Services
Loading dialogs for Oracle Text
Loading dialogs for Oracle Net Listener
Loading dialogs for Oracle Enterprise Manager Console DB
Loading dialogs for HAS Files for DB
Loading dialogs for Oracle Internet Directory Client
Loading dialogs for Oracle Advanced Security
Loading dialogs for Oracle JVM
Loading dialogs for Oracle XML Development Kit
Loading dialogs for Database Configuration and Upgrade Assistants
Loading dialogs for Oracle Net
Loading dialogs for Oracle Multimedia
Loading dialogs for Oracle Multimedia Locator
Loading dialogs for Oracle Call Interface (OCI)
Loading dialogs for SQL*Plus
Loading dialogs for Oracle Netca Client
Loading dialogs for Enterprise Manager Agent
Loading dialogs for Oracle Database Utilities
Loading dialogs for Oracle Programmer
Loading dialogs for Oracle Database Gateway for ODBC
Loading dialogs for Generic Connectivity Common Files
Loading dialogs for PL/SQL
Loading dialogs for Oracle Recovery Manager
Loading dialogs for Assistant Common Files
Loading dialogs for Buildtools Common Files
Loading dialogs for Oracle LDAP administration
Loading dialogs for Oracle Help for the Web
Loading dialogs for Installation Common Files
Loading dialogs for Precompiler Common Files
Loading dialogs for HAS Common Files
Loading dialogs for Enterprise Manager plugin Common Files
Loading dialogs for Oracle UIX
Loading dialogs for Oracle Clusterware RDBMS Files
Loading dialogs for Cluster Verification Utility Common Files
Loading dialogs for Oracle Wallet Manager
Loading dialogs for Oracle Security Developer Tools
Loading dialogs for XML Parser for Java
Loading dialogs for Enterprise Manager Minimal Integration
Loading dialogs for Oracle Notification Service
Loading dialogs for Oracle Database User Interface
Loading dialogs for Oracle ODBC Driver
Loading dialogs for SQL*Plus Files for Instant Client
Loading dialogs for Required Support Files
Loading dialogs for Oracle Globalization Support
Loading dialogs for Database SQL Scripts
Loading dialogs for OLAP SQL Scripts
Loading dialogs for PL/SQL Embedded Gateway
Loading dialogs for Oracle Locale Builder
Loading dialogs for Character Set Migration Utility
Loading dialogs for Oracle Java Client
Loading dialogs for Oracle Multimedia Client Option
Loading dialogs for Oracle JDBC/THIN Interfaces
Loading dialogs for Oracle Universal Connection Pool
Loading dialogs for Secure Socket Layer
Loading dialogs for Oracle Net Required Support Files
Loading dialogs for Oracle Code Editor
Loading dialogs for Oracle Containers for Java
Loading dialogs for JAccelerator (COMPANION)
Loading dialogs for Perl Interpreter
Loading dialogs for Oracle Quality of Service Management (Client)
Loading dialogs for Deinstallation Tool
Loading dialogs for Perl Modules
Loading dialogs for Enterprise Manager Common Files
Loading dialogs for Installation Plugin Files
Loading dialogs for Expat libraries
Loading dialogs for XML Parser for Oracle JVM
Loading dialogs for Oracle XML Query
Loading dialogs for Oracle Message Gateway Common Files
Loading dialogs for Oracle Starter Database
Loading dialogs for Sample Schema Data
Loading dialogs for Oracle Help For Java
Loading dialogs for Oracle Core Required Support Files
Loading dialogs for Oracle Multimedia Locator RDBMS Files
Loading dialogs for Oracle JDBC/OCI Instant Client
Loading dialogs for Oracle Multimedia Annotator
Loading dialogs for Oracle Multimedia Java Advanced Imaging
Loading dialogs for Oracle Database 11g Multimedia Files
Loading dialogs for Precompiler Required Support Files
Loading dialogs for Oracle Text Required Support Files
Loading dialogs for Oracle Notification Service (eONS)
Loading dialogs for Oracle 11g Warehouse Builder Required Files
Loading dialogs for Parser Generator Required Support Files
Loading dialogs for regexp
Loading dialogs for Agent Required Support Files
Loading dialogs for Enterprise Manager Agent Core Files
Loading dialogs for Enterprise Manager Common Core Files
Loading dialogs for Enterprise Manager Grid Control Core Files
Loading dialogs for Enterprise Manager Database Plugin -- Agent Support
Loading dialogs for Enterprise Manager Repository Core Files
Loading dialogs for Enterprise Manager Database Plugin -- Repository Support
Loading dialogs for Provisioning Advisor Framework
Loading dialogs for Exadata Storage Server
Loading dialogs for Oracle Globalization Support
Loading dialogs for RDBMS Required Support Files
Loading dialogs for Database Workspace Manager
Loading dialogs for SQLJ Runtime
Loading dialogs for RDBMS Required Support Files for Instant Client
Loading dialogs for XDK Required Support Files
Loading dialogs for Oracle Application Express
Loading dialogs for Oracle SQL Developer
Loading dialogs for Oracle JDBC Server Support Package
Loading dialogs for Oracle Ice Browser
Loading dialogs for Oracle Display Fonts
Loading dialogs for SQL*Plus Required Support Files
Loading dialogs for Oracle RAC Required Support Files-HAS
Loading dialogs for Oracle Database Vault option
Loading dialogs for Platform Required Support Files
Loading dialogs for Oracle OLAP API
Loading dialogs for Oracle OLAP RDBMS Files
Loading dialogs for Oracle Data Mining RDBMS Files
Loading dialogs for Oracle Label Security
Loading dialogs for Oracle Database Vault J2EE Application
Loading dialogs for Oracle Real Application Testing
Loading dialogs for Oracle JFC Extended Windowing Toolkit
Loading dialogs for Oracle Extended Windowing Toolkit
Loading dialogs for Bali Share
Loading dialogs for SSL Required Support Files for InstantClient
Loading dialogs for LDAP Required Support Files
Loading dialogs for Oracle ODBC Driverfor Instant Client
Loading dialogs for Oracle Configuration Manager
Loading dialogs for Oracle Database Deconfiguration
Loading dialogs for Oracle RAC Deconfiguration
Loading dialogs for Oracle DBCA Deconfiguration
Loading dialogs for Oracle Configuration Manager Deconfiguration
Loading dialogs for Oracle Universal Installer
Loading dialogs for Oracle One-Off Patch Installer
Loading dialogs for Installer SDK Component
Loading dialogs for Sun JDK
Processing Oracle Database 11g 11.2.0.1.0
Processing Enterprise Edition Options 11.2.0.1.0
Processing Oracle Partitioning 11.2.0.1.0
Processing Oracle Spatial 11.2.0.1.0
Processing Oracle OLAP 11.2.0.1.0
Processing Oracle Database 11g 11.2.0.1.0
Processing Oracle Net Services 11.2.0.1.0
Processing Oracle Text 11.2.0.1.0
Thanks,
KavithaHi,
First ORACLE Home : /u02/oracle/11.2.0
Now using ORACLE Home: /u03/HFMDCP/11.2.0
The log showing below information:
driveName = /dev/shm
returnInMegaBytes = true
INFO: Query Returned: 3992
INFO: Setting variable 'n_POSIXMemSize' to '3992'. Received the value from the variable calculation.
INFO: Setting value of child variable b_useRegistration of oracle.sysman.ccr 10.3.1.1.0 to false
INFO: *** Entering Component: oracle.options installation
INFO: Processing Enterprise Edition Options 11.2.0.1.0
INFO: Processing Enterprise Edition Options 11.2.0.1.0
INFO: *** Entering Component: oracle.rdbms.partitioning installation
INFO: Processing Oracle Partitioning 11.2.0.1.0
INFO: Processing Oracle Partitioning 11.2.0.1.0
INFO: Calling Query generalQueries10.2.0.2.0 getOSName
INFO: Query Returned: Linux
INFO: Setting variable 's_operatingSystem' to 'Linux'. Received the value from the variable calculation.
INFO: Setting variable 's_makeLogFile' to 'make.log'. Received the value from the variable calculation.
INFO: Calling Query generalQueries10.2.0.2.0 isCurrentPlatformInGroup
platGroup = WINDOWS
INFO: Query Returned: false
INFO: Setting variable 'b_isWINDOWS' to 'false'. Received the value from the variable calculation.
INFO: Setting variable 's_installLogDir' to '/u03/HFMDCP/11.2.0/install/'. Received the value from the variable calculation.
INFO: *** Entering Component: oracle.sdo installation
INFO: Processing Oracle Spatial 11.2.0.1.0
INFO: Processing Oracle Spatial 11.2.0.1.0
INFO: Calling Query generalQueries10.2.0.2.0 getOSName
INFO: Query Returned: Linux
INFO: Setting variable 's_operatingSystem' to 'Linux'. Received the value from the variable calculation.
INFO: Setting variable 's_makeLogFile' to 'make.log'. Received the value from the variable calculation.
INFO: Setting variable 's_OPSSelectedNodes' to ''. Received the value from the variable calculation.
INFO: Calling Query generalQueries10.2.0.2.0 isCurrentPlatformInGroup
platGroup = UNIX
INFO: Query Returned: true
INFO: Setting variable 'b_isUNIX' to 'true'. Received the value from the variable calculation.
INFO: Setting variable 'VERSION' to '9.2.0.0.0 Beta'. Received the value from the variable calculation.
INFO: Setting variable 'ORDSYS_PASSWORD' to '*Protected value, not to be logged*'. Received the value from the variable calculation.
INFO: Setting variable 'MDSYS_PASSWORD' to '*Protected value, not to be logged*'. Received the value from the variable calculation.
INFO: Setting variable 'MD' to 'md'. Received the value from the variable calculation.
INFO: Setting variable 'DESCRIPTION' to 'Oracle8 Spatial Cartridge'. Received the value from the variable calculation.
INFO: Setting variable 's_sourceInstallScript' to '/u03/HFMDCP/11.2.0/md/admin/mdinst.sql'. Received the value from the variable calculation.
INFO: Setting variable 's_sourceDeinstallScript' to '/u03/HFMDCP/11.2.0/md/admin/mddins.sql'. Received the value from the variable calculation.
INFO: Setting variable 's_sourceDeinstallScript' to '/u03/HFMDCP/11.2.0/md/admin/mddins.sql'. Received the value from the variable calculation.
INFO: Setting variable 's_installLogDir' to '/u03/HFMDCP/11.2.0/install/'. Received the value from the variable calculation.
INFO: Setting variable 's_destInstallScript' to '/u03/HFMDCP/11.2.0/md/admin/mdinst.sql'. Received the value from the variable calculation.
INFO: Setting variable 's_destDeinstallScript' to '/u03/HFMDCP/11.2.0/md/admin/mddins.sql'. Received the value from the variable calculation.
INFO: Setting variable 'sl_processList' to '/u03/HFMDCP/11.2.0/bin/oracle'. Received the value from the variable calculation.
INFO: *** Entering Component: oracle.oraolap installation
INFO: Processing Oracle OLAP 11.2.0.1.0
INFO: Processing Oracle OLAP 11.2.0.1.0
INFO: Calling Query generalQueries10.2.0.2.0 getOSName
INFO: Query Returned: Linux
INFO: Setting variable 's_operatingSystem' to 'Linux'. Received the value from the variable calculation.
INFO: Setting variable 's_makeLogFile' to 'make.log'. Received the value from the variable calculation.
INFO: Setting variable 's_installLogDir' to '/u03/HFMDCP/11.2.0/install/'. Received the value from the variable calculation.
INFO: *** Entering Component: oracle.rdbms installation
INFO: Processing Oracle Database 11g 11.2.0.1.0
INFO: Processing Oracle Database 11g 11.2.0.1.0
INFO: Calling Query unixQueries10.1.0.2.0 getGroups
INFO: Query Returned: dba
INFO: Setting variable 'sl_groupChoices' to 'dba'. Received the value from the variable calculation.
INFO: Setting variable 's_version' to '9.2.0.0.0'. Received the value from the variable calculation.
INFO: Setting variable 's_verifierName' to 'verifier15.jar'. Received the value from the variable calculation.
INFO: Setting variable 's_sidToMigrate' to ''. Received the value from the variable calculation.
INFO: Calling Query generalQueries10.2.0.2.0 getOSName
INFO: Query Returned: Linux
INFO: Setting variable 's_operatingSystem' to 'Linux'. Received the value from the variable calculation.
INFO: Calling Query generalQueries10.2.0.2.0 getenv
name = LD_LIBRARY_PATH
INFO: Query Returned: /tmp/OraInstall2011-05-11_10-43-27AM/jdk/jre/lib/amd64/server:/tmp/OraInstall2011-05-11_10-43-27AM/jdk/jre/lib/amd64:/tmp/OraInstall2011-05-11_10-43-27AM/jdk/jre/../lib/amd64
INFO: Setting variable 's_oldLDLibPath' to '/tmp/OraInstall2011-05-11_10-43-27AM/jdk/jre/lib/amd64/server:/tmp/OraInstall2011-05-11_10-43-27AM/jdk/jre/lib/amd64:/tmp/OraInstall2011-05-11_10-43-27AM/jdk/jre/../lib/amd64'. Received the value from the variable calculation.
INFO: Setting variable 's_ojdbc5Name' to 'ojdbc5.jar'. Received the value from the variable calculation.
INFO: Setting variable 's_nameOfBundle' to 'EE'. Received the value from the variable calculation.
INFO: Setting variable 's_makeLogFile' to 'make.log'. Received the value from the variable calculation.
INFO: Setting variable 's_lowResourceDialogPrompt' to ''. Received the value from the variable calculation.
INFO: Setting variable 's_ldapjclntName' to 'ldapjclnt11.jar'. Received the value from the variable calculation.
INFO: Setting variable 's_jssl11Name' to 'jssl-1_1.jar'. Received the value from the variable calculation.
INFO: Calling Query areasQueries10.2.0.1.0 getProductHome
name = oracle.jdk
startVersion = 1.5.0.0.0
endVersion = 9.9.9.9.9
acceptCompatible = null
INFO: Query Returned: /u03/HFMDCP/11.2.0/jdk
INFO: Setting variable 's_jreLocation' to '/u03/HFMDCP/11.2.0/jdk/jre/'. Received the value from the variable calculation.
INFO: Setting variable 's_javaxssl12Name' to 'javax-ssl-1_2.jar'. Received the value from the variable calculation.
INFO: Setting variable 's_groupDialogPrompt' to ''. Received the value from the variable calculation.
INFO: Setting variable 's_filemapLocation' to '/opt/ORCLfmap'. Received the value from the variable calculation.
INFO: Setting variable 's_emailServer' to ''. Received the value from the variable calculation.
INFO: Setting variable 's_emailAddress' to ''. Received the value from the variable calculation.
INFO: Setting variable 's_defaultDBName' to ''. Received the value from the variable calculation.
INFO: Setting variable 's_c' to ''. Received the value from the variable calculation.
INFO: Setting variable 's_OPSSelectedNodes' to ''. Received the value from the variable calculation.
INFO: Setting variable 's_OPSNodeInfoString' to 'NO_VALUE'. Received the value from the variable calculation.
INFO: Setting variable 's_OPSClusterUser' to 'NO_VALUE'. Received the value from the variable calculation.
INFO: Setting variable 's_OPSClusterPassword' to '*Protected value, not to be logged*'. Received the value from the variable calculation.
INFO: Setting variable 's_DBNamePrompt' to 'Every Oracle 11g database is uniquely identified by a Global Database Name, typically of the form "name.domain". Enter the Global Database Name for this database.'. Received the value from the variable calculation.
INFO: Setting variable 's_DBName' to ''. Received the value from the variable calculation.
INFO: Setting variable 's_DBDomain' to ''. Received the value from the variable calculation.
INFO: Setting variable 'init_shared_pool_size' to '10000000'. Received the value from the variable calculation.
INFO: Setting variable 'init_sequence_cache_hash_buckets' to '10'. Received the value from the variable calculation.
INFO: Setting variable 'init_sequence_cache_entries' to '10'. Received the value from the variable calculation.
INFO: Setting variable 'init_processes' to '59'. Received the value from the variable calculation.
INFO: Setting variable 'init_path' to ''. Received the value from the variable calculation.
INFO: Setting variable 'init_open_links' to '4'. Received the value from the variable calculation.
INFO: Setting variable 'init_log_buffer' to '8192'. Received the value from the variable calculation.
INFO: Setting variable 'init_job_queue_processes' to '2'. Received the value from the variable calculation.
INFO: Setting variable 'init_job_queue_interval' to '10'. Received the value from the variable calculation.
INFO: Setting variable 'init_dml_locks' to '100'. Received the value from the variable calculation.
INFO: Setting variable 'init_distributed_transactions' to '5'. Received the value from the variable calculation.
INFO: Setting variable 'init_distributed_lock_timeout' to '300'. Received the value from the variable calculation.
INFO: Setting variable 'init_db_file_multiblock_read_count' to '8'. Received the value from the variable calculation.
INFO: Setting variable 'init_db_block_buffers' to '1000'. Received the value from the variable calculation.
INFO: Setting variable 'build_log_path' to ''. Received the value from the variable calculation.
INFO: Setting variable 'b_promptForGroups' to 'false'. Received the value from the variable calculation.
INFO: Setting variable 'b_orabaseContainsOrahome' to 'true'. Received the value from the variable calculation.
INFO: Setting variable 'b_lowResource' to 'false'. Received the value from the variable calculation.
INFO: Setting variable 'b_launchDBMA' to 'false'. Received the value from the variable calculation.
INFO: Setting variable 'b_javaOptionBeingInstalled' to 'false'. Received the value from the variable calculation.
INFO: Calling Query generalQueries10.2.0.2.0 isCurrentPlatformInGroup
platGroup = WINDOWS
INFO: Query Returned: false
INFO: Setting variable 'b_isWINDOWS' to 'false'. Received the value from the variable calculation.
INFO: Calling Query generalQueries10.2.0.2.0 isCurrentPlatformInGroup
platGroup = UNIX
INFO: Query Returned: true
INFO: Setting variable 'b_isUNIX' to 'true'. Received the value from the variable calculation.
INFO: Setting variable 'b_isDBup' to 'true'. Received the value from the variable calculation.
INFO: Setting variable 'b_giInstall' to 'false'. Received the value from the variable calculation.
INFO: Setting variable 's_xslLocation' to '/u03/HFMDCP/11.2.0/rdbms/xml/xsl'. Received the value from the variable calculation.
INFO: Setting variable 's_verifierDir' to '/u03/HFMDCP/11.2.0/jlib'. Received the value from the variable calculation.
INFO: Setting variable 's_shPath' to '/u03/HFMDCP/11.2.0/demo/schema/sales_history/'. Received the value from the variable calculation.
INFO: Setting variable 's_pmPath' to '/u03/HFMDCP/11.2.0/demo/schema/product_media/'. Received the value from the variable calculation.
INFO: Setting variable 's_oradimlocation' to '/u03/HFMDCP/11.2.0\bin'. Received the value from the variable calculation.
INFO: Setting variable 's_oradbalocation' to '/u03/HFMDCP/11.2.0\Database'. Received the value from the variable calculation.
INFO: Setting variable 's_operGroup' to 'dba'. Received the value from the variable calculation.
INFO: Setting variable 's_oePath' to '/u03/HFMDCP/11.2.0/demo/schema/order_entry/'. Received the value from the variable calculation.
INFO: Setting variable 's_netAPILoc' to '/u03/HFMDCP/11.2.0/jlib'. Received the value from the variable calculation.
INFO: Setting variable 's_mkdirFile' to '/u03/HFMDCP/11.2.0/demo/schema/mk_dir.sql'. Received the value from the variable calculation.
INFO: Setting variable 's_logPath' to '/u03/HFMDCP/11.2.0/demo/schema/log/'. Received the value from the variable calculation.
INFO: Setting variable 's_libDir' to '/u03/HFMDCP/11.2.0/jdbc/lib'. Received the value from the variable calculation.
INFO: Setting variable 's_jlibDir' to '/u03/HFMDCP/11.2.0/rdbms/jlib'. Received the value from the variable calculation.
INFO: Setting variable 's_installLogDir' to '/u03/HFMDCP/11.2.0/install/'. Received the value from the variable calculation.
INFO: Setting variable 's_instMkdirFile' to '/u03/HFMDCP/11.2.0/demo/schema/mk_dir.sql.sbs'. Received the value from the variable calculation.
INFO: Setting variable 's_initmetaSource' to '/u03/HFMDCP/11.2.0/rdbms/install/sbs/initmeta.sbs'. Received the value from the variable calculation.
INFO: Setting variable 's_initmetaDest' to '/u03/HFMDCP/11.2.0/rdbms/admin/initmeta.sql'. Received the value from the variable calculation.
INFO: Setting variable 's_ezLocation' to '/u03/HFMDCP/11.2.0/instantclient'. Received the value from the variable calculation.
INFO: Setting variable 's_dbmssmlSource' to '/u03/HFMDCP/11.2.0/rdbms/install/sbs/dbmssml.sbs'. Received the value from the variable calculation.
INFO: Setting variable 's_dbmssmlDest' to '/u03/HFMDCP/11.2.0/rdbms/admin/dbmssml.sql'. Received the value from the variable calculation.
INFO: Setting variable 's_dbaGroup' to 'dba'. Received the value from the variable calculation.
INFO: Setting variable 's_asmGroup' to ''. Received the value from the variable calculation.
INFO: Setting variable 's_RDBMS81' to '/u03/HFMDCP/11.2.0\RDBMS'. Received the value from the variable calculation.
INFO: Setting variable 'b_isUXW' to 'false'. Received the value from the variable calculation.
INFO: Setting variable 'b_isSolaris' to 'false'. Received the value from the variable calculation.
INFO: Setting variable 'b_isSequent' to 'false'. Received the value from the variable calculation.
INFO: Setting variable 'b_isIntel_Solaris' to 'false'. Received the value from the variable calculation.
INFO: Setting variable 'b_isHPI' to 'false'. Received the value from the variable calculation.
INFO: Setting variable 'b_isHP' to 'false'. Received the value from the variable calculation.
INFO: Setting variable 'b_isDec' to 'false'. Received the value from the variable calculation.
INFO: Setting variable 'b_isDG' to 'false'. Received the value from the variable calculation.
INFO: Setting variable 'b_isAix' to 'false'. Received the value from the variable calculation.
INFO: Setting variable 'sl_processList' to '/u03/HFMDCP/11.2.0/bin/ctxsrv,/u03/HFMDCP/11.2.0/bin/dbsnmp,/u03/HFMDCP/11.2.0/bin/extproc,/u03/HFMDCP/11.2.0/bin/oracle'. Received the value from the variable calculation.
INFO: Setting variable 's_OSDSharelibExt' to '.so'. Received the value from the variable calculation.
INFO: Setting variable 'SO_EXT' to 'so'. Received the value from the variable calculation.
INFO: Setting variable 's_unixConfigFile' to '/u03/HFMDCP/11.2.0/rdbms/lib/config.c'. Received the value from the variable calculation.
INFO: Setting value of child variable s_emailServer of oracle.sysman.console.db 11.2.0.1.0 to
INFO: Setting value of child variable s_emailAddress of oracle.sysman.console.db 11.2.0.1.0 to
INFO: *** Entering Component: oracle.network installation
INFO: Processing Oracle Net Services 11.2.0.1.0
INFO: Processing Oracle Net Services 11.2.0.1.0
INFO: *** Entering Component: oracle.ctx installation
INFO: Processing Oracle Text 11.2.0.1.0
INFO: Processing Oracle Text 11.2.0.1.0
INFO: Setting variable 's_version' to '9.2.0.0.0 Beta'. Received the value from the variable calculation.
INFO: Calling Query generalQueries10.2.0.2.0 getOSName
INFO: Query Returned: Linux
INFO: Setting variable 's_operatingSystem' to 'Linux'. Received the value from the variable calculation.
INFO: Setting variable 's_makeLogFile' to 'make.log'. Received the value from the variable calculation.
INFO: Setting variable 's_OPSSelectedNodes' to ''. Received the value from the variable calculation.
INFO: Calling Query generalQueries10.2.0.2.0 isCurrentPlatformInGroup
platGroup = UNIX
INFO: Query Returned: true
INFO: Setting variable 'b_isUNIX' to 'true'. Received the value from the variable calculation.
INFO: Setting variable 's_installLogDir' to '/u03/HFMDCP/11.2.0/install/'. Received the value from the variable calculation.
INFO: Setting variable 's_OracleHomeKeyWow6432Node' to 'Wow6432Node'. Received the value from the variable calculation.
INFO: Setting variable 'b_isWinX64' to 'false'. Received the value from the variable calculation.
INFO: Setting variable 'sl_processList' to '/u03/HFMDCP/11.2.0/bin/ctxsrv,/u03/HFMDCP/11.2.0/bin/oracle'. Received the value from the variable calculation.
INFO: Setting variable 'oracle_key' to ''. Received the value from the variable calculation.
INFO: Setting variable 's_ctxx_old_location' to '/u03/HFMDCP/11.2.0/ctx/lib/libctxx9.so'. Received the value from the variable calculation.
INFO: Setting variable 's_ctxx_location' to '/u03/HFMDCP/11.2.0/lib/libctxx9.so'. Received the value from the variable calculation.
INFO: Calling Query RunningProcessQuery11.2.0.1.0 getRunningProcess
multiParamName = /u03/HFMDCP/11.2.0/bin/ctxsrv,/u03/HFMDCP/11.2.0/bin/oracle
Thanks,
Kavitha -
Step by Step Oracle installation All in One e-book
Hi all
I'd like to introduce a new ebook that I've prepared recently named "Step by Step Oracle installation All in One e-book" which contains installation steps of Oracle 10g,11g on Linux and Solaris with 188 screenshots!
It can be downloaded from the following link:
http://kamranagayev.com/2011/10/19/step-by-step-oracle-installation-all-in-one-e-book/Helios- Gunes EROL wrote:
Hi Kamran;
congratulation ;)
Regard
HeliosThanks bro :) -
Step by Step Oracle i-Learning Installation on Linux
Hi all;
I prepare one documentation about Step by Step Oracle i-Learning Installation on Linux.
Its avaliable at:
http://heliosguneserol.wordpress.com/2010/05/25/step-by-step-oracle-i-learning-installation-on-linux/
Hope it helps to forum users
Regard
HeliosHelios,
Thanks for sharing this with us!
Thanks,
Hussein -
Document management system using oracle text
i plan to create document management system using oracle text with following features
1) document comparision
2) document search
and more...
can oracle text be used to display documents of various formats by converting them to HTML. and can search keywords be highlighted in the document.
please help!Have you ever considered doing this in Oracle Application Express (free on top of the Oracle database)? How about something like:
http://download-west.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28839/up_dn_files.htm
Index the files using the CONTEXT index, and perhaps the docs' meta with it using the Oracle Text MULTI_COLUMN_DATASTORE, and then when you write your query for a report on the documents include a search string.
I've created a number of APEX-based document management systems and it is quite easy once you get the hang of using this environment. I suggest looking at some of the tutorials/how-to documents and you'll be on your way quickly.
Start with the upload application. Once you can get your documents in, create a report that shows everything except the document. Verify all of this works correctly.
Add some "items" to the page for the report, and include them as bind variables in the where clause.
After that, add your Oracle Text index to the database, and toss in a "text-field" item to the APEX page. Modify your report query, adding the CONTAINS clause, and use the newly created item as a bind variable. There's your keyword search.
Linking to Oracle Apps is done through API's and may be over database links.
Hope it helps. Though not a step-by-step how to document, this should point you in the right direction. Get familiar with APEX as that covers most of what you described.
-Ron -
I'm storing files in a blob field in a 9i database, sometimes I need to query using the details stored in the database about the file and sometimes I need to search the files to find matches with some text (like search engine), I was told that oracle text can help me accomplish this functionality , however I don't know if it supports arabic text and I don't know how to use it from my application developed in 9i.
Regards.Friend by using these step you can easily use Oracle inter text media
j a h a n z e b
[email protected]
Oracle Developer
6th Floor, State Bank of Pakistan
I.I.Chundrigar Road, Karachi.
Please note that in SqlPlus you can use '?' in stead of $ORACLE_HOME, and this works on Unix and Windows so if you want to execute $ORACLE_HOME/rdbms/admin/catalog.sql you can simply use:
on Unix sql> @?/rdbms/admin/catalog.sql
on Windows sql> @?\rdbms\admin\catalog.sql
5.2.1 Explanation of installation steps
1. Connected to database as SYSDBA and create CTXSYS user:
Ctxsys user is created by calling following script:
@?/ctx/admin/dr0csys.sql <ctxsys> <system> <temp>
Where:
change_on_install - is the ctxsys user password
DRSYS - is the default tablespace for ctxsys
TEMP - is the temporary tablespace for ctxsys
This will create user CTXSYS and grants full privileges to CTXSYS in order to create and insert into result tables, execute callbacks, rewrite queries, and perform system cleanup. At this point CTXSYS will not own any objects.ss
2. Connected to database as CTXSYS and create all necessary objects
All necessary object are creates by calling following script:
connect CTXSYS/change_on_install
@?/ctx/admin/dr0inst <replace with $ORACLE_HOME>/ctx/lib/libctxx9.so;
Please not that you have to put full path to your ORACLE_HOME, for example home as paramter
On Solaris/Aix/Linux with $ORACLE_HOME of /u01/app/oracle/product/8.1.7
@?/ctx/admin/dr0inst.sql /u01/app/oracle/product/8.1.7/ctx/lib/libctxx8.so
On HP-UX with $ORACLE_HOME of /u01/app/oracle/product/8.1.7
@?/ctx/admin/dr0inst.sql /u01/app/oracle/product/8.1.7/ctx/lib/libctxx8.sl
Windows NT/2000 with D:\oracle\product\8.1.7
@?/ctx/admin/dr0inst.sql D:\oracle\product\8.1.7\bin\oractxx8.dll
This will installs all Oracle database objects required by the Oracle Text system. This includes:
a) Data dictionary tables, views, sequence, packages
b) Server management tables, views and packages
c) Dispatcher packages
d) Service queue objects
3) Install appropriate language-specific default preferences.
The next step is to install appropriate language-specific default preferences.When you use CREATE INDEX to create an index or ALTER INDEX to manage an index, you can optionally specify indexing preferences in the parameter string. There are seven preference classes:
- Lexer, defines the language being indexed. ( language specific )
- Wordlist, defines the expantion of stem and fuzzy queries. ( language specific )
- Stoplist, defines words and themes that are not be indexed. ( language specific )
- Datastore, defines document storage.
- Filter, defines standards for converion of documents to plaintext.
- Storage, defines the storage of the index tables.
- Section group, enables possibilities to define document sections.
There is script which creates language-specific default preferences for every language Oracle text supports in <ORACLE_HOME>/ctx/admin/defaults directory, such as English(US), Danish(DK), Dutch(NL), Finnish(SF), French(FR), German(DE), Italian(IT), Portuguese(PR), Spanish(ES), and Swedish(S). They are named in the form drdefXX.sql, where XX is the language code. To manually install US default preferences, for example, log into sqlplus as CTXSYS, and run 'drdefus.sql' as described below:
@?/ctx/admin/defaults/drdefus.sql
create user textuser identified by textuser
default tablespace users
temporary tablespace temp;
-- You must grant 'ctxapp' role to textuser
grant connect, resource, ctxapp to textuser;
connect textuser/textuser
drop table quick;
create table quick (
quick_id number
constraint quick_pk primary key,
text varchar2(80) );
insert into quick ( quick_id, text ) values (1,'The cat sat on the mat');
insert into quick ( quick_id, text ) values (2,'The quick brown fox jumps over the lazy dog' );
insert into quick ( quick_id, text ) values (3,'The dog barked like a dog');
commit;
create index quick_text on quick ( text )
indextype is ctxsys.context;
col text format a45
col s format 999
select text, score(42) s from quick
where contains ( text, 'dog', 42 ) > 0
order by s desc; -
SQL Injection with Oracle Text
I did a search here for any posts about SQL Injection on Oracle Text indexes, but returned no hits.
Can anyone give their opinion about whether SQL Injection is a concern when using Oracle Text or what steps can be taken ahead of time to prevent (or at least reduce the attack surface) on Oracle Text queries.
We're running a web app. that will use Oracle Text and our users can enter any search string as well as select pre-defined items from a drop down box.
Thanks in advance for any opinions
LJquote:
Originally posted by:
Dan Bracuk
What others can do is more relevent than what we think. When
in doubt, test.
very true, although my final solution went more like, "When
in doubt, manually add about 600 cfqueryparams in 406 cfquery
tags". -
Hi!!
I followed the steps described in the reference guide of Oracle Text to highlights the result of a search in a text, but I can't show the text whit these words highlighting.
I copy the code I ran:
create table hightab(query_id number,
offset number,
length number);
Table created
begin
ctx_doc.highlight('sentencias', '4', 'redactor', 'hightab', 0, TRUE);
end;
PL/SQL procedure successfully completed
select * from hightab
QUERY_ID OFFSET LENGTH
0 89 8
Thanks a lot!
Regards,
Fabiana.It works for me, so in must be due to some differences in settings.
scott@ORA92> CREATE TABLE sentencias_ws
2 (id NUMBER PRIMARY KEY,
3 doc XMLTYPE)
4 /
Table created.
scott@ORA92> INSERT INTO sentencias_ws VALUES
2 (189, XMLTYPE ('<EST>
3 <JUR>
4 <SENT>
5 <NUMERO>2/04</NUMERO>
6 </SENT>
7 </JUR>
8 <NUMERO>1/2005</NUMERO>
9 </EST>
10 '))
11 /
1 row created.
scott@ORA92> begin
2 ctx_ddl.create_section_group('XMLGroup', 'XML_SECTION_GROUP');
3 ctx_ddl.ADD_ZONE_SECTION( 'XMLGroup', 'EST', 'EST' );
4 ctx_ddl.ADD_ZONE_SECTION('XMLGroup', 'JUR', 'JUR' );
5 ctx_ddl.ADD_ZONE_SECTION( 'XMLGroup', 'SENT', 'SENT' );
6 ctx_ddl.ADD_ZONE_SECTION( 'XMLGroup', 'NUMERO', 'NUMERO' );
7 end;
8 /
PL/SQL procedure successfully completed.
scott@ORA92> begin
2 ctx_ddl.create_preference('MYLEX','BASIC_LEXER');
3 ctx_ddl.set_attribute('MYLEX','SKIPJOINS','.');
4 ctx_ddl.set_attribute('MYLEX','NUMJOIN',',');
5 end;
6 /
PL/SQL procedure successfully completed.
scott@ORA92> CREATE INDEX busquedaXML ON sentencias_ws(doc)
2 INDEXTYPE IS ctxsys.context
3 PARAMETERS
4 ('datastore ctxsys.default_datastore
5 filter ctxsys.null_filter
6 section group XMLGroup
7 lexer mylex')
8 /
Index created.
scott@ORA92> Select * from sentencias_ws
2 where contains(doc, '(((2/04 within NUMERO) WITHIN SENT) WITHIN JUR) WITHIN EST')>0
3 /
ID
DOC
189
<EST>
<JUR>
<SENT>
<NUMERO>2/04</NUMERO>
</SENT>
</JUR>
<NUMERO>1/2005</NUMERO>
</EST>
scott@ORA92> -
Hi Masters,
I am working on Oracle Text. I have executed the below step/commands. All are executed successfully. But I didn't seen any improvement in my task. But I have one doubt, will explain below.
create table ent_dnt as select * from entitlement_dnt;
BEGIN
CTX_DDL.CREATE_PREFERENCE ('oracletext_datastore', 'MULTI_COLUMN_DATASTORE');
CTX_DDL.SET_ATTRIBUTE
('oracletext_datastore', 'COLUMNS',
'ORDER_NUMBER, GENERIC_PRODUCT_NAME_EXT, ENTITLEMENT_REF_ID, DEVICE_ASSET_ID, DEVICE_UNIQUE_ID, SWSERVICETAG, PRODUCT_DESC');
END;
CREATE INDEX idx_oracle_text
ON Ent_dnt (search_cols)
INDEXTYPE IS CTXSYS.CONTEXT
PARAMETERS ('DATASTORE oracletext_datastore');
BEGIN
DBMS_STATS.GATHER_TABLE_STATS('EE', 'ent_DNT', cascade=>TRUE);
DBMS_STATS.GATHER_TABLE_STATS('EE', 'upd_DNT', cascade=>TRUE);
dbms_stats.gather_index_stats('EE', 'idx_oracle_text1');
dbms_stats.gather_index_stats('EE', 'idx_oracle_text');
END;
the above steps are created / executed successfully. But when execute my select query..I didn't seen anywhere oracle text index name in my explain plan.
Plan
SELECT STATEMENT ALL_ROWSCost: 28,393 Bytes: 49,675 Cardinality: 5
3 SORT AGGREGATE Bytes: 8 Cardinality: 1
2 TABLE ACCESS BY INDEX ROWID TABLE EE.EE_PROD_GRP_ENTITLEMENT Cost: 4 Bytes: 8 Cardinality: 1
1 INDEX RANGE SCAN INDEX EE.IDX_PGE_ENT_ID Cost: 3 Cardinality: 1
5 SORT AGGREGATE Bytes: 8 Cardinality: 1
4 TABLE ACCESS FULL TABLE EE.ENT_DNT Cost: 26,781 Bytes: 8 Cardinality: 1
20 VIEW EE. Cost: 28,393 Bytes: 49,675 Cardinality: 5
19 COUNT STOPKEY
18 VIEW EE. Cost: 28,393 Bytes: 49,610 Cardinality: 5
17 SORT GROUP BY STOPKEY Cost: 28,393 Bytes: 2,295 Cardinality: 5
16 HASH JOIN OUTER Cost: 28,392 Bytes: 2,295 Cardinality: 5
14 NESTED LOOPS OUTER Cost: 28,388 Bytes: 1,808 Cardinality: 4
11 NESTED LOOPS OUTER Cost: 28,384 Bytes: 1,600 Cardinality: 4
8 HASH JOIN Cost: 28,383 Bytes: 1,552 Cardinality: 4
6 TABLE ACCESS FULL TABLE EE.UPD_DNT Cost: 1,089 Bytes: 174 Cardinality: 6
7 TABLE ACCESS FULL TABLE EE.ENT_DNT Cost: 27,292 Bytes: 110,648,108 Cardinality: 308,212
10 TABLE ACCESS BY INDEX ROWID TABLE EE.PRODUCT_LICENSE_PART Cost: 1 Bytes: 12 Cardinality: 1
9 INDEX RANGE SCAN INDEX EE.IDX_PLP_PD_DATA_ID Cost: 0 Cardinality: 1
13 TABLE ACCESS BY INDEX ROWID TABLE EE.PD_KT_DETAILS Cost: 1 Bytes: 52 Cardinality: 1
12 INDEX RANGE SCAN INDEX EE.IDX_PKD_PART_NUM Cost: 0 Cardinality: 1
15 TABLE ACCESS FULL TABLE EE.LEGACY_CONFIG Cost: 3 Bytes: 35 Cardinality: 5
and cost is also so high. But when I ran the below query. I didn't see any $ tables.
TEST@orcl_11gR2> SELECT object_name, object_type
2 FROM user_objects
3 WHERE object_name LIKE '%oracle%'
4 /
Usually DR$ $I, $K,$N,$R,$X tables are not creaed. where is the problem? please help me. I have to complete this task.
Regards
ARHi Roger,
Thanks alot for your reply. This is my query. Yes I didn't used contain clause in my query. But i don't know how to use.
SELECT B.*,
CASE WHEN ISBOUND = 'Y' AND ALLOWRESEND = 'Y' THEN 'Y' ELSE 'N' END
AS Allowunbind,
CASE
WHEN ISBOUND = 'Y' AND IsThisAnUpgrade = 'N' AND Allowresend = 'N'
THEN
'Y'
ELSE
CASE
WHEN ISBOUND = 'N'
AND BINDING_TYPE = INITCAP ('TRUSTED')
AND ALLOWRESEND = 'N'
THEN
'Y'
ELSE
'N'
END
END
AS AllowBind,
FNC_GET_GROUPNAME_V3 (B.ENTITLEMENT_ID) GROUP_NAME,
FNC_GET_USERGROUPNAME_V3 (B.ENTITLEMENT_ID, '[email protected]')
USER_GROUP_NAME,
FNC_GET_ROLE_V3 (B.ENTITLEMENT_ID, '[email protected]') ROLE_NAME,
(SELECT MAX (PGE_IS_ASSIGNED)
FROM ENT_DNT
WHERE ENTITLEMENT_ID = B.ENTITLEMENT_ID)
AS IS_ASSIGNED
FROM (SELECT *
FROM (SELECT A.*, ROWNUM RNUM
FROM (SELECT *
FROM (SELECT *
FROM (SELECT DISTINCT
ENTDNT.ORDER_DATE,
ENTDNT.ORDER_NUMBER,
ENTDNT.ENTITLEMENT_ID,
ENTDNT.ENTITLEMENT_REF_ID,
ENTDNT.CUSTOMER_NUM,
ENTDNT.ENTITLEMENT_STATUS_ID,
ENTDNT.ENT_QTY,
ENTDNT.ENTITLEMENTNAME,
ENTDNT.ACT_KEY_LOB_ID,
ENTDNT.LIC_KEY_LOB_ID,
ENTDNT.LICENSE_KEY,
ENTDNT.ENT_TYPE_ID,
ENTDNT.PRODUCT_DATA_ID,
ENTDNT.PRODUCT_NAME,
ENTDNT.TYPE_DIMENSION_EXT,
ENTDNT.BINDING_TYPE,
DECODE (
ENTDNT.ENT_TYPE_ID,
1, ENTDNT.PRODUCT_DESC,
3, ENTDNT.GENERIC_PRODUCT_NAME_EXT)
AS PRODUCT_DESC,
DECODE (
ENTDNT.ENT_TYPE_ID,
3, PKD.PRIMARY_LICENSE_IDENTIFIER,
2, 'SOFTWARE_SERVICETAG',
1, 'ENTITLEMENTID',
NULL)
AS PRIMARYLICENSEIDENTIFIER,
CASE
WHEN DECODE (
ENTDNT.ENT_TYPE_ID,
3, DECODE (
PKD.KEY_SOURCE_TYPE,
'SOURCE_NO_KEY', 'N',
'Y'),
1, 'Y',
LC.IS_KEY_REQUIRED) =
'Y'
AND ENTDNT.ENTITLEMENT_STATUS_ID =
'0'
AND ( ENTDNT.LIC_KEY_LOB_ID
IS NOT NULL
OR ENTDNT.LICENSE_KEY
IS NOT NULL
OR ENTDNT.ACT_KEY_LOB_ID
IS NOT NULL)
THEN
'Y'
WHEN ENTDNT.ENTITLEMENT_STATUS_ID =
'0'
AND ( ENTDNT.LIC_KEY_LOB_ID
IS NOT NULL
OR ENTDNT.LICENSE_KEY
IS NOT NULL)
THEN
'Y'
ELSE
'N'
END
AS KEYREQUIRED,
ENTDNT.ISTHISANUPGRADE,
ENTDNT.DEVICE_ASSET_ID,
ENTDNT.SWSERVICETAG,
PKD.PHVALUE,
CASE
WHEN -- ENTDNT.BINDING_TYPE = 'Trusted'
ENTDNT.BINDING_TYPE =
INITCAP ('TRUSTED')
THEN
'N'
WHEN ENTDNT.BINDING_TYPE =
INITCAP (
'COMPONENT')
-- OR ENTDNT.BINDING_TYPE = 'DeviceID'
OR ENTDNT.BINDING_TYPE =
INITCAP (
'DEVICEID')
--OR ENTDNT.BINDING_TYPE = 'ServiceTag'
OR ENTDNT.BINDING_TYPE =
INITCAP (
'SERVICETAG')
THEN
'Y'
ELSE
'N'
END
AS ISBOUND,
CASE
WHEN ENTDNT.ENT_TYPE_ID =
3
AND PKD.ALLOW_RESEND =
'Y'
AND ENTDNT.ENTITLEMENT_STATUS_ID =
'0'
AND ( ENTDNT.LIC_KEY_LOB_ID
IS NOT NULL
OR ENTDNT.LICENSE_KEY
IS NOT NULL
OR ENTDNT.ACT_KEY_LOB_ID
IS NOT NULL)
THEN
'Y'
WHEN ENTDNT.ENTITLEMENT_STATUS_ID =
'0'
AND ( ENTDNT.LIC_KEY_LOB_ID
IS NOT NULL
OR ENTDNT.LICENSE_KEY
IS NOT NULL)
THEN
'Y'
ELSE
'N'
END
AS ALLOWRESEND,
ENTDNT.GENERIC_PRODUCT_NAME_EXT,
PLP.LICENSE_PART_NUMBER
AS SRVPARTNUMBER,
ENTDNT.DEVICE_UNIQUE_ID,
(SELECT MAX (IS_ASSIGNED)
FROM EE_PROD_GRP_ENTITLEMENT PGE
WHERE ENTITLEMENT_ID =
ENTDNT.ENTITLEMENT_ID)
AS IS_ASSIGNED,
ENTDNT.SINGLEFILEPERID
FROM ent_dnt ENTDNT,
PD_KT_DETAILS PKD,
PRODUCT_LICENSE_PART PLP,
Legacy_Config LC,
upd_dnt UPDNT
WHERE ENTDNT.PRODUCT_GROUP_ID =
UPDNT.PRODUCT_GROUP_ID
AND UPDNT.EMAIL_ADDRESS =
'[email protected]'
AND ENTDNT.ENT_TYPE_ID =
LC.ENTITLEMENT_TYPE_ID(+)
AND PLP.PRODUCT_DATA_ID(+) =
ENTDNT.PRODUCT_DATA_ID
AND PKD.PART_NUMBER(+) =
ENTDNT.LIC_PART_NUM
AND UPDNT.IS_DELETED = 'N'
AND ENTDNT.ENTITLEMENT_STATUS_ID IN
(0, 4)
AND ENTDNT.IS_DELETED = 'N')
WHERE (UPPER (GENERIC_PRODUCT_NAME_EXT) LIKE
'%IDRAC%')
OR (ORDER_NUMBER LIKE '%251608469%')
OR (ENTITLEMENT_REF_ID LIKE '%162523200%')
OR (DEVICE_ASSET_ID LIKE '%162523200%')
OR (DEVICE_UNIQUE_ID LIKE '%162523200%')
OR (SWSERVICETAG LIKE '%162523200%')
OR (UPPER (PRODUCT_DESC) LIKE
'%162523200%'))
WHERE (UPPER (GENERIC_PRODUCT_NAME_EXT) LIKE
'%575757%')
OR (ORDER_NUMBER LIKE '%251608469%')
OR (ENTITLEMENT_REF_ID LIKE '%162523200%')
OR (DEVICE_ASSET_ID LIKE '%162523200%')
OR (DEVICE_UNIQUE_ID LIKE '%162523200%')
OR (SWSERVICETAG LIKE '%162523200%')
OR (UPPER (PRODUCT_DESC) LIKE '%162523200%')) A
WHERE ROWNUM <= 100)
WHERE RNUM >= 1) B;
yes..you are 100% correct. I did mistake with like operator. now I executed the below query. displaying all oracle related tables and indexes. Thank you.
SELECT object_name, object_type
FROM user_objects
WHERE object_name LIKE '%ORACLE%'
but here I have a problem. how can i run the below select for my above query?
SELECT *
2 FROM Entitlement_dnt
3 WHERE CONTAINS (search_cols, REPLACE (:i_OpenSearchText, ',', ' AND ')) > 0
here what can I do the value for :I_opensearchText ? confused.
please help me..!!
Regards
AR -
Oracle Text Search Enabling, Content Server does not start
We are trying to enable Oracle Text Search in UCM 11g that uses 11g Database. We followed instructions to add parameter 'SearchIndexEngine=OracleTextSearach' to config.cfg and restart content server. Content server doesn't come back up with the following error showing up:
Are there any extra steps to follow to enable Search Indexer Engine?
<Apr 27, 2015 4:50:29 PM PDT> <Error> <oracle.ucm.idccs> <UCM-CS-050021> <Oracle WebCenter Content failed to initialize inside its servlet environment.>
<Apr 27, 2015 4:50:29 PM PDT> <Error> <oracle.ucm.idccs> <UCM-CS-000001> <general exception
intradoc.common.ServiceException:
at intradoc.server.IdcServerManager.init(IdcServerManager.java:259)
at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:627)
at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:457)
at intradoc.idcwls.IdcIntegrateWrapper.initializeServer(IdcIntegrateWrapper.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:88)
at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
at idcservlet.ServletUtils.initializeContentServer(ServletUtils.java:1259)
at idcservlet.ServletUtils.startAndConfigureServer(ServletUtils.java:531)
at idcservlet.ServletUtils.initializeAllServers(ServletUtils.java:460)
at idcservlet.IdcFilter.initContentServer(IdcFilter.java:181)
at idcservlet.IdcFilter.init(IdcFilter.java:156)
at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:343)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:96)
at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:57)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1877)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3174)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1527)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:489)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:672)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:187)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:379)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:31)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:170)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:124)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: intradoc.data.DataException: !csSearchIndexerEngineNotExist,DATABASE.ORACLETEXTSEARCH
at intradoc.shared.CommonSearchConfig.createDataException(CommonSearchConfig.java:2580)
at intradoc.shared.CommonSearchConfig.setCurrentConfig(CommonSearchConfig.java:1041)
at intradoc.shared.CommonSearchConfig.init(CommonSearchConfig.java:178)
at intradoc.server.SearchIndexerUtils.initSearchIndexerConfig(SearchIndexerUtils.java:64)
at intradoc.server.IdcSystemLoader.initSearchIndexerConfig(IdcSystemLoader.java:1338)
at intradoc.server.IdcSystemLoader.loadCaches(IdcSystemLoader.java:1255)
at intradoc.server.IdcServerManager.init(IdcServerManager.java:141)
at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:627)
at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:457)
at intradoc.idcwls.IdcIntegrateWrapper.initializeServer(IdcIntegrateWrapper.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:88)
at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
at idcservlet.ServletUtils.initializeContentServer(ServletUtils.java:1259)
at idcservlet.ServletUtils.startAndConfigureServer(ServletUtils.java:531)
at idcservlet.ServletUtils.initializeAllServers(ServletUtils.java:460)
at idcservlet.IdcFilter.initContentServer(IdcFilter.java:181)
at idcservlet.IdcFilter.init(IdcFilter.java:156)
at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:343)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:96)
at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:57)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1877)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3174)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1527)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:489)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:672)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:187)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:379)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:31)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:170)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:124)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>
<Apr 27, 2015 4:50:29 PM PDT> <Error> <ServletContext-> <BEA-000000> <There is an initialization failure during start up of UCM.>
<Apr 27, 2015 4:50:29 PM PDT> <Error> <ServletContext-> <BEA-000000> <Could not start server of type 'server' at default relative web root URL 'cs'.
javax.servlet.ServletException: Could not start up IDC server deployment.
at idcservlet.ServletUtils.initializeContentServer(ServletUtils.java:1268)
at idcservlet.ServletUtils.startAndConfigureServer(ServletUtils.java:531)
at idcservlet.ServletUtils.initializeAllServers(ServletUtils.java:460)
at idcservlet.IdcFilter.initContentServer(IdcFilter.java:181)
at idcservlet.IdcFilter.init(IdcFilter.java:156)
Truncated. see log file for complete stacktrace
Caused By: java.io.IOException: Oracle WebCenter Content failed to initialize inside its servlet environment.
at intradoc.idcwls.IdcIntegrateWrapper.initializeServer(IdcIntegrateWrapper.java:139)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
Truncated. see log file for complete stacktrace
Caused By: intradoc.common.ServiceException:
at intradoc.server.IdcServerManager.init(IdcServerManager.java:259)
at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:627)
at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:457)
at intradoc.idcwls.IdcIntegrateWrapper.initializeServer(IdcIntegrateWrapper.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
Caused By: intradoc.data.DataException: !csSearchIndexerEngineNotExist,DATABASE.ORACLETEXTSEARCH
at intradoc.shared.CommonSearchConfig.createDataException(CommonSearchConfig.java:2580)
at intradoc.shared.CommonSearchConfig.setCurrentConfig(CommonSearchConfig.java:1041)
at intradoc.shared.CommonSearchConfig.init(CommonSearchConfig.java:178)
at intradoc.server.SearchIndexerUtils.initSearchIndexerConfig(SearchIndexerUtils.java:64)
at intradoc.server.IdcSystemLoader.initSearchIndexerConfig(IdcSystemLoader.java:1338)
Truncated. see log file for complete stacktraceCan you let us know the config.cfg entry in your Environment for SearchIndexerEngineName.
Is it SearchIndexerEngineName= DATABASE.ORACLETEXTSEARCH ? It should be as below
SearchIndexerEngineName=ORACLETEXTSEARCH -
am working as a dba and we plan to introduce oracle text for text search. since I am new to this concept, I would like to know step by step implementation of Oracle text. I've searched some web sites but still not clear on the implementation part.
Please help me outHi,
Oracle Text is included in both standard and enterprise editions of the data server. When you are creating your database, select Oracle Text during configuration (one of the options). You will then have Oracle Text available on your database. The schema name is CTXSYS. You need to unlock this account just like any other.
To use Text, either grant permissions on the specific objects you need for the user, or use the CTXAPP role. It is up to you to know the permissions required for the objects (in other words, I can't tell you your requirements), so research this in the reference manual.
At this point, it is ready to use. Just create your indexes according to the Oracle Text Developer's Guide (you can find this with all of the documentation - look at the Application Developer's tab in Doc Library). Your search syntax depends totally on your requirements, and the type of index you choose to create. For example, the CONTEXT index uses the CONTAINS operator, and the CTXCAT index uses CATSEARCH (unless of course you want to use templates, but let's not go there just yet...).
There are two references you will want to review: The Oracle Text Developer's Guide and the Oracle Text Reference.
Hope this helps,
Ron -
Online help index error w.r.t oracle text
Hi,
Error creating online help index.
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine ORA-20000: Oracle Text error: DRG-10700: preference does not exist: CTXSYS.DEFAULT_LEXER
when i click on help on htmldb and then when i click on find. i get this following error.
how do i fix this error.
Can someone help me please.
THanks,
Philip.Steps to resolve the domian index creation problem:
Step 1: Ensure the schema CTXSYS does not exist, if exists ignore the execution of “step 2”.
Step 2: Add the below mentioned statement above the existing statement(also mentioned below) in the catctx.sql file which is in the $ORACLE_HOME/ctx/admin" location.
Existing statement : Rem CTXDEF.sql - ctx default object creation
Statement to be added: grant execute on CTX_DDL to ctxsys ;
In SYS user login, execute the script to create CTXSYS schema and its related objects after confirming below parameters to this script
ctxsys - password of CTXSYS schema
SYSAUX - default tablespace
TEMP - default temp tablespace (Replace if your database default temporary tablespace is different)
SQL>@$ORACLE_HOME/ctx/admin/catctx.sql ctxsys SYSAUX TEMP NOLOCK
Step 3: In SYS user login execute the below script to recompile user objects
SQL>@$ORACLE_HOME/rdbms/admin/utlrp.sql
Step 4: In CTXSYS user login, execute the below script to create default preference for language ENGLISH
SQL>@$ORACLE_HOME/ctx/admin/defaults/drdefus.sql
Step 5 : In SYS User login ,execute the below script to give grant permission
SQL>grant ctxapp to DBusername identified by Password;
SQL>grant select on ctxsys.dr$preference to DBusername;
SQL>grant execute on CTX_DDL to DBusername;
Step 5: Login as DB user and execute the below drop index script if any already exists in same name
SQL>DROP INDEX LEI_CATALOG_SEARCH_SFIELD
Step 6: Login as DB user and create the below domain index
SQL>CREATE INDEX LEI_CATALOG_SEARCH_SFIELD ON LET_CATALOG_SEARCH (SEARCH_FIELD) INDEXTYPE IS CTXSYS.CONTEXT;
Regards,
Kamal.C
Edited by: 871818 on Jul 12, 2011 2:17 AM -
Oracle Text, create index (indextype is ctxsys.context)
Dear sirs,
I am a new user of Oracle Text (Oracle 11g release 11.2) and I am unable to create an index of type ctxsys.context). Any suggestions?:
code:
drop table mytable;
drop index myindex force;
create table mytable(id number primary key, docs clob);
insert into mytable values(111555,'this text will be indexed');
insert into mytable values(111556,'this is a default datastore example');
commit;
create index myindex on mytable(docs)
indextype is ctxsys.context
parameters ('DATASTORE CTXSYS.DEFAULT_DATASTORE');
+++++++
error messages:
create index myindex on mytable(docs)
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366Please check for invalid objects. Log on as sys or system and run:
select owner, object_name, object_type from all_objects where status='INVALID';
Post the results here and we'll advise the next step.
If any objects owned by CTXSYS are invalid you may need to recompile the CTXSYS schema. -
Ultra Search/ Oracle Text capabilities
Our decision to go forward with Oracle9i is contingent upon the extensible use of Ultra Search and Oracle Text in our planned endeavors.
Basically we are to build a system to do the following:
1) download information (html files, links, documents) from web sites and accessible disk archives. The url sites are particular to a domain.
2) place the downloaded file information into our Oracle database or download to local system with appropriate links in database.
3) perform queries on the downloaded information through the database to isolate files for analysis.
4) analyze and perform extraction on the information. For example, query based on a defined hierarchy of vulnerability terms.
I've demoed Ultra Search and Oracle Text. I believe that Ultra Search can handle step 1, and possibly step 2 and that Oracle Text can help in step 4. Step 3 is satisfied by the Oracle database.
I need to know details concerning Ultra Search and Oracle Text before committing:
o when Ultra Search performs its crawling, how is found information represented in the database. Is a whole html file or document downloaded or are references to these documents stored in the database? If references are stored does Ultra Search embed the capability to download these files to be analyzed?
o is Oracle Text the right tool to provide the capability for robust analysis of downloaded documents.
o I have used the sample JSP that came with Ultra Search. Are there any more detailed examples which my above steps. In particular, performing robust analysis on downloaded documents from step 1.
We have and are still exploring other COTS products to find a solution. Are main goal is to have the retrieved documents and analysis information resident in the database in this phase of our project. We find other COTS can perform the web crawling, but lack analysis, or vice versa and that their solutions are so vendor specific that in many times their services would be required to build a suitable solution that is not very extensible.
Thanks for any feedback.Ultra Search does not keep documents in the database permanently. We bring them in for indexing purposes, but remove them after
the indexing is completed. However, we keep the URLs of each unique document that was found during the crawling. You would
have to do the downloading yourself. However, we are thinking about providing a mechanism, maybe in the form of an API, that
would allow customers to retrieve documents. Please contact me on this issue if you are interested to discuss this: (650)-506-8173.
Generally speaking you will find that Oracle Text is a very powerful tool for analysis of textual documents, especially since it is
driven through the SQL language, has extensive functionality (themes, user-defined knowledge base, thesaurus, and many useful linguistic
functions like segmentation, stemming, and globalisation support).
The philosophy of Ultra Search is to provide you with an out-of-the-box solution for crawling and searching your data without the
need for programming. Ultra Search is built on top of Text, so I would advise you to use Text to do the further analysis of your
documents after they have been located by the crawler.
Best Regards,
Stefan Buchta
Maybe you are looking for
-
I've just enabled match and now my new purchases do not show up on my account. I can only access them buy going into purchase playlist?
-
Billing Plan with 2 invoices:1st:Down Pymt Type,2nd related to deliv.
Hello Gurus, My customer has this need: Customer must pay a percentage before sending the goods (Down Payment Type) Then, when it is paid, the following invoice should be based on the real delivered quantity: When they pick the goods, if a part of th
-
IDOC Ack status back to XI/BPM ?
Hi i have done File to Idoc scenario, and want to get acknowledgemnents inside XI/BPM. i hv proivded port,client,message type and selected 'Request acknowledgement' tab and executed report 'IDX_NOALE'. but im not getting any acknowledgement status in
-
Activating Confirmation Tab in Return Purchase Order
Hello, My problem is when I am creating a return in me21n, in the item header when I cliked in the confirmation tab it is not active. How can I activate this ?
-
How to install CC onto a second device?
I've installed CC onto my iMac, but I also want to put it on my mac book pro, I've been told it works on up to 2 devices but how?