File_datastore not indexing correctly (oracle version 10.2.0.1.0)
Problem:
(1) Created an index on a VARCHAR2 column that contained text from a given file (single row).
Used direct_datastore to create index.
Selected count(*) from the index and received a count of 109.
(2) Created an index on VARCHAR2 column that contained a file location for a file on the file system which contains the same data as in (1).
Used file_datastore to create index.
Selected count(*) from the index and received a count of 17.
The data that is getting indexed is Arabic.
Index for direct_datastore works as expected when performing a query but the file_datastore does not.
Any ideas why the files are not getting parsed correctly and what I could do to resolve?
Database properties
NLS_LANGUAGE = AMERICAN
NLS_CHARACTERSET = AL32UTF8
NLS_NCHAR_CHARACTERSET = AL16UTF16
Commands used to create indexes:
(1) create index globaldoc_index on globaldoc(text_data)
indextype is ctxsys.CONTENT
parameters ('datastore CTXSYS.DIRECT_DATASTORE,
filter ctxsys.null_filter, lexer world_lexer, languange column language,
charset column characterset')
(2) create index globaldoc_index on globaldoc(filepath)
indextype is ctxsys.CONTENT
parameters ('datastore CTXSYS.FILE_DATASTORE,
filter ctxsys.null_filter, lexer world_lexer, languange column language,
charset column characterset')
Data in table globaldoc:
language = ar
characterset = AL32UTF8
Can you try the the second case with Auto Lexer?
create index globaldoc_index on globaldoc(filepath)
indextype is ctxsys.CONTENT
parameters ('datastore CTXSYS.FILE_DATASTORE,
filter ctxsys.null_filter, lexer auto_lexer, languange column language,
charset column characterset')
Auto lexer should determine the language of the document automatically.
Also, you can create your own lexer specifying the language of the lexer and use the same while creating the index.
Similar Messages
-
Trying to find the correct Oracle version for SCO Unix 5.06
Please I will appreciate you can help me indicating where can I download the correct Oracle version for SCO Unix 5.06. I have downloaded the Tru64 Compaq version but it is not working with SCO.
Best regards
Armando Delgado
00511 8105860
So that we may better diagnose DOWNLOAD problems, please provide the following information.
- Server name
- Filename
- Date/Time
- Browser + Version
- O/S + Version
- Error MsgThis is pretty old. From the certify matrix, you can see the last available versions this platform supported were 9.0.1 and 8.1.7, just for the Intel SCO Open UNIX 8 with LKP. SCO 5.0 last time I used it was with an Oracle7.3 release. In case you don't have software it'll be hard to find, unless you address this to your Oracle Representative.
Are you absolutely required to run on this version? Otherwise, you could try new software and new oracle releases, unless you want to run unsupported.
~ Madrid. -
Hi,
I impdp the few schemas from full dump file of the Production DB to Dev env. i realized after that system password was changed and OEM stop running. when i started the OEM and then try to get the page its shows this error. secondly i am not able to login as system. looks like the password is changed. infact i impdp as system. the account status of system shows open. its not a grid enterprise or RAC.
503 Service Unavailable
Service is not initialized correctly. OMS version 10.2.0.4.2 is not compatible with repository version 10.2.0.4.3.
OEL version :Linux dev-dt 2.6.32-358.6.2.el6.x86_64 #1 SMP
Oracle Version :Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Please suggests..
Edited by: 975484 on May 21, 2013 6:49 AM
Edited by: 975484 on May 21, 2013 6:50 AM975484 wrote:
Hi,
I impdp the few schemas from full dump file of the Production DB to Dev env. i realized after that system password was changed and OEM stop running. when i started the OEM and then try to get the page its shows this error. secondly i am not able to login as system. looks like the password is changed. infact i impdp as system. the account status of system shows open.
503 Service Unavailable
Service is not initialized correctly. OMS version 10.2.0.4.2 is not compatible with repository version 10.2.0.4.3.
OEL version :Linux dev-dt 2.6.32-358.6.2.el6.x86_64 #1 SMP
Oracle Version :Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Please suggests..recreate EM repository -
After upgrading my findutils from 4.2.33-1 to 4.4.0-1, it is not working the way it used to. I downgraded to the old one and it is working fine again. However, I am wondering why the newer version can't do what I want it to...
Typically I run the following script to apply mp3gain to my music collection (albums and individual songs):
#!/bin/bash
echo Albums...
find . -mindepth 3 -iname '*.mp3' -execdir mp3gain -k -a {} +
echo Single tracks...
find . -maxdepth 2 -iname '*.mp3' -exec mp3gain -k -r {} +
On the old version, for the albums, the "find" function works as expected by examining the entire album before applying gain. With the new findutils version, the albums are being analysed song-by-song. I suppose since the new version of findutils, there is just a different method to do what I wanted before with -execdir. Does anyone know how to do it on the new version?
Last edited by tony5429 (2008-07-19 06:29:41)Cool. Thanks for the suggestion. I ended up going with...
#!/bin/bash
echo Albums...
for album in */*
do
cd "$album" > /dev/null 2>&1
if [ $? = 0 ]
then
mp3gain -k -a *.mp3
cd ..
cd ..
fi
done
echo Single tracks...
find . -maxdepth 2 -iname '*.mp3' -exec mp3gain -k -r {} +
exit 0 -
Case statement Not working with Oracle version 10g
Below is code , which works on 11r2 but not on 10g.
declare
v1 VARCHAR2(200);
begin
select version into v1 from DBA_REGISTRY WHERE COMP_NAME LIKE '%Catalog Views%';
CASE
WHEN v1 like '10.2%' THEN
DBMS_OUTPUT.PUT_LINE('it is 10.2');
dbms_streams_auth.grant_admin_privilege('GGADMIN');
WHEN v1 like '11.1%' THEN
DBMS_OUTPUT.PUT_LINE('it is 11.1');
dbms_streams_auth.grant_admin_privilege('GGADMIN');
EXECUTE IMMEDIATE 'grant become user to GGADMIN';
WHEN v1 like '11.2.0.3%' THEN
DBMS_OUTPUT.PUT_LINE('it is 11.2.0.3');
dbms_goldengate_auth.grant_admin_privilege('GGADMIN');
END CASE;
end;
/I dont know when i run code in 10.2 it still looks for dbms_goldengate_auth
and error out.
dbms_goldengate_auth.grant_admin_privilege('GGADMIN');
ERROR at line 18:
ORA-06550: line 18, column 1:
PLS-00201: identifier 'DBMS_GOLDENGATE_AUTH.GRANT_ADMIN_PRIVILEGE' must be declared
ORA-06550: line 18, column 1:
PL/SQL: Statement ignoredif I comment dbms_goldengate_auth it returns perfect result.
it is 10.2
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.03Is there any other way around ????
Edited by: 949509 on Jan 27, 2013 6:57 PM949509 wrote:
Can you please tell me How i can execute dynamic sql via execute immediate.In a very simialr was as you did the grant of become user in your code. SOmething like:
declare
v1 VARCHAR2(200);
l_grant_str VARCHAR2(1000);
begin
select version into v1 from DBA_REGISTRY WHERE COMP_NAME LIKE '%Catalog Views%';
CASE
WHEN v1 like '10.2%' THEN
DBMS_OUTPUT.PUT_LINE('it is 10.2');
l_grant_str := 'dbms_streams_auth.grant_admin_privilege(''GGADMIN]'')';
WHEN v1 like '11.1%' THEN
DBMS_OUTPUT.PUT_LINE('it is 11.1');
l_grant_str := 'dbms_streams_auth.grant_admin_privilege(''GGADMIN'')';
EXECUTE IMMEDIATE 'grant become user to GGADMIN';
WHEN v1 like '11.2.0.3%' THEN
DBMS_OUTPUT.PUT_LINE('it is 11.2.0.3');
l_grant_str := 'dbms_goldengate_auth.grant_admin_privilege(''GGADMIN'')';
END CASE;
execute immediate l_grant_str;
end;John -
Pooled Connection not supported in oracle forms 11g
Dear all,
I am using oracle from builder (11.1.1.4) and oracle database 11g Release 2. I can connect to the database from oracle forms 11g, when I use a dedicated or shared server connection mentioned in the tnsnames.ora file . But I want to use the oracle database 11g's new feature DRCP (Database Resident Connection Polling).
To do this a made a another POOLED connection (SERVER=POOLED) in the tnsnames.ora.I can connect to the 11g r2 database server from sqlplus using POOLED connection. But when I try it from form builder (11.1.1.1.4) it gives error with some unknown characters.
Then I tried it in linux frmcmp the message i got in terminal is can not *"Cannot obtain ORACLE version number"*
I have googled and also checked in metalink. But I got nothing.Thanks in advance for your help.I don't think this feature is feasible for forms.
Quoting the documentation from
http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/manproc002.htm
Database Resident Connection Pooling (DRCP) provides a connection pool in the database server for typical Web application usage scenarios where the application acquires a database connection, works on it for a relatively short duration, and then releases it.
Forms keeps a permanent connection to the database, so a connection pool isn't gonna help you in any way.
cheers -
'The provider is not compatible with the version of Oracle client' exceptio
Hi
I installed ODAC-11.1.0.7.10 Beta on my development system and developed a .net application which uses Oracle.DataAccess.dll to connect to Oracle10g database.
the application is working fine, means opening connection successfully when I run it from my development system. but the same application is throwing
'The provider is not compatible with the version of Oracle client' exception when I run it on my 10g database server system.
what I need to do to run the application successfully on the machine where 10g server exists?
any help is appreciated.
thanks,
harryHi Harry,
I am not sure why you installed 11.1.0.7.10 Beta as 11.1.0.7.20 has been released and you should not be using the beta at this time. That error message is because the dependencies being loaded by the process are the wrong version. When you deploy an ODP .NET application using 11.1.7.x, you need to make sure you deploy it to a machine where the 11.1.0.7.x dependencies are installed. My guess is if I read your poat correctly is that Oracle.DataAccess.dll version 11.1 is loaded but its finding 10.2 dependencies on the target deployment box.
HTH
Jenny -
MS Office 2007 files are not being indexed (Failed to Index) in oracle
Oracle is not able to index MS Office 2007 files who are having extensions like *.docx, *.pptx, *.xlsx. I googled and found that its a bug in oracle. Have they released the fixes for it.
Request to please help me in this regarduser10933671 wrote:
There is no particular error it shows. The files are not getting indexed. In our application it says currently *.docx files are not index. My Oracle client is of version 10.2.0.
Since am really new to this, can you please tell me where i can find Metalink note 732823 as am not a paid customer.
That would be a problem. Access to patches (and MetaLink) are part of what you pay for when you buy a support contract.
Plz help me in this regard
Thanks in advance
Edited by: user10933671 on Apr 15, 2009 5:53 AM -
VS2010 with Oracle 11g Release 2 giving Package did not load correctly
Hey ,
I had a Oracle 11g Release 1 11.1.0 installed on my machine. I had a client and over that a installation for Visual Studio tools for VS2008 installed. So in the directory of 11.1.0 I had two folders of Client 1 and Client2 . I was able to use the tools in VS very well and everything was perfect.
Recently my company has decided to shift to VS2010. Now when I installed Oracle Release 2 11.2 client, it worked perfect ( tested using toad ). But when I install the tools ODTwithODAC112012, it has an issue that when I fire up VS2010 and try to add connection, it gives an error popup saying : " The 'Oracle Developer Tools for Visual Studio .NET' package did not load correctly. It asks me load VS in log mode and see the Activity log. The Activity Log gives the following entry :
<errorinfo>Could not load file or assembly 'Oracle.VsDevTools, Version=4.112.1.2, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The system cannot find the file specified.</errorinfo>
</entry>
The assembly Oracle.VsDevTools is loaded in GAC which I've checked . So, questions in my mind :
a. Can we have both 11.1 and 11.2 in the same machine, is that the issue?
b. Any solution to solve this issue. Both the setup's go smoothly without any errors. Also I am able to connect to oracle very easily using toad.
Would appreciate any help.
Thanks,
SumitYou'll probably have better luck posting this over in the ODT forum, but be sure to check the Package Load Failure sticky at the top first..
Oracle Developer Tools for Visual Studio
Having multple versions of ODP installed at once generally isnt a problem but I haven't tried a situation where I've tried to have multiple ODT's at once.
Greg -
I have updated to version 11 of itunes and now it wont open comes up with comment saying it is not installed correctly or corrupt. Help
A complete uninstall/reinstall is worth a crack with that one:
Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7 -
my laptop will not open iTunes, as it just says 'This version of iTunes has not been correctly localised for this language. Please run the English version'. I have not synconised my iPhone 5S or iPad 2 with iTunes for well over a year. I noticed the music which had previously been put into iTunes has dissappeared from my phone and iPad. I also want to remove some movies from my iPad and iPhone and there is no way I can do this without being able to manually sync with the Laptop which is running windows 7. Has anyone else come across this and please can you help? I am no expert in fact I know very little about the Laptop, it is my Husbands baby but he doesn't understand anything to do with Apple including iTunes. I will need any advise explained step by step please.
Hi Shelady,
Try downloading and reinstalling the latest version of iTunes from the first link below. If that doesn't do it, the suggestions in the second article should resolve the installation issue.
Apple - iTunes - Download iTunes Now
http://www.apple.com/itunes/download/
Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
http://support.apple.com/kb/HT1923
-Jason -
Error :"The provider is not compatible with the version of Oracle client"
Hi guys!
I'm facing this problem:
When my .Net application tries to access the DB, I get this error message above.
The application is into the same machine of DB and the operational system is Windows Server Enterprise 64 bits.
I'm comparing to another machine that has the same scenario but runs in Windows Vista 64 bits. This problem doesn't happen and I can normally access the DB.
The both database versions are 10g Release 2 (10.2) and all components from Oracle Database Components 10.2.0.2.21 are installed as the containing bellow:
-Oracle Data Provider for .NET 1.x 10.2.0.2.20
-Oracle Data Provider for .NET 2.0 10.2.0.2.20
-Oracle Developer Tools for Visual Studio .NET 2003 10.2.0.2.20
-Oracle Developer Tools for Visual Studio 2005 10.2.0.2.20
-Oracle Provider for OLE DB 10.2.0.2.20
-Oracle Objects for OLE 10.2.0.2.20
-Oracle Services For Microsoft Transaction Server 10.2.0.1.0
-Oracle Net 10.2.0.1.0
-Oracle Universal Installer 10.2.0.2.0
Oracle.DataAcces.DLL is 2.102.2.20 and it is reference in my .Net app (that is published and located into IIS).
These are the Oracle assemblies installes in 'C:\Windows\Assembly':
Windows Vista Machine:
ASSEMBLY NAME VERSION CULTURE PUBLIC KEY TOKEN PROCESS ARCHITECTURE
Oracle.DataAccess 10.2.0.100 Neutral 89b483f429c47342
Oracle.DataAccess 1.102.2.20 Neutral 89b483f429c47342
Oracle.DataAccess.resources 10.2.0.100 pt-BR 89b483f429c47342
Oracle.DataAccess.resources 10.2.0.100 it 89b483f429c47342
Oracle.DataAccess.resources 10.2.0.100 fr 89b483f429c47342
Oracle.DataAccess.resources 10.2.0.100 es 89b483f429c47342
Oracle.DataAccess.resources 10.2.0.100 de 89b483f429c47342
Oracle.Management.Omo 2.102.2.20 Neutral 89b483f429c47342 x86
Oracle.VsDevTools 2.102.2.20 Neutral 89b483f429c47342 x86
Policy.10.1.Oracle.DataAccess 1.102.2.20 Neutral 89b483f429c47342
Policy.10.2.Oracle.DataAccess 1.102.2.20 Neutral 89b483f429c47342
Windows Server Machine:
ASSEMBLY NAME VERSION CULTURE PUBLIC KEY TOKEN PROCESS ARCHITECTURE
Oracle.DataAccess 10.2.0.100 Neutral 89b483f429c47342
Oracle.DataAccess 1.102.2.20 Neutral 89b483f429c47342
Oracle.DataAccess 2.102.2.20 Neutral 89b483f429c47342 x86
Oracle.DataAccess.resources 10.2.0.100 pt-BR 89b483f429c47342
Oracle.DataAccess.resources 10.2.0.100 zh-CHT 89b483f429c47342
Oracle.DataAccess.resources 10.2.0.100 zh-CHS 89b483f429c47342
Oracle.DataAccess.resources 10.2.0.100 ko 89b483f429c47342
Oracle.DataAccess.resources 10.2.0.100 jp 89b483f429c47342
Oracle.DataAccess.resources 10.2.0.100 it 89b483f429c47342
Oracle.DataAccess.resources 10.2.0.100 fr 89b483f429c47342
Oracle.DataAccess.resources 10.2.0.100 es 89b483f429c47342
Oracle.DataAccess.resources 10.2.0.100 de 89b483f429c47342
Policy.10.1.Oracle.DataAccess 1.102.2.20 Neutral 89b483f429c47342
Policy.10.2.Oracle.DataAccess 1.102.2.20 Neutral 89b483f429c47342
Policy.9.2.Oracle.DataAccess 10.2.0.100 Neutral 89b483f429c47342
Policy.9.2.Oracle.DataAccess 1.102.2.20 Neutral 89b483f429c47342
What should I check and do to solve this problems?
Thanks for help,
AndersonHi,
Often the error "The provider is not compatible with the version of Oracle client" is raised when the unmanaged dll OraOpsX.dll can't be found, can't be loaded, or is the wrong version. For version 10.2.0.x of ODP.NET and .NET Framework 2.x the file should be called "OraOps10w.dll" and should be found in the %ORACLE_HOME%\bin directory.
Since the ODAC pieces are installed on the same host as the database, are they in a separate Oracle Home or the same Oracle Home as the database software? If there are multiple Oracle Home directories, which one is in the system path first?
I would start with verifying the version of OraOps10w.dll and the system path on the server. You might also confirm that the Oracle Home directory (and everything under it) has the following permissions for Authenticated Users:
- Read & Execute
- List folder contents
- Read
Regards,
Mark -
The provider is not compatible with the version of Oracle client
We are running Server 2012 64 bit with multiple homes one is 32 bit and the other 64 bit. We installed the 64 bit first then the 32 bit next in order to get our Classic ASP WebSite that is using COM+ and OLEDB to see the provider.
C:\oracle\product\12.1.0\x86
C:\oracle\product\12.1.0\x64
The other Websites are ASP.Net 4.0 and are running in 64 bit application pools. They are using a DAL .Net assembly built x64 with a reference to the 64 bit ODP.Net version 4.121.1.0 in C:\oracle\product\12.1.0\X64\client_1\odp.net\bin\4.
I also see there is another folder C:\oracle\product\12.1.0\X64\odac_1\odp.net\bin\2.x with version 2.121.2.0. We are on running Framework 4.0 but when I switch to this version it works but with the version out of the bid\4 we are receiving the following error when the 64 bit Websites call the assembly:
The provider is not compatible with the version of Oracle client
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Oracle.DataAccess.Client.OracleException: The provider is not compatible with the version of Oracle client
Source Error:
Line 87: mDataSource = dataSource
Line 88: mConnectionString = GetDBConnectionString(dataSource)
Line 89: mConnection = New OracleConnection(mConnectionString)
Line 90: mParams = New List(Of IDbDataParameter)
Line 91: End Sub
I have not been successful in getting this to work after spending endless hours, so any help would be appreciated.Hi,
Oracle Client/ODP build with certified Visual C++ Libraries so application using ODP.NET requires "runtime components of Visual C++ Libraries" to be installed.
Oracle Database Client installation includes the Visual C++ Libraries but ODAC doesn't contain these libraries which may cause such issue.
Please check the Note 43208.1 for the particular version of Visual C++ installs with Oracle Database Client installation(e.g. 11.2.0 Database Client installs Visual C++ .NET 2005) and also you can refer the windows event log error massage to verify which version of Visual C++ is missing.
thanks and regards
Venkat -
Getting error "Column is not indexed " when executing query on ORACLE 10g
Hi all,
When executing the below query im getting the error "ORA-20000:Column is not indexed"
query:
select xmlelement("nexml:result",xmlattributes('http://namespaces.nextance.com/nex/xml' as "xmlns:nexml"),xmlelement("nexml:value",count(*))).getClobVal()
from "permission"
where ( ((contains(object_value,'(searchDocument) inpath(/permission/action)') > 0)) and ((existsNode(object_value,'/permission[resource/resourcekey/@type[. = "document"]]') = 1)) and ((contains(object_value,'(GeneralUser) inpath(/permission/principal/@name)') > 0)) and ((existsNode(object_value,'/permission[principal/@type[. = "group"]]') = 1)) and ((existsNode(object_value,'/permission[type[. = "allow"]]') = 1)) and ((contains(object_value,'(nexip) inpath(/permission/resource/resourcekey/field/@value)') > 0) or (contains(object_value,'(Corporate) inpath(/permission/resource/resourcekey/field/@value)') > 0) or (contains(object_value,'(ProcurementAgreement) inpath(/permission/resource/resourcekey/field/@value)') > 0) or (contains(object_value,'(Procurement) inpath(/permission/resource/resourcekey/field/@value)') > 0) or (contains(object_value,'(SalesAgreement) inpath(/permission/resource/resourcekey/field/@value)') > 0)) )
Then after checking some forum, i replaced "contains" with "ora:contains" and executed the query. Now im not getting the first error but got a new error "invalid relational operator"
So please help me in resolving the errors?
Thanks in advance.Anil kumar wrote:
Hi,
Thanks for your reply. Could you please explain your solution in detail?Hi,
I just have a try...
create table t (id int,my_lob clob)
begin
insert into t values(101,'Oracle redwood shores USA');
insert into t values (102,'HP palo alto USA');
insert into t values(103,'Capgemini FRANCE');;
end;
create index my_idx on t(my_lob) indextype is ctxsys.context
select *
from t
where contains(my_lob,'USA',1)>0
Output
ID MY_LOB
101 Oracle redwood shores USA
102 HP palo alto USA Hope it helps,
CKLP -
My iTunes will no longer download.
All of a sudden I get the message "This version of iTunes has not been correctly localized for this language. Please run the English version".
How do I fix this and run the English version again? .Start by trying to repair iTunes from the programs and features control panel.
Otherwise, for general advice see Troubleshooting issues with iTunes for Windows updates.
The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
tt2
Maybe you are looking for
-
AS3 issue embedding AS2 .swf files
Hi there, I'm attempting to create a menu navigation system with Flash/AS3 that opens up a series of older AS2 activities. At the moment I'm testing it with two buttons/two activities. The problem I'm having is that when I'm testing the navigation, t
-
I have a PC and my friend has a new Powerbook. Are there any chat programs out there such as Windows Live or iChat that we can use to have video conversations with each other? PC Windows XP Pro PC Windows XP Pro
-
SALESORDER - beginner question (BAPI_SALESORDER_GETLIST)
Hi all, Sorry for my dummy question now: I have to change salesorder with BAPI's. With the BAPI BAPI_SALESORDER_GETLIST I read the salesorder, the input Parameter are CUSTOMER_NUMBER and SALES_ORGANIZATION. I have to read all salesorder, which are th
-
I just don't want to relearn a new layout. I will also have to teach my 81 yr old father how it works as well.. Thanks
-
Network Cleints & Workstations installed with Win8 64bit or Win7 64 bit or 32bit
How do I get a normal computer? I purchased the notebook for home, legal litigation use. Second Asus G75VX Win8 64bit retail purchase configured as a Publicly Managed Network Domain Shared Lanman Server Workstation in User Mode. Highest Administrativ