DRG-50901 error cannot be reproduced to our test enviroments. Any ideas?
We get the following error
10:59:10,538#org.hibernate.util.JDBCExceptionReporter#ORA-29902: error in executing ODCIIndexStart() routine
ORA-20000: Oracle Text error:
DRG-50901: text query parser syntax error on line 1, column 1
From the logs we can see that the error was produced two times when the following keywords were searched:
1) key
2) doctoral
In our test enviroments when we search those keywords we cannot reproduce the error.
Also, we parse the search keywords doing what is described below:
1) escape reserved characters with "/", e.g test { becomes test/{
2) replace double quoted phrases with curly braces for exact match "test something" becomes {test something}
3) escape reserved words and add commas between words in order to search all the words of a phrase e.g looking something becomes /looking,/something
The exact query that runs and fails to the client is:
SELECT rownum as id,
x.* from (
SELECT SCORE(1) score,
ctx_doc.snippet('eqf_trans_ot_idx', et.EQF_TRANS_ID, '/key') as snippet
FROM eqf_trans et
WHERE 1 = 1
AND contains(et.ORACLE_TEXT_COLUMN, '/key', 1) > 0)x
WHERE ROWNUM<= 100;
and
SELECT rownum as id,
x.* from (
SELECT SCORE(1) score,
ctx_doc.snippet('eqf_trans_ot_idx', et.EQF_TRANS_ID, '/doctoral') as snippet
FROM eqf_trans et
WHERE 1 = 1
AND contains(et.ORACLE_TEXT_COLUMN, '/doctoral', 1) > 0)x
WHERE ROWNUM<= 100;
Any ideas why this may occur or how I can reproduce it???
You get the following stack:
ORA-29902: error in executing ODCIIndexStart() routine
ORA-20000: Oracle Text error:
DRG-50901: text query parser syntax error on line 1, column 1
when there is just about any syntax error caused by your search string, such as searching for a reserved word or stop word or null value. From what you have supplied, that does not appear to be the case. However, there are some unusual things about your query. You say that you are using / to escape, but the escape character is \ not /. You have where 1=1 which suggests that you may be constructing and executing the query dynamically. You use rownum in an outer query, but have not ordered in the inner sub-query.
I suspect that what you are running may be different from what you are posting and think you are running. You need to provide an actual copy and paste. It also helps if you include things like create table statement and insert statement for sample data, and create index statement. The various preferences in an index can make a big difference. You can use ctx_report.create_index_script to obtain and provide that.
There is a chance that you have hit some sort of bug. You should provide your Oracle version and try to narrow the problem down by eliminating one thing at a time. For example if you can show that the query does not produce an error with "where contains ..." but produces an error with "where 1=1 and contains ..." then that is significant.
Similar Messages
-
I cannot download the update for itunes - music stored on external drive as computer got full up - download error state invalid "H" drive ? anyone have any ideas ? Cheers
See "Invalid drive X:\" install errors.
tt2 -
Although system requisites met, get error message "OS X Mavericks cannot be installed on this computer". Any ideas? MacBook Pro w/ Lion...
Choose About this Mac from the Apple menu, click on More Info, and check the model identifier against the following, which are the earliest Macs of each type that can run Mountain Lion and Mavericks:
iMac7,1
MacBook5,1
MacBookPro3,1
MacBookAir2,1
Macmini3,1
MacPro3,1
Xserve3,1
(108637) -
My wife and I have both synced our iphones to the same desktop computer. She recently synced her ipad to the same computer. Now we cannot send messages to each other anymore. any ideas?
By signing up for an apple ID it means she will be able to download her own apps and music and in future redownload if required for free. Ideally it should be the primary email address she uses as you can't transfer purchases etc to another ID.
Photos shouldn't disappear but back them up before hand. These days everyone gets an iCloud.com address so she could use this as her ID. You would need to go to www.apple.com/iCloud from a computer to sign up for this. Bearing in mind you need a mac with lion or mountain lion or a pc with windows vista onward to take advantage of all services like calendar sync and find my iPhone etc.
Otherwise sign up for an apple id with any other email address. You can do this at https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/
AND Click on create an apple ID.
the applications linked to your existing apple ID will have to be redownloaded on the other ID but you won't lose them on yours. -
I cannot get the itunes store to work, it has an error code when I try to use it, any ideas?
What error code number are you getting, rodeo?
-
I have tried all the resets, the firmware is the latest version, the green light is on.
But I get this message "Unable to complete backup. An error occurred while creating the backup folder."
Any ideas?Do setup again.. but make sure both your wireless and your ethernet have ipv6 turned on to local link.
Done this OK, but no idea about IPv6 - something new to me and rather Appley I think?
Unplug the WAN for the moment.. Just LAN port TC to the MBPr ethernet via thunderbolt.. (thunderbird was the kids puppet series.. Thunderbirds are go!!). Done - New real people Thunderbirds movie coming out soon I believe!!!
Reset the TC again.. sorry.. !! You're welcome ... done.
Make sure the ethernet now has an IP address.. 10.0.1.2 - Yep - done that - on ethernet anyway ...
You need to open the network preferences to find out. Yep - that's good ...
****** I then reconnect the TC WAN to the router - is this right?
And then I think I start going round in circles ... boot, reboot, restart, reboot again ...
The final result is green light on TC, but error message when trying TM is "Backup disk is not available".
Then open the airport utility and you should be able to setup the TC.
Do as little setup as possible and then run the TM backup and see how it goes.
I have managed to get Thunderbird to LAN on TC to create a folder on TC and copy a file onto it.
So I guess the drive is working - it must be the software, settings or perhaps even the operator that isn't quite so clever ...
I named network RFG, named device RFGTC. RFG network shown as IP 192.168.0.72
Wireless router is BT Homehub 3 with IP of 192.168.0.254 - is this issuing new IP addresses when rebooting TC?
I have three wireless networks here - the BT Homehub3 wireless, the TC wireless, and also a D-link power socket ethernet thingy for an ethernet connection to the telly - DHP-W310AV which is also wireless link. All are effectively connected to the BT Homehub - is there a conflict there?
Have several times achieved in Airport Utility schematic with internet shown as green, RFGTC shown as green, light on TC green, but no TM backup run ... "backup disc not available."
And there are no tall building around here to hurl myself off ... at least you can go to Sydney Harbour bridge - not too far away ... it was my son in Sydney that persuaded me to scrap Windows and go Apple ... it's all his fault ... -
It will play in iTunes but just gives a black screen when I try o email. I get an error message when I try to upload. Any Ideas?? I've already reinstalled OS X
Not sure if this Term is Relevant towards an iPhone but, my iPhone won't Post unless if it's plugged into a Charger.
-
I am going through startup on Macbook Air 11. When I get to the "Sign in with Your Apple ID" screen, I keep getting the message, "Couldn't sign in because of server error." I am connected to wifi. Any ideas on how to proceed?
Hello KathyBrust
Check out the article below to go over a few troubleshooting steps with issues connecting to iCloud. If you are still stuck, there are other resources to get a resolution.
iCloud: Account troubleshooting
http://support.apple.com/kb/ts3988
Regards,
-Norm G. -
I'm trying to sign in on my itunes account but windows error come's up saying test connection any ideas.....
Make sure you have the right version...
Camera Raw plug-in | Supported cameras
Camera Raw-compatible Adobe applications -
i'm getting a 9041 error when trying to convert files to AAC -- any ideas on how to fix it? the files files in iTunes show up as Apple Lossless but i can't put them on my iPod
"I have been able to convert to AAC by first converting to AIFF and then to AAC. This is a pan though."
this worked for me.
thanks. -
Hi,
While installing XQuatrz-2.7.7, the installation blocks at the "destination" level. It asks how to install this soft, "Install for all users" is shadowed, but frozen: i cannot select anything and move on. Any idea how to get that fixed?
Thanks!It says above 2 relevant and 1 correct answere available .............
I'm new here so could anyone direct me to these answeres? -
I downloaded the latest iTunes software update and it properly installed. But, I cannot close the update window showing it was completed and the blue completion bar is full but cannot cancel or close it either. Any ideas on how to clear that out and close the window. Tried to quit on both the big window and the software update title in the menu bar. No luck.
Tried that by shutting down via the power button only as the normal shutdown was nixed by the open window issue. It did not help. Found a very similar question in the discussions and it recommended "Force Quit". That worked and the update works normal and the window is gone. Thanks!
-
Purchased Direct Access from iTunes. I cannot locate the download and I cannot download it a second time. Any ideas as to where the original download might reside?
Hi rogerfrommilwaukee,
Welcome to the Apple Support Community!
Previous purchases can be located in the Purchased section of either your iOS device or in iTunes on a computer. The purchases will be available to re-download as long as they are still available in the App Store and you are using the same Apple ID. Please use the attached article as a reference.
Download past purchases
Cheers,
Joe -
I have an iPod 2nd gen that keeps having an error code 9 when trying to restore. Any ideas on how to fix?
Error 9
This error occurs when the device unexpectedly loses its USB connection with iTunes. This can occur if the device is manually disconnected during the restore process. This issue can be resolved by performing USB troubleshooting, using a different USB dock-connector cable, trying another USB port, restoring on another computer, or by eliminating conflicts from third-party security software. -
TS1424 Getting an error 8008 when trying to download a movie, any ideas?
Getting an error 8008 when trying to download a movie, any ideas?
Is it the Star Trek film ? If it is then other people are having the same problem with it : https://discussions.apple.com/thread/5279174?tstart=0
Maybe you are looking for
-
Servlet only gets null values from mobile
OK, i'm doing a project for college which involves inputting data into an application on a mobile device, sending them to a servlet and updating a database. I've got my mobile app working and sending but the servlet is only receiving null values for
-
i want some help to implement a sort of a search results bar. after a search the results are put in dynamic pages. which looks like 1 2 3 >> at the bottom of the page which are links to a dynamic page? i basically perform the search.. on a database a
-
I'm setting up my new iMac and need digital audio out.
I'm running a top spec iMac with AVID and FCP. I need to export the audio to my amp as a digital signal. How can I do this???
-
Dynamically create javascripts using pl/sql code from page header
I understand by placing a javascript code in the page header is one of the way adding javascript functionality to your pages. But lets say I need (dynamically) bring my javascripts into the page header using my pl/sql package/functions like core_func
-
Execution of gi installation script failed windows
I have windows 2012, i tried install Oracle grid but in 83% , it get an error : INS-32123 execution of gi installation script failed . How can i solve?