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

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

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

Similar Messages

  • Excise Part-2 is not getting updated during the MIGO

    Dear Experts,
    When I am doing GR (MIGO), I am selecting the Excise posting transaction in "Excise" header tab as "Capture & Post Excise Invoice".
    But, here after posting the GR, only Part-1 is getting updated. Part-2 is not updating. Moreover, if I try to post the same vendor excise invoice in J1IEX, it is giving the error as " Part-1 not yet posted even though Part-1 is updated. Can any body suggest what is the root cause for the same?
    One more thing is, once I select "Only Capture Excise Invoice" during GR, in the normal process Part-1 is updating and I'll be able to post the Part-2 in J1IEX. There is no issue. But, I can't be able to post the Part-2 during GR.
    Note: I am receiving the goods against with the STO. And, we are paying the customs against with the STO. After paying the Customs Invoice, we are receiving the goods into our manufacturing Plant from logical plant.
    Thanks in advance for your action!!!!
    Regards,
    Satya
    Dear

    Hi Ashok,
    I went through the above note. It explains the causes that why the posting is not happening in J1IEX.
    And, as per the solution that is in that note, if we change the status of that excise invoice from 'P' to Blank in the table J_1IEXCHDR, then Vendor excise invoice will be cancelling.
    So, I guess this can't resolve my issue. Because, my issue is if I select "Only Capture Excise", the Part-1 is updating in MIGO and I am able to post the Part-2 in J1IEX. But, If I select "Capture & Post Ecxise Invoice" in MIGO, then only Part-1 is updating and even I am not able to post the Part-2 in J1IEX also as the status of the Excise Invoice is "Posted".
    And, this is happening frequently during MIGO while selecting "Capture & Post Excise". So, I guess the Function Module / BADI which updates the J_1IPART2 is not getting triggered during MIGO. Once it triggers in MIGO, then Part-2 will be posting in GR itself.
    Could you please let me know the standard FM / BADI which updates the Excise Invoice Part-2 (J_1IPART2). So that I'll check with my ABAPer whether it is triggering or not during the MIGO.
    Thanks,
    Satya

  • All or parts of character not printing in Windows 8

    HP DeskJet 6840 printer worked fine under Windows 7 but now on Windows 8, in some instances, parts of the first character in a line are missing and occasionally further missing characters across some lines.  In some cases, the top part of characters is missing and in some cases the last character in a line is missing part or all of itself.  The printer is connected to my LAN via cable (not wirelessly).
    The hardware test page prints just fine (tells me there is ink and the jets are clean) but the Windows Printer Test Page and other programs (Word, Excel, etc.) have this sporatic problem.  When printing to my other printer HP 6700 OfficeJet (from the same computer), I can print fine.  The 6700 is connected wirelessly.
    I have downloaded, removed, reinstalled the latest HP driver and all Windows updates are installed.  I'm ready to sell the printer on eBay and buy something else but though someone on this forum could offer suggestions.
    thank you in advance,
    Bob
    This question was solved.
    View Solution.

    Hi rcowen, Sorry to hear that you are having issue's with getting your printer to function properly with windows 8.   I have done some research and I have noticed that this model of printer is not supported with Windows 8.  Here is a document that shows the minimum system requirements. http://goo.gl/IMWBER
    What you can try to do is use the generic print driver from within windows 8.  If you go to the add a printer option with in windows 8 and select the Deskjet 990c print driver or the Deskjet 550c print driver and then connect your printer, this may resolve your issue.  I can not guarantee that this will work but I have had it prove to be successful for me in the past.
    One other option is, seeing that you have an HP printer, you may very well qualify for the "Trade In Trade Up" program that HP provides.  All you would need to do is call HP at 1-800-474-6836 and inquire about this option.  You will be asked for your serial number that is located on the back of your printer on a sticker that is near a bar code.
    If you have any other questions, please feel free to write back and I will be more than happy to assist you.
    Thank you
    Waterboy71
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • Parallel hint as part of index not working

    Hello,
    I think that I am misusing the parallel hint on this one, and would appreciate some guidance. I have an insert statement as such:
    INSERT INTO TABLE1
    SELECT column1, column2
    FROM table2;
    I modified the query so that it has a parallel:
    SELECT /*+ FULL(table2) PARALLEL(table2, 4) */
    column1, column2
    FROM table2;
    This parallel helps with the query's speed. However, when I use it with the insert statement on the top, it does not insert any record, nor does it give an error message:
    INSERT INTO TABLE1
    SELECT /*+ FULL(table2) PARALLEL(table2, 4) */
    column1, column2
    FROM table2;
    I put EXECUTE IMMEDIATE 'ALTER SESSION ENABLE PARALLEL DML'; at the beginning of the procedure, but that did not help.
    I really need the parallel to be in the SELECT statement, that statement runs for about 3 hours without a parallel (due to large amounts of data - no problems with query itself), however it returns only about 10,000 records, and I don't need to insert those with a parallel hint.
    Edited by: user577453 on Mar 17, 2009 12:25 PM -- Added last paragraph.

    user577453 wrote:
    I think that I am misusing the parallel hint on this one, and would appreciate some guidance. I have an insert statement as such:
    I put EXECUTE IMMEDIATE 'ALTER SESSION ENABLE PARALLEL DML'; at the beginning of the procedure, but that did not help.
    I really need the parallel to be in the SELECT statement, that statement runs for about 3 hours without a parallel (due to large amounts of data - no problems with query itself), however it returns only about 10,000 records, and I don't need to insert those with a parallel hint.First of all, your subject is probably supposed to be "Parallel hint as part of *insert* not working" rather than "Parallel hint as part of *index* not working", am I right?
    Can you show us the EXPLAIN PLAN output you get for your query and the one you get for your INSERT when using the parallel hints as posted?
    Please mention your database version (4-digits, e.g. 10.2.0.3).
    Please use DBMS_XPLAN.DISPLAY to format the EXPLAIN PLAN output if you're already on 9i or later, and please use the \ tag before and after the DISPLAY output to format it in fixed font for readability.
    What seems to be odd that you say that the result of the query seems to be different when using it as part of the INSERT statement? Are you sure that running the query standalone returns data whereas using exactly the same query in the INSERT statement inserts no records? This would be buggy behaviour.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • RG 23 Part II posting not done

    RG 23 Part II posting not done-this error is coming while doing MIRO.Pls solve.

    P1175357 wrote:
    RG 23 Part II posting not done-this error is coming while doing MIRO.Pls solve.
    HI,
    Can You elaborate your question?.
    AND also once check the seetings in spro->img->Logistics - General->Tax on Goods Movements->India->Maintain Excise Groups
    in that dont check the post ei in migo and save
    after completion of migo
    do j1iex for capture the value
    after that do miro.
    Thanking you.

  • I downloaded audiobook from iTunes. It comes in 2 parts. Part one will not play, only part 2. When I tried to sync to ipod or iphone it prompted,"file could not be reaf from or written to".Can I fix this issue?

    I just purchased and downloaded an audiobook from iTunes. I tried to sync it to iPhone 4 and iPod Classic but with both devices got a message"file could not be read from to written to".  Then I tried to play the audiobook in iTunes and realized that only part 2 of my 2 part download will play. Part 1 will not play. Is this why I got the message? Is there any way to get another try at downloading my audiobook I just paid $15 for??

    Click the Shuffle button at bottom left of iTunes window so the crossed arrows are not blue.

  • The feature: "Report part gallery" is not supported in this edition of Reporting Services.

    Struggling trying to get off the ground on same basic reporting functionality - I have a report that basically just dumps out the contents of a table for now.  When I attempt to publish the report, I get "The feature: "Report part gallery"
    is not supported in this edition of Reporting Services." for both the single param I am trying to define for the report and the Tablix report part.  What
    can I do with this version of Reporting Services?  Ultimately, I need to create a few very simple reports and then be able to display them in a UI developed in Visual Studio 2013 via a Web Form.  It seems that Visual Studio 2013 does not
    offer a report viewer so that is another issue entirely (hoping the one for 2011 will work).  I am just trying to design and publish a few simple reports right now and can't even get past that right now.

    Hello,
    What's the version and edition of SSRS did you used?
    Report Part Gallery is only available in Standard Edition and above. If you using SSRS express edition, you can try to create a subreport which ccontain the Tablix report part content, and then add the subreport in other reports to meet the similar requirement.
    You can refer to the following blog about compare Subreport with Report Part.
    http://www.mssqltips.com/sqlservertip/2314/ssrs-report-parts-versus-sub-reports-faq/
    As for display SSRS report in Visual Studio, you can using the ReportViewer controls in Visual Studio.
    http://msdn.microsoft.com/en-us/library/ms251671.aspx
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • My iPhone 5 bricked when upgrading to iOS 7. Now it is stuck at the activation part and will not activate.

    I downloaded the iOS 7 but it would not install so i tethered it to my computer the connect to iTunes screen came on the iPhone. But after a few minutes, it crashed and iTunes told me it was in recovery mode and that it will be restored to factory setting. After that process, it is stuck on the activation part and will not activate. Please advise!

    All of Apple's servers...including the activation servers are pretty much flooded with users like you doing the same thing. Be patient and keep at it...or wait till the traffic to them has decreased and then try again. Coming back to it tomorrow  (if that's a viable option for you) will likely increase your chances of not having issues.

  • Edit web part option does not appear in browser on lists

    I've inserted some lists on a wiki page. However, when viewing in the browser the checkbox and the dropdown containing the Edit Web Part option do not appear. On the properties tag I thought I enabled all the correct properties such as Allow Edit, Allow
    Minimize etc. What am I missing?

    Hi Larry,
    According to your description, my understanding is that the Edit web part option disappeared in the list web part.
    I recommend to check if the account has permission to edit the web part, please check the permission of the account in Site Permissions and the list permissions.
    Please also check if the target audience is set in the web part.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How do i get the "part of project not played" error to stop?

    My garageband app lately has been absolutely awful and everytime i do any recording will not let me play it back if im playing multiple tracks over eachother. In one project I have there is only one real acoustic track and when trying to record over it I am not able because a message is constantly popping up saying that the project can't be played because it has too many tracks, effects, or notes. I don't understand how this can be the case as I only have two tracks, no effects and minimal notes so there doesn't seem to be any reason why the project shouldn't be able to be played or recorded in real-time. Any help/suggestions are greatly appreciated.

    In addition to Edgar's explanation -
    is your profile signature "GarageBand (Mac) '11, OS X Mountain Lion (10.8.5)" still current? Just in case you already upgraded to OS X Mavericks, make sure you updated to the latest version 10.9.2. The 10.9.1 version had problems with the memory management, that have been fixed in the new update.
    You can check, how much memory is used by your applications from the "Activity Monitor" utility. You will find it in the "Utilities" folder in the "Applications" folder. Launch it and click the "Memory" tab, to see which applications are competing with GarageBand for the memory and should better be closed.
    To free as much memory as possible at once, restart the computer, if you are continually seeing "Part of project not played".

  • Parts master table not updating

    SP3 parts inventory table not updating even though set to synchronise through webtools

    thank you had to rebuild links on table

  • Condition not working if Part Number is not included in result

    Good day
    Please assist with the following?
    A user wants to display a summary of values for different key figures on all Parts belonging to certain vehicle categories. One of the key figures (KF1) must only display values > (greater than) u20180u2019. He does not want the Part number to display in the report, but KF1 must be based on the individual values of the parts, example if Part V001 has amounts u201C-R200.00u201D, u201CR10.00u201D and R20.00u201D, the summary total to be displayed in the result must = u201CR30.00u201D. (u201C-R200.00u201D must not be included)
    I have created a condition on this key figure (KF1) where I indicated the value > 0. When I run the query, the condition does not work on the summary of data, it still includes the values < (smaller than) u20180u2019.
    Is there a way I can display the correct values?
    Thanks in advance.
    Cj

    I am not sure if I understood your problem correctly. But to me seems like your problem can be solved at aggregates. I didnt understand your problem correctly, but let me put some pieces together and see of that helps you.
    Lets say you have 3 different KFs.
    KF1__KF2__KF3
    -200__10___20
    100___20___20
    Now if you create a fourth KF (CKF), you dont want to consider the negative values of KF1. Meanging CKF should display 30 and NOT -190.
    If that is the case for KF1, only, you can create one CKF1 which will calculate either 0 (if KF1 value is less than 0) or the KF1 value (if KF1 value is > 0). After this, your scenario will be,
    CKF1 = (KF1 > 0)*KF1+0
    KF1__CKF1_KF2__KF3
    -200____0____10___20
    100__100_____20___20
    After that create second CKF2 to sum CKF1 + KF2 + KF1
    KF1__CKF1__KF2__KF3__CKF2
    -200_____0___10___20____30
    100____100___20___20____140
    Now if your problem is that if part is not part of query result, you sitll want to perform this calculation at part level. In that case, you can create an exception aggregation for CKF2 as part level. So, even if part no is not in query, the calculation will be performed at part no level.
    - Dhaval.

  • Duplication in part numbers should not accepted while creating  material ma

    Hi all,
    How can i set Duplication in part numbers should not accepted while creating  material master. How can do this requirment plz help me.
    thanks
    ramesh

    hi,
    please check is there any user exit or BADI available and make use of it.

  • HT204365 Hi  I wonder if you could please assist me. I tried the online 'contact us" I  chose my iPad - but when I need to chose the second part - it does not give  me any options - hence I cannot go further?   My kindle does not want to open on my iPad.

    Hi
    I wonder if you could please assist me. I tried the online 'contact us" I
    chose my iPad - but when I need to chose the second part - it does not give
    me any options - hence I cannot go further?
    My kindle does not want to open on my iPad. When I touch it - a grey screen
    with kindle written in the middle appear for a few seconds. Then goes away.
    I have restarted the iPad - still the same? What else can I do?
    Thanks
    Maryna

    Judging by the reviews of the current version of the Kindle app you aren't the only one haveing problems with it - it looks like Amazon need to fix something with the app.
    Have you tried closing the Kindle app via the iPad's multitasking bar and seeing if it works when you re-open it ? Double-click the home button to open the taskbar, and then swipe or drag the Kindle app's screen from there up and off the top of the screen to close it, and click the home button to close the taskbar.
    You could also try deleting the app and redownloading it via the Purchased tab in the App Store app on it (you will then need to redownload your books in the app, assuming that it opens).

  • I have tried to download an audiobook that has Two parts.  The second part of the book downloaded.  But the First point did not.  I keep getting "Part 1 could not download at this time".  How can I get it to download?

    I have tried to download an audiobook that contains Two Parts.  The second part was successful in downloading.  However, the first part was not.  I keep getting "Part 1 could not download at this time".  I should have enough space for the download.  Any suggestions of what I can do?

    Answered in the other thread you posted in:
    i am trying to download new software and my mac keeps asking for the administrator name and password... i enter my apple…
    Please don't post in more than one place. It can lead to people wasting their time answering a question which has already been answered elsewhere.

Maybe you are looking for

  • Jaws and Cp 7.01.237 - not BFFs?

    Building for a 508 requirement that uses IE and JAWS 14 on a Windows 7 machine using the Captivate 7.01.237 version. I'll state out front that we made 508 accessible pdfs that were given extremely high marks by our mobility and sight impaired user gr

  • Thinkpad mini dock 4337 + thinkpad Х220

    Здравствуйте. Недавно я приобрел комплект из thinkpad mini dock series 3 4337 и БП АС 90вт 20В (lenovo). Вопрос вот в чем, родной БП к моему ноуту Х220 идет 65Вт и 20В, с которым собственно я и использую dock 4337. Могу ли я использовать БП который ш

  • Forward a copy of sent emails to a different address?

    Is it possible when sending emails using Mail to automatically send a copy to a different email address? I see you can Cc: & Bcc: copies to yourself (same email address) in Mail's Compose Preferences, but not to a different email address.

  • Changing look and feel for one INSTANCE of a component

    I am trying to change the look and feel of just ONE instance of a component. In particular, I want to change the color of the JScrollBar thumb on a certain JScrollPane. I want this change to not affect any other component, either before or after. How

  • Hp 2000-425NR lcd replacement info needed

    Hi, I would like to replace my cracked LCD panel on my recently purchased 2000-425NR (not covered).  I found online videos for removal/replacment for other models in the HP Services Media Library (eg. dv7-1000).  Can someone help me find the online v