The text index can do for me?

Hi all

I have the following question to und of the oracle text index requirements:
I saved in the VARCHAR2 column some channels:
CREATE TABLE t1
(STR VARCHAR2(200));

INSERT INTO t1 (STR)
VALUES ('Abcd');

INSERT INTO t1 (STR)
VALUES ('abcd');

INSERT INTO t1 (STR)
VALUES ('Aabcd');

INSERT INTO t1 (STR)
VALUES ('Abcd-ef');

INSERT INTO t1 (STR)
VALUES ('Abcd ef');

INSERT INTO t1 (STR)
VALUES ('Abcd - ef');

INSERT INTO t1 (STR)
VALUES ('Abcd - 12');

INSERT INTO t1 (STR)
VALUES ('Abcd_ef12');

INSERT INTO t1 (STR)
VALUES ('Abcdef');

INSERT INTO t1 (STR)
VALUES ('Abcdgh');

INSERT INTO t1 (STR)
VALUES ('Abcdij');

INSERT INTO t1 (STR)
VALUES ('Abcdklmnop');

COMMIT;
Then I create an index of text with the following script:
BEGIN
  CTX_DDL.CREATE_PREFERENCE('SUBSTR_PREF','BASIC_WORDLIST');
  CTX_DDL.SET_ATTRIBUTE('SUBSTR_PREF','SUBSTRING_INDEX','TRUE');

  CTX_DDL.CREATE_PREFERENCE('pj_lex', 'BASIC_LEXER');
  CTX_DDL.SET_ATTRIBUTE('pj_lex', 'PRINTJOINS', '-');
  
  CTX_DDL.CREATE_PREFERENCE('mcds_t1_str', 'MULTI_COLUMN_DATASTORE');
  CTX_DDL.SET_ATTRIBUTE('mcds_t1_str', 'COLUMNS', '''XZX''||STR');
END;
/

CREATE INDEX IDX_T1_STR ON T1
(STR)
INDEXTYPE IS CTXSYS.CONTEXT
PARAMETERS('wordlist  SUBSTRING_PREF
            LEXER     pj_lex
            DATASTORE mcds_t1_str
            memory    50m')
NOPARALLEL;
My requirements are: when I look for "abcd" (WHERE contains (STR, "Frederick" |: var1 |)) » %') > 0) :
I should get: Abcd, abcd, Abcd-ef, ef Abcd, Abcd - ef, Abcd - 12, Abcd_ef12, but not Abcdef*, Abcdgh*, *Abcdij*, Abcdklmnop*, Aabcd*.

The search text must begin with "abcd" (case sensitive), after "abcd", he must have 1 or more characters that start with test blank, '-', '_', or any other special characters, but should not begin with a letter.

Is it possible to do this with the oracle text index?

Concerning

S Max wrote:
Hi, thanks!
Is it possible to the value ' * ' as PRINTJOINS and SKIPJOINS?

Of course, everything is in the base lexer:

INSERT INTO t1 (STR)
VALUES ('Abcd*ef');

BEGIN
  CTX_DDL.DROP_PREFERENCE('SUBSTR_PREF');
  CTX_DDL.DROP_PREFERENCE('pj_lex');
end;

drop INDEX IDX_T1_STR

CREATE INDEX IDX_T1_STR ON T1
(STR)
INDEXTYPE IS CTXSYS.CONTEXT

select *
from t1
where
contains (str,'abcd') > 0

STR
Abcd ef
Abcd
abcd
Abcd-ef
Abcd - ef
Abcd - 12
Abcd_ef12
Abcd*ef 

But you don't do this with XYZ as a prefix and a wild card.

Tags: Database

Similar Questions

  • When I Center the text, I can't get back to the aligned left for the rest of the text in WordPad.

    * Original title: centering in Word Pad

    I don't know how to Center in Word Pad; However, when I Center the text, I can't get back to the aligned left for the rest of the text.  Everything I typed after that a title is also centered.  If I've left this text, the title goes back to the left margin.  Any info out there?

    Hello

    -Is confined to a specific document?

    This problem may be due to the rule of pointer.

    I suggest you to drag the rule of pointer to the left and see if it helps.

    Keep us informed on the status of the issue.

  • The text is too large for my screen

    The text is too big for my new monitor Samsung (22A300B); How can I reduce the size of the text for all of the text is adapted to the screen? My list of contacts (including addresses) 1/3 of m's reliever; y right screen. How can I display the list of contacts to reveal the name and the list of transfer to the left clolumn of my screen to free up this space so I can more easy read my emails?

    Hello

    1 have had any changes made on the computer before the show?

    2. are you using the web browser or mail client to access emails?

    3. what browser you use on the computer?

    4 Windows operating system is installed on the computer?

    5. the problem only occurs with the e-mails?

    If you use Internet Explorer, I suggest you for the link and check if that helps:

    Change webpage text size in Internet Explorer

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-webpage-text-size-in-Internet-Explorer

    Note: section applies to operating system Windows XP, Windows Vista and Windows 7 with Internet Explorer 7 and 8.

    If the problem is not resolved, please provide more information to help you best.

    Suggestions for a question on the help forums

    http://support.Microsoft.com/kb/555375

  • Loading windows 7 was the text was empty (sorry for my bad English)

    Loading windows 7 was the text was empty (sorry for my bad English)

    Example like this

    Original title - text empty error

    Moved to Virus & Malware

    Can anyone know how to fix this?

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-desktop/desktop-icon-text-missing/d5fc0cc2-8082-4DC3-b39e-1f4924a6f1bd?DB=5

    http://superuser.com/questions/127629/missing-desktop-icon-labels-in-Windows-7

  • How to find the absolute position of the end of the text, it can be one or more,

    How to find the absolute position of the end of the text, it can be one or more,

    in the position I need to inseart the image of the size of the font that it friendly ordinary view sequiential - image as custom image

    Please help us find the position of the text, and even for a function more, I demanded the conclusion the text length

    I want to do we will be right and the other will be left how I can I align is their way to find the width of the label or text?

    Thank you

    This should help align your labels layouts, depending on what you did you do could go with absolute layout, docking station or stack (allows you to align the top to bottom or left to right)

    I'm not too sure that everything, however, to determine the length of the text, I would think that you could store the text in a string and then somehow programmatically count each letter & do return a result... not exactly on how to do it but it's an idea

  • I have a form in which the text area can be developed to accept more text, but the text does not appear on the printed copy.  How can I get the text to print?

    I have a form in which the text area can be developed to accept more text, but the text does not appear on the printed copy.  How can I get the text to print?

    Hi robinm6200,

    Make sure that you have selected 'Document and annotations' under 'Comments and forms' when printing.

    Kind regards

    Nicos

  • Can't draw the text box on MasterPage for the numbering of the pages

    I'm spending PageMaker in InDesign CS4. I have a problem of numbering of the pages in my document of 50 pages. I have facing pages and was able to draw a text box on the left side of my Master Page (A) to insert numbers. I now have numbers, that is, 2, 4, 6, etc., printing on the left side of my document pages. (Not sure why paging was applied only to the left.) I was not able to draw a text box on the right side of the Master Page (A) while I can number the odd document pages, if this is the way to go. The right text box does not consume. I googled the problem and tried several different methods, but can not get to the right page numbers. Any help would be appreciated. Uh oh, I fear the saying "you can't teach an old dog monkey" may be applicable.

    Zoom out until you see Master left and right Page (easier is to hit Alt + Ctrl + 0: 'Fit spread in window' in the view menu).

    Copy the box with the page number, you already have and paste it immediately - it should appear somewhere in the neighborhood of the center of your screen.

    Select it with the black arrow (not the white or the text tool) and slide it into place on the right page.

    If this does not work, call back

  • Often just by filling out a form on a website, Firefox hangs and stops accepting the text. Can be thawed by starting another application unrelated.

    It just happened during the filling in the details area. Firefox has agreed a text then froze. I just erased it by opening the program to the trash on the desktop (it seems to work with any program, I've tried). I had this problem for a few months and is not fixed by updates. It happened twice during the minting of these details. Although I can fix it, it's very annoying. I have no other problems with Firefox.

    This could be potentially because of Add ons or extensions that handle auto completing forms. I recommend that you first make sure that each of your add ons and extensions are up-to-date:

    In order to eliminate add ons or hardware acceleration, try Firefox Safe Mode:
    

    Try Firefox Safe mode to see if the problem goes away. Firefox Safe mode is a troubleshooting mode that temporarily disables hardware acceleration, restores some settings and disables add-ons (extensions and themes).

    If Firefox is open, you can restart Firefox Safe mode in the Help menu:

    • Click the menu button

      click Help

      then select restart with disabled modules.

    If Firefox does not work, you can start Firefox in Mode safe as follows:

    • On Windows: Hold down the SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • On Mac: Hold the option key during the startup of Firefox.
    • On Linux: Exit Firefox, go to your Terminal and run firefox-safe-mode
      (you may need to specify the installation path of Firefox for example/usr/lib/firefox)

    When the Firefox Safe Mode window appears, select "start mode safe."

    If the problem is not present in Firefox Safe Mode, your problem is probably caused by an extension, theme or hardware acceleration. Please follow the steps described in the section Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems to find the cause.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    When find you what is causing your problems, please let us know. This might help others with the same problem.

  • Is it possible to add the text to speech (TTS) for slidelets individual or other objects 'pop-up '?

    Hi all

    This question is somewhat related to this issue: http://forums.adobe.com/thread/525525?tstart=0

    So now, I have a slide with several slidelets "pop-up". Finally I intend to add human speech at each of these slidelets (under the tab Audio caption text), but at the moment (for demonstration purposes), I would like to use the text-to-speech (TTS).

    The only type of TTS option that seems to be allowed is at the level of the slide, but not inside a text caption... This seems odd.

    Speaking of weird, speech management feature and Audio seem all too weird or very limited features. The management of the speech seems to only read the text inserted by entering the slide. No other options are available.

    I know that I could save the speech as individual wave files and insert them through the Audio tab, but... It then, I thought that it would be an easier way to use the TTS in Captivate 4.

    Can I buy a clue?

    Thank you!

    Hi Shawn

    TTS works at the level of the slide. Best bet is to insert a blank slide. Add notes. Convert to speech. Then, find and rename the file to preserve you. Rinse and repeat as needed until all TTS was created. Now, they should be in the library where you can freely assign them to everything that you need.

    You answer during the lunch break on a contract job...

    See you soon... Rick

    Useful and practical links

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcerStone blog

    Captivate eBooks

  • Cannot copy the text, OCR cannot copy for translators, recognization of manual and scanned text, text of manuals, Non - English text product impossible to translate

    Revision of textbooks online, we are facing difficulties following.

    Could you please suggest any solution (purchase of adobe software) to meet the following requirements.

    1. Manual language: failed to copy the text to the translation of Google.
    2. OCR (OCR): impossible to copy the text to translate.

    3 Manual of scanned text recongnization


    Currently, we use Adobe Reader version 11.


    Please address the above query as soon as possible.


    Thanks and greetings

    Suresh

    Adobe/Acrobat Reader cannot perform text recognition; you will need Acrobat for that.

  • Change the size of the text in a label for a text element single view.

    I was wondering how I would change the size of the text in a single field of view. I think I need to change the scope attributes of HTML table cells, but I'm not sure what to put. I am able to edit the text inside the element by changing the attributes of the element field Form HTML with the following text style = "verdana fonts: 24pt;

    Thank you

    Jay

    Jay Hartford wrote:

    I was wondering how I would change the size of the text in a single field of view. I think I need to change the scope attributes of HTML table cells, but I'm not sure what to put.

    What version of APEX, theme and layout grid type do you use? 4.2 with a theme that does not use based on tables of HTML layout (such as the topic (25), labels is not a property of the attributes of HTML table cells .

    You must specify your APEX version in all issues and UI/theme/templates for a page layout or the question of Visual formatting.

    I am able to edit the text inside the element by changing the attributes of the element field Form HTML with the following text style = "verdana fonts: 24pt;

    Create the following style sheet on the page property CSS Inline (4.2) or the property header HTML (previous versions), replace "P1_X" with the name of your article:

    label[for="P1_X"],
    #P1_X {
      font-family: verdana, sans-serif !important;
      font-size: 2em !important;
    }
    

    If we knew what theme you were using it would be possible to eliminate the! important statements by using a more specific selector for the label.

  • How to change the text to a symbol for slide show

    Hello, Newby here. I did the lesson 5 in Adobe Edge animate Classroom in a Book and everything was going well up to a point. When I change the text for the drop symbol moreinfo , it replaces the text for all slides. How to make the individual text to every slide? The book does not explain this. Thanks much for any help.

    redesign, thank you. I was able to work around my schedule and a bit of tinkering... all is good now. Thanks for your help.

  • According to the text value, can I stop specific sounds universally?

    I have a button where it changes the value of a text field to 0 or 100 (vice versa). The text field called CheckSound function


    function CheckSound():void
     {
     if(options_mc.onoff_txt.text == "100")
     {
     tchannel = theme.play(0,9999);
     }
     else if(options_mc.onoff_txt.text == "0")
     {
    tchannel.stop();
     }
     }
    

    The sound stops and plays. When I go to another scene in the game, tchannel stops playing and rchannel starts to play. This is what I want. My question is how can I stop tchannel and rchannel if the value is 0. And if the value is 100, how can I make playable tchannel and rchannel to their images right?

    Set the text property to a variable, and check the value of this variable after going to another scene.

  • Why do I get the text instead of HTML for a website?

    Lately, when I load this site I understand everything in the text. I thought I solved the problem, but she came back. All other sites work fine.

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Tools > Options > advanced > network > storage (Cache) offline: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Tools > Options > privacy > Cookies: "show the Cookies".
  • I can't get the size of the text of 8 items for change?

    I have trouble identifying the means to change the font size and no matter what I do.  Nothing helps, I looked Adobe and Youtube videos.  Please can you help saying me that I'm missing.

    Concerning

    JR

    You can enter any value manually in the font size box. If you use a type of image of high resolution in something like 100 or 150.

Maybe you are looking for