Oracle Text with User_DataStore is not working

Hi Expert,
Based on this url  : http://docs.oracle.com/cd/B28359_01/text.111/b28304/cdatadic.htm#i1006810
I was trying to create an oracle text index , but i wasn't able to retrieve the data
here are my scripts:
create table articles(
    id       number,
    author   varchar2(80),
    title    varchar2(120),
    text     clob );
    create procedure myproc(rid in rowid, tlob in out clob nocopy) is
  begin
      for c1 in (select author, title, text from articles
                  where rowid = rid)
      loop
      dbms_lob.writeappend(tlob, length(c1.title), c1.title);
   dbms_lob.writeappend(tlob, length(c1.author), c1.author);
   dbms_lob.writeappend(tlob, length(c1.text), c1.text);
       end loop;
    end;
    begin
ctx_ddl.create_preference('myud', 'user_datastore');
ctx_ddl.set_attribute('myud', 'procedure', 'myproc');
ctx_ddl.set_attribute('myud', 'output_type', 'CLOB');
end;
    create index myindex2 on articles(text)
  indextype is ctxsys.context
  parameters ('DATASTORE myud'); 
      insert into articles(id,author,title)values (1,'A','AAAAAA');commit;
      insert into articles(id,author,title)values (2,'B','BBBBBB');commit;
      insert into articles(id,author,title)values (3,'C','CCCCCC');commit;
      insert into articles(id,author,title)values (4,'D','DDDDDD');commit;
      EXEC CTX_DDL.SYNC_INDEX('myindex2','2M');
      select * from articles where contains(text,'B',1)>0;  -- this display nothing.
Can anybody help me?

It's absolutly essential to get into the details of Oracle Text if it is used for more than pretty simple things.
Query the index tables and view the tokens stored.
Is there any token like 'B'?
I guess no. Because your function constructs something other ...
What do you get, if you try 'B%' instead of 'B'?

Similar Messages

  • Text messages ringtones are not working in the Storm Two

    Device:  Storm Two running OS version 5.0.0.713 on the Verizon Wireless network.
    Recently, I upgraded from a Storm One to a Storm Two because of a multitude of issues with the Storm One; not enough memory, constant lock-ups; dropped calls, etc.  On the Storm One I had customer ringtones for contacts; so when a contact calls me the phone will sound a specific ringtone for that contact; the same for text messages from that contact. Now that I have the Storm Two the text message tones for the contacts are not working. In fact, even when I select a ringtone for text messages for a contact the phone will ring the generic ringtone that comes with the phone. If I go into the sound profile and change the generic ringtone to one of my own and the contact sends me a text/sms message the phone will ring the ringtone that I selected in the profile that is being used at the time. This is not the way it worked on the Storm One.  On the Storm One; if I have a specific ringtone for the contact and that contact sends me a text message it will sound the text messages tone for that contact. These ringtones have worked for previous devices including my Treo and Palm devices. The ringtone files worked well in the previous Storm One.
    So to make a long story short; I want to know why my text message ringtones are not working as designed/setup-up. If a contact calls me the phone will sound the ringtone for that contact; but if that same contact text me it will not ring the ringtone for the contact. This is annoying and I am at my wits end trying to find out why this is not working.
    Vernon

    Hi Jain....
    Field separator is for separating the fields.That means it will effect every field in the node.
    But end separator is not like that.It will apply at the end ofall fields of a node.It will effect node not a field.
    according to ur scenario if u use data.endseparator 'nl',output will come like this
    2008/0701$101
    2008/0701$102
    2008/0701$103
    2008/0702$105
    if u want new line for every field try to insert a separate node for second field.That means
    MT_DATATYPE:
    Data -
    1:UnBounded
    . .OrderDate----
    1:1
       <Data2>                   1:1
    . ....OrderNo -
    1:1
    now give data.endseparator  'nl'
                data2.endseparator 'nl'
    if possible try like this....
    Sreedhar Goud L

  • My text messaging app is not working PLEASE HELP!!!

    My text messaging app is not working at all is a blank screen when I open it! Help!!!

    No its a well known bug with iphones caused by their over complication of things and their complacency that their users will buy the phones on looks alone irrespective of its basic functionality.
    Suggestion 1 - The most common suggested solution seems to be: iMessage needs switched off on all your devices and switched back on after a rest. I found that this did NOT work.
    Suggestion 2 - Having a Wi Fi Signal seems to confuse iMessage to send an SMS as a text or as an iMessage. Turn off WiFi on your phone and manually send as text message. Slow, I lnow!!
    Suggestion 3 - Move away from any wifi source ie out of range.
    Suggestion 4 - Send an email, or a letter. Its more personal!!
    20 Minutes later - still not sent 2 short texts.
    Apple are very complacent and disdainful of their user community. Not what Id expect but this is a global corporation with the same business ethics as an Oil company or a car company. Profit not function.

  • Drag n Drop selected Text from Safari, chrome not working on indesign CC

    In CS6 If we drag drop any selected text from any app on layout it work but in indesign cc it is working only with some app like TextEdit, notes etc. I knew that very few people have such use case but same is also not working from one of my cocoa app.
    while  debugging if i drop content from TextEdit and Notes app on some sample app I found that TextEdit & Notes App registered for this Extra Pasteboard type "com.adobe.indesign-import-ustl" and "com.adobe.indesign-import-styl" where as chrome and safari are not. similarly my app is registered only for "NSPasteboardTypeString" type. Is this is the limitation or bug of indesign?

    Similar bug(#3710667) was exist in CC before 9.2.2 update as you can see in release notes of 9.2.2(CC last update) here. before fix simple selected text drag & drop did not work from any application except TextEdit .I have also spent hours before this update to find out bug I used ClipBoardViewer sample App to find out current Drop flavour and its content it may help you and before fix I find some workAround first is add flavour in your drop which Indesign understand even if you are not adding any data for that flavour so that you start receiving couldAcceptType() and under this call parse your actual data from PasteBoard and remove all data from pasteBoard so that another next helper will not consume it. as you mention even after adding text flavour your couldAcceptType() not hit so may be this WorkAround not work for you but it worked for me.
    second is just a finding  i.e before doing drag and drop on indesign create one new document (from Indesign UI not programmatically ) save it on disk close it and reopen it after it every drag & drop will start working work .

  • I have an phone 4s from cricket and when i text non iphone users such as android or and other phone brand they receive my text message but when they reply i wont get there message. send imessages is working its just my text message that is not working.

    i have an phone 4s from cricket and when i text non iphone users such as android or and other phone brand they receive my text message but when they reply i wont get there message. send imessages is working its just my text message that is not working.

    You use Restore to get the latest firmware build, not the Update button. You can only use the Update button, if there is an iOS update, say iOS 5.1.
    this link talks about updating to 9A406 to fix the "No Service" issue with iPhone 4S:
    http://iphone-and-i.blogspot.com/2011/12/fixing-iphone-4s-signal-problem.html

  • Why is my text messaging app is not working at all, is a blank screen? Help!!!

    My text messaging app is not working at all is a blank screen when I open it! Help!!!

    Abdussalam.A,
    you mentioned that Terminal does not work at all for your MacBook Pro. What currently happens when you run Terminal? In what way does it not work?

  • HT4235 iPod nano 6th generation, syncing with audiobooks does not work now, had been working.  Sync test says:  No iPod touch, iPhone, or iPad found.  Connectivity test OK, no physical problems, iTunes shows the iPod.  Any clues what to do?

    iPod nano 6th generation, syncing with audiobooks does not work now, had been working.  Sync test says:  No iPod touch, iPhone, or iPad found.  Connectivity test OK, no physical problems, iTunes shows the iPod.  Any clues what to do?

    Hmm.. Thank you for the response.
    Have you tried using the iPod with another user account or computer, to help narrow down whether the problem lies with the computer, account, or the iPod itself?
    Maybe try reformatting it, using the tools provided by Windows. Instructions on how to reformat your iPod can be found in this article.
    http://www.methodshop.com/gadgets/ipodsupport/erase/index.shtml
    B-rock

  • Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work. Please help. Thanks.

    Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work. Please help. I am getting lots of spelling errors as the MacBook laptop screen is too small. Thank you so much! .

    Contentmom6 wrote:
    Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work.
    Normally, you just connect the monitor to the MacBook using a VGA adaptor that you can buy from an Apple Store.  Now try System Preferences > Displays > Detect Displays.  You should now be able to select a display mode for the monitor.  If it still doesn't work, then I'd check that everything is properly connected.  I've had problems with colours disappearing due to a faulty connection in the VGA adaptor.
    Bob

  • FIND with MATCH OFFSET not working

    Hi,
    I have a statement:
    FIND '/' IN <ls_data_package>-/bic/zbib_sysn MATCH OFFSET off2.
    this works in all the case except for when <ls_data_package>-/bic/zbib_sysn = SSULTANA-VMC/.
    (i.e. when /bic/zbib_sysn = USERID-VMC/, here SSULTANA is the user ID)
    *In this case off2 = .
    Value of sy-subrc is 0 after this statement is executed
    Can some one please point out what I am doing wrong.
    Thank you,
    CD
    Edited by: CSD . on Sep 26, 2008 9:53 PM

    >FIND with MATCH OFFSET not working  
    Most unlikely.  More likely is that it isn't doing what you think it should be doing.  Or you're using it incorrectly!
    I can't really follow what your problem is.  I assume you mean that you are getting off2 with value 0, when /bic/zbib_sysn contains USERID-VMC/
    Can you be a little clearer in what the issue is?
    DATA: off2 TYPE i.
    FIND '/' IN 'this string /' MATCH OFFSET off2.
    WRITE: / sy-subrc, off2.
    This little program returns 0 and 12 
    matt

  • Oracle Text with Oracle TimesTen

    Hi!
    I'm trying to use Oracle Text with Oracle TimesTen In-Memory. In this customer, we are using Oracle Text to index the names of the company clients. There are about 13 million names to index. We're trying to speed up even more the search using Oracle TimesTen.
    Does anybody as any experience using simultanely this two technologies?
    Thanks in advance
    Tiago Soares

    TimesTen doesn't support the CONTEXT indextype or CONTAINS clause (or other domain indexes/operators), so you can't create Oracle Text indexes in it.

  • I am having trouble with my speakers not working while online in particular on windows.My audio works when playing audio files

    I am having trouble with my speakers not working while online particular on facebook. My audio works when playing audio files.

    Hi,
    Did it happen all the time or sometime?
    Please check online browser status:
    Click Volume icon in the taskbar, click Mixer link button as below:
    If it's fine, follow this guide to run troubleshooter to detect and fix the issue:
    Tips for fixing common sound problems
    http://windows.microsoft.com/en-in/windows/tips-fixing-common-sound-problems#tips-fixing-common-sound-problems=windows-7
    Meanwhile, this similar thread also could be referred:
    https://social.technet.microsoft.com/forums/ie/en-US/a4a1cfe5-93a5-4c0b-9bf6-f7db0304f2ba/no-sound-on-youtube-or-any-other-webpage
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Serial number provided with download does not work, now what?

    serial number provided with download does not work, now what?

    Chrish29593217 you are welcome to contact our directly at Contact Customer Care.  What Adobe software title are you facing difficulties with?

  • I upgraded to iso6.0.1 on 4s and now the battery runs out quickly and text sounds/music do not work. Please can someone help.

    Help - I upgraded to iso6.0.1 and now the battery runs out quickly and the text and sound does not work! can anyone help me?
    Thanks

    Use the search box at the top of this page or look in the MORE LIKE THIS box to your right.  If you can find your way to this forum, you certainly can manage a search.

  • TS3297 i bot a 3g iphone 2nd hand and it is trobleing a lot with os and not working plese help me

    i bot a 3g iphone 2nd hand and it is trobleing a lot with os and not working plese help me

    The following guide gives information on how to sync ringtones from your computer to the phone. The reference section at the bottom of the quide also gives instructions on how to convert a song to a ringtone. https://discussions.apple.com/docs/DOC-3792

  • [svn] 4323: Bug: LCDS-544 - Scenario where two components have seperate channel sets with overlapping channels not working .

    Revision: 4323
    Author: [email protected]
    Date: 2008-12-15 19:23:10 -0800 (Mon, 15 Dec 2008)
    Log Message:
    Bug: LCDS-544 - Scenario where two components have seperate channel sets with overlapping channels not working.
    QA: Yes
    Doc: No
    Checkintests Pass: Yes
    Details:
    * Hunting to a new channel within a channelset never triggered a disconnect from the previous channel(s). This isn't a problem in general, but does becomes a problem when an app defines two distinct channelsets containing at least one shared channel at the head of the list. In this case, the first channelset hunts past it and connects on a later channel. But when the second channelset hunts through (triggering a connect fault when it hits that initial shared channel that can't connect), the fault is processed by the first channelset as well (incorrectly).
    Ticket Links:
    http://bugs.adobe.com/jira/browse/LCDS-544
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as

    Running the script by python2 solves it for me:
    su - mythtv -c "nice -n 19 python2 /usr/bin/tv_grab_nl_py --output ~/listings.xml"
    Best regards,
    Cedric

Maybe you are looking for

  • J1IJ:- No Excise Duties in Depot invoice

    Hi All, I have created Depot OR->Depot Del. now i am creating Depot Excise invoice J1IJ (RG23D selection) for Delivery. but in Excise invoice the BED,SED are not getting copied. Reg, Antaa21

  • Creation of PDF from Excel 2013 - problem with black color

    Hi, I am a publisher of crossword magazine and I use Excel to write crosswords. Then I create PDF's and import them into InDesign.   In past I used Adobe printer and it works fine with Excel 2000 and 2010 (only these two versions I used in past) Now

  • ITunes 7.1 loses track of some registry files necessary for CD/DVD burning

    Has anyone else seen this odd error message. I installed iTunes 7.1, then restarted my computer as instructed. When I rebooted and ran iTunes, I got an odd error message indicating that some registry files were missing and that this was likely becaus

  • Buying an Iphone 5s to use in Paraguay

    So, as far as I could read anywhere, the only authorized resellers in PARAGUAY are Tigo and Claro. This suggest that the only way to acquire an Iphone 5s is to sign a contract with those carriers. BUT, if you go the apple store, you have the option t

  • Regarding Error 404-please help!

    Hi Wisemen, I'm trying to deploy a servlet on my fresh installated tomcat. I believe I've succeded on installation as I can see the main page and run its servlets on http://eawars.sytes.net:8180/, which is the domain and port of my remote tomcat. (I