MARKUP (highlighted) and MULTI_COLUMN_DATASTORE

I'm passing a text index index_name parameter of MARKUP, which is a dummy field to MULTI_COLUMN_DATASTORE. However, MARKUP only returns the CLOB to the dummy field, not the rest of the columns.

What is the best way to MARKUP a "document" which is stored in a table, in several columns (columns are either VARCHAR2 in CLOB). I need each column would be markup (or HIGHLIGHT would be).

Otherwise, I can do the markup-ing myself, but in this case I would like to know, if there is a way to get all the terms that Oracle tried with. I use the ora-text FUZZY operator a lot, so I need to get the additional conditions that are generated (expanded?) by the FUZZY operator.

Published by: 981243 on February 4, 2013 05:22

That doesn't sound right. The text via the data store, markup must pick up and you should get all the columns. See the example below - the index is created on 'firstname', but you can still see the text highlighted in the column 'name '.

SQL> drop table cust_catalog;

Table dropped.

Elapsed: 00:00:00.04
SQL> create table cust_catalog (
  2    id number(16) primary key,
  3    firstname varchar2(80),
  4    surname varchar2(80),
  5    birth varchar2(25),
  6    age numeric );

Table created.

Elapsed: 00:00:00.00
SQL> INSERT ALL
  2  INTO cust_catalog VALUES ('1','John','Smith','Glasgow','52')
  3  INTO cust_catalog VALUES ('2','Emaily','Johnson','Aberdeen','55')
  4  SELECT * FROM DUAL;

2 rows created.

Elapsed: 00:00:00.01
SQL> EXEC CTX_DDL.DROP_PREFERENCE   ('my_datastore')

PL/SQL procedure successfully completed.

Elapsed: 00:00:00.00
SQL> EXEC CTX_DDL.CREATE_PREFERENCE ('my_datastore', 'MULTI_COLUMN_DATASTORE')

PL/SQL procedure successfully completed.

Elapsed: 00:00:00.00
SQL> EXEC CTX_DDL.SET_ATTRIBUTE ('my_datastore', 'COLUMNS', 'firstname, surname')

PL/SQL procedure successfully completed.

Elapsed: 00:00:00.00
SQL> CREATE INDEX context_idx ON cust_catalog (firstname)
  2  INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS('datastore my_datastore');

Index created.

Elapsed: 00:00:00.10
SQL> set serverout on
SQL> declare
  2    markuptext clob;
  3  begin
  4    ctx_doc.set_key_type( 'PRIMARY_KEY' );
  5    ctx_doc.markup( 'context_idx', '1', 'john OR smith', markuptext );
  6    dbms_output.put_line( markuptext );
  7  end;
  8  /

<<>>


<<>>

Tags: Database

Similar Questions

  • URRL or web address in the mail it is not highlighted and stressed

    When I type or copy/paste a web address or URRL in the mail will not become highlighted and underlined.  It's so weird.  I have read and done everything I can find on Apple and Internet search.  Any ideas?  Thank you!

    It will be when you send it. Test by sending to yourself.

  • Filing of bookmarks is heavy. With Firefox, I star an address. Then I opened organize bookmarks to change the name and put it in a folder. I want to highlight and drag and right click set I want to change. Is this possible?

    Filing of bookmarks is heavy. With Firefox, I star an address. Then I opened organize bookmarks to change the name and put it in a folder. I want to highlight and drag and right click set I want to change. Is this possible? in English

    You can click now yellow highlighted the star a second element to open the dialog box "edit this bookmark".

    See also create bookmarks to save your favorite Web pages

  • Deleting several comments - "remove highlights and comments" grayed

    Using numbers 3.6.1 on a MacBook Pro (13 "retina, end of 2013).

    I want to delete all comments on hundreds of cells at a time (between cells with comments are a few without) without affecting the contents of cells - to do this, the command "remove highlights and comments" seems ideal... but he is always greyed out, apparently no matter what I do. The only way I found to delete a comment is to use the button Delete for this purpose within the window of comment... which is closed, leaving no cells selected, so I repeatedly to select the next cell with the mouse, renavigate to the key, press on and... wait.

    I looked in the 'Help', searched the web, this database too and found nothing useful. Now, maybe I forget something, maybe because I've been using numbers and its predecessors, as well as Excel under Windows (and Lotus 1-2-3 before DOS), for decades something obvious is looking at me in the face... be it, hope for your help!

    Hi the Seagull,

    A similar question was recently published here.

    See the post of Jacques Rioux (and comment followed by SGIII) in this thread.

    Kind regards

    Barry

  • my desktop mouse puts highlight and click on everything

    My mouse seems to have a mind of your own. He puts highlight and click on everything except what I want. I uninstalled then reinstalled the mouse and I have run the Microsoft Windows malicious software removal tool and neither worked. I've had this mouse for a few months and have never had any problems with her or one of those before it.

    Looks like a bad mouse, to be honest.

    I an I can connect now and get these results.  Actually - I can leave it hooked up next (as) another mouse and as long as I only use the mouse - I don't get any problems/issues.  As soon as I use it - problems start.  Stop using it, stop problems.

    Swap mouse.  If that fixes it - there you go.

    It really does sound like malware at all; However, if you really want to watch:

    Download, install, and run a full scan of the system with these two elements (free version):

    Delete everything they find.

  • problem setting highlight and bold text?

    I use the version of Microsoft WORD 2007 (version Home & student) lately I m having problems with the implementation text highlight and bold.

    When I left click on the text and move the cursor over them and then release the left button the highlighting disappears. In addition after only three or four tests then the wedges of implementation highlighted, but when I try to "BOLD" text, that nothing happens unless I click on 'B' "BOLD" several times. It goes the same for Itals and underscore. How can I fix? Or is is a corrupt software. I bought the new program three years ago.

    Basil

    This happens anywhere else? Your mouse may be coming to an end.

    Try your keyboard. To highlight, press ctrl + shift + arrow keys. "BOLD" press Ctrl + b. underline Ctrl + U, italic Ctrl + I

  • I can't highlight and copy the text or hightlight as I always have. Computer day this morning?

    I've been away for 3 weeks. This a.m.. I had 18 automatic updates from Microsoft. After the installation of those I can no longer highlight text. I generally highlight and copy with ctrl c and highlight and paste with ctrl v. When I select just goes. I also tried to restore in a week and the restore has failed twice.

    Most of the time I'm tring to highlight a line of text on the internet to copy to a page of Web links in Web easy Pro 8. I usually highlight the text, press ctrl c; go easy Web and open a rich text box and press ctrl v and fact. Now when I try to highlight it continues to ignore the words or just pointed out briefly, then disappears. There is a link in the text, I'm trying to highlight, and often it just opens the link. If I highlight a line and make it fit so I can't delete it, nothing happens when I hit delete. All of this worked before I approved updates from Microsoft (17 or them) when I turned on my computer after having been there for 3 weeks.

    Try resetting your browser-

    Tools > Internet Options > Advanced tab

    Press the Reset button

    Check delete all personal settings

    Press Reset

    Press Ok

    Restart the computer and then try to copy/paste

  • highlights and comments not saved [iOS]

    Hello, I'm having a problem with the registration of my comments and highlights. Whenever I have point out something, add commentary or stressed, I record and release document. When I open it again all my reviews, highlights and underscores are gone! Can someone explain why this is happening?

    Note: I use iPad, with the latest updates of Adobe Acrobat.

    Hi alia22512767 and susana23354265.

    We just released Acrobat Reader for iOS version 15.3.0 on January 5, 2016.

    This version includes the fix for the failure you have encountered.

    Would you please try it and let us know if it works for you?

    Thank you!

  • Notes, getting highlights and other learning tools... Here come by chance (hope)?

    Notes, getting highlights and other learning tools... Here come by chance (hope)?

    Hello

    Currently, these features are not on the roadmap for this year.

    However, in the meantime, you can develop your own features of annotation using HTML and local storage.

    There is an article that explains the basics, how it works and can help you start to develop your own annotation:

    A Flexible note-taking system for use in the Folios DPS | Adobe Developer Connection

    Note that article above was designed for DPS classic, it has not been tested for 2015 of DPS, but the consultation of the article itself, you can get valuable information that can help you get started.

    Thank you

    Andrei

  • I could only underline, highlight, and etc. the text, but do not copy it to the ipad. How to copy a text in Adobe Acrobat in ipad?

    I could only underline, highlight, and etc. the text, but do not copy it to the ipad. How to copy a text in Adobe Acrobat in ipad?

    Hello

    When you select text in a PDF document, the menu appears.

    You can change the selection of text by dragging the blue "grabber" horizontally (left or right) and press to copy in the menu to copy the selected text.

    I hope this helps.

  • PDFs with parts of the text have been highlighted, and now, suddenly, these docs print without the appropriate text highlighted. Never happened before. As seen on the screen, highlighting appears, but when you print, it's gone.  Help, please.

    PDFs with parts of the text have been highlighted, and now, suddenly, these docs print without the appropriate text highlighted. Never happened before. As seen on the screen, highlighting appears, but when you print, it's gone.  Help, please.

    Try to turn on the print with comments. The comments really are your strengths.

  • I just downloaded lightroom 5.6. Why have I not fill light and recovery, but not of highlights and shadows?

    I just downloaded lightroom 5.6. Why have I not fill light and recovery, but not of highlights and shadows?

    Your photo using the version of existing treatment (2003 or 2010). Click on the lightning to the high close histogram or use the menu process drop-down in the module of dev (right panel, section camera cal) to use the current version of treatment (2012).

  • After saving a file PDF with a layer of Spot UV, all the highlights and details in the tones are flattened in the overprint preview. What I'm missing here?

    I'm trying to print business cards with a Spot UV coating. I have a layer above the work with a spot color (set to Green by request of the printer). Below is a logo, essentially a red circle with a few highlights and depth. My question is that, after exporting a PDF file, all of the highlights and details on the red circle disappear in the overprint preview (it is there when I hide Spot UV layer, but missing when I'm hiding the color of the task). What can I do to keep this information?

    Thank you!

    I managed to solve the problem and embarrass me in the process. It wasn't a problem with the settings, but rather a "stowaway" duplicate of a red circle that lurked on the layer UV Spot on top of all the details. Thanks for your help, but it seems that my problems require a different kind of forum!

  • still no luck with highlighting and try to use the Edit with photoshop elements Editor

    still no luck with highlighting and try to use the Edit with photoshop elements Editor.

    2nd try still nothing.JPGYes, I clicked the change of use with photoshop elements, editor in Chief but still, don't put not to...

    still not working.JPGregion and I select view selected in organzier files. I don't understand what is happening. I never had this problem before and I have 12 for a long time.  How can I fix it?


    You can keep answers to the original discussion, or it's going to go very confusing - http://forums.adobe.com/thread/1438997?tstart=0.

    See you soon,.
    --
    Neale
    Insanity is hereditary, get you your children

    If this post or by post from another user solves the original problem, please mark as correct and/or useful messages accordingly. This helps other users with similar trouble getting answers to their questions more quickly. Thank you.

  • Dungeon/synch to the Adobe Digital Editions software notes, highlights, and bookmarks, and

    I bought a book and I use Adobe Digital Editions. I loved for the use of PDF and ePub instead of proprietary formats and allowing us to store locally, our books and read them offline.

    I have to use at home and at work to read my book. First of all, I tried to install it normally in HD and keep the book in USB, but I lost notes and highlights when I removed the USB.

    I then installed ADE directly in the USB and now they are not deleted, but they are not always shared. Highlights and notes that I do at home are not available to work and vice versa.

    Is there a good way to keep/synchronization across different devices and to avoid losing? It would be tragic to have a few books in my library and reinstall a Windows make me lose all my notes.

    Also, is there another drive ofline supporting ADE ebooks in Windows, or am I forced to use Adobe?

    As I know the only other PF/Mac for Adobe DRM player is Sony Reader; Free download of Sony intended to run with Sony eReaders but works quite happily without.  I prefer ADE1.7.2 Sony Reader. https://eBookStore.Sony.com/download/   I don't think it will help to synchronize annotations.

    several choices, I can suggest for you to weight for your situation.

    1 ~~~~~~~~~~

    Do you use one ADE on a computer at both ends for reading/annotate?  (for example, any tablet or eReader device involved).

    Assuming that computers at both ends, you can use the standard synchronization to synchronize the directory Adobe Digital Editions software (typically Documents\My Digital Editions) to a directory on the USB.

    When you are finished on a machine, make sure sync to the key USB works and then when to go on the other machine make sure sync to the USB works.  The data will live on machines and the USB key.

    2 ~~~~~~~~~~

    If you're technical enough, you can make a link of directory (one on each machine) so that the Documents\My Digital Editions links to the USB directory.  It will be more convenient, but the USB key will be the only place where your data lives unless you have another backup.

    3 ~~~~~~~~~~

    If you have access to a cloud service like Dropbox or Google Drive to the synchronization job, you can make a link to directory (one on each machine) so that links directory Documents\My Digital Editions to the appropriate folder, the data will be as on the machines and the cloud. This should be practical and good against failure.

    4 ~~~~~~~~~~

    A few clouds synchronization services will allow you to synchronize more arbitrary directories, so you wouldn't need to worry about the telephone link.  I do not remember who now ~ I can post back with a suggestions.

    If you're technical enough to try the directory linking that in 2 or 3; but do not exactly know how, after return and I'll add more details.

Maybe you are looking for