Contains keywords does not output

Hi all

I use the Oracle version below:

Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
"CORE 11.2.0.1.0 Production"
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production

I have a query that takes too long to run so I try to use the Index Type CONTEXT index, but after that the creation of Index and use contains the keyword in the select statement I don't get any line.

Here is the statement I used:

GRANT RESOURCE, CONNECT, CTXAPP TO XMI;

CREATE INDEX idx_ty_tif_name ON Customer_Tif_Detail(tif_name)
     INDEXTYPE IS CTXSYS.CONTEXT;

Above statements are used to give grants of subsidies and create index type CONTEXT in parallel.

My original query is:

    select distinct ctd.tif_name,ir.Account_Number AS Account_Number, ctd.tif_no as Tiff_No,CARD_MEMBER_NAME AS 
card_membername,BUSINESS_NAME AS businessname,PCN as PCN_NO, CTD.ID as CUSTID from index_report
ir inner join customer_tif_detail CTD on ir.ID = CTD.ID where ctd.tif_name like '%56769_0007.tif%';

and my request above which gives output but when I used contains the keyword then I get no output, that means zero documents back.

select distinct ctd.tif_name,ir.Account_Number AS Account_Number, ctd.tif_no as Tiff_No,CARD_MEMBER_NAME AS 
card_membername,BUSINESS_NAME AS businessname,PCN as PCN_NO, CTD.ID as CUSTID from index_report
ir inner join customer_tif_detail CTD on ir.ID = CTD.ID where CONTAINS(Ctd.Tif_Name, '56769_0007.tif') > 0

Why above query is not giving any output, y at - it I am missing something?

Kindly help me...

Thank you

If you want to search for special characters such as the underscore and the period, then you must define them as printjoins in a lexer and use this lexer in the index settings.  If you want to search for a string within some characters, then you must use wildcard characters.  Please see the demo below.

Scott@orcl12c > CREATE TABLE customer_tif_detail (tif_name VARCHAR2 (60))

2.

Table created.

Scott@orcl12c > INSERT ALL

2 IN customer_tif_detail (tif_name) VALUES ('56769_0007.tif')

3 IN customer_tif_detail (tif_name) VALUES ('156769_0007.tiff')

4 IN customer_tif_detail (tif_name) VALUES ('everything')

5 SELECT * FROM DUAL

6.

3 lines were created.

Scott@orcl12c > START

CTX_DDL 2. CREATE_PREFERENCE ("test_lex", "BASIC_LEXER");

CTX_DDL 3. SET_ATTRIBUTE ("test_lex", "PRINTJOINS', '_____.');

4 END;

5.

PL/SQL procedure successfully completed.

Scott@orcl12c > CREATE INDEX idx_ty_tif_name ON Customer_Tif_Detail (tif_name) INDEXTYPE IS CTXSYS. FRAMEWORK

2 SETTINGS ("LEXER test_lex")

3.

The index is created.

Scott@orcl12c > SELECT DR token_text $ idx_ty_tif_name$ I

2.

TOKEN_TEXT

----------------------------------------------------------------

156769_0007.TIFF

56769_0007.TIF

WHATEVER

3 selected lines.

Scott@orcl12c > select distinct ctd.tif_name

CTD customer_tif_detail 2

3 where ctd.tif_name like '% 56769_0007.tif% '.

4.

TIF_NAME

------------------------------------------------------------

56769_0007.TIF

156769_0007.TIFF

2 selected lines.

Scott@orcl12c > select distinct ctd.tif_name

CTD customer_tif_detail 2

3 where CONTAINS (Ctd.Tif_Name, '56769_0007.tif') > 0

4.

TIF_NAME

------------------------------------------------------------

56769_0007.TIF

1 selected line.

Scott@orcl12c > select distinct ctd.tif_name

CTD customer_tif_detail 2

3 where CONTAINS (Ctd.Tif_Name, '% 56769_0007.tif%') > 0

4.

TIF_NAME

------------------------------------------------------------

56769_0007.TIF

156769_0007.TIFF

2 selected lines.

Tags: Database

Similar Questions

  • Container padding does not

    import bb.cascades 1.2
    Page {
        Container {
            background: Color.LightGray
            Container {
                topPadding: 20
                leftPadding: 20
                ImageView {
                    imageSource: "asset:///images/ic_logo_black.png"
                    preferredWidth: DisplayInfo.width-50
                    preferredHeight: (DisplayInfo.width-50)/3.71
                }
            }
            Container {
    
                preferredWidth: DisplayInfo.width
                leftPadding: 60
                rightPadding: 60
                preferredHeight: (DisplayInfo.height-(((DisplayInfo.width-50)/3.71)+20))-60
                layout: StackLayout {
                    orientation: LayoutOrientation.BottomToTop
                }
                Container
                {
                    layout: StackLayout {
                        orientation: LayoutOrientation.LeftToRight
                    }
                   Container {
                       layout: StackLayout {
                           orientation: LayoutOrientation.BottomToTop
                       }
                       background: Color.Black
                       preferredWidth: (DisplayInfo.width - 180)/3
                       preferredHeight: (DisplayInfo.width - 180)/3
                   }
                   Container {
                       leftPadding: 30.0
                       layout: StackLayout {
                           orientation: LayoutOrientation.BottomToTop
                       }
                       background: Color.Black
                       preferredWidth: (DisplayInfo.width - 180)/3
                       preferredHeight: (DisplayInfo.width - 180)/3
                   }
                   Container {
                       leftPadding: 30.0
                       layout: StackLayout {
                           orientation: LayoutOrientation.BottomToTop
                       }
                       background: Color.Black
                       preferredWidth: (DisplayInfo.width - 180)/3
                       preferredHeight: (DisplayInfo.width - 180)/3
                   }
                }
            }
        }
    }
    

    the part in bold is not working, I would have at the bottom of page 3 side by side... containers separated by padding padding 30 30.but does not.

    Why not use spaceQuotas instead (and profits) rather than all the math of this...

            Container {
                preferredHeight: 200.0
                rightPadding: 60.0
                leftPadding: 60.0
                layout: StackLayout {
                    orientation: LayoutOrientation.LeftToRight
                }
                Container {
                    verticalAlignment: VerticalAlignment.Fill
                    leftMargin: 15.0
                    rightMargin: 15.0
                    background: Color.Red
                    layoutProperties: StackLayoutProperties { spaceQuota: 1.0 }
                }
                Container {
                    verticalAlignment: VerticalAlignment.Fill
                    leftMargin: 15.0
                    rightMargin: 15.0
                    background: Color.Green
                    layoutProperties: StackLayoutProperties { spaceQuota: 1.0 }
                }
                Container {
                    verticalAlignment: VerticalAlignment.Fill
                    leftMargin: 15.0
                    rightMargin: 15.0
                    background: Color.Blue
                    layoutProperties: StackLayoutProperties { spaceQuota: 1.0 }
                }
            }
    

    Change the values that you want to, knowing that margins will fall in to each other.

    Padding apply only to what is inside the container.

    [Edit] You will not need to use LayoutUpdateHandler then either it will work for any screen size and rotation.

  • Container color does not "showing through" background CSS?

    Hi all -

    I know that this is perhaps a fundamental question of CSS, but as I'm just now to enter the make by hand, I look closer how things work (or are not) and do not find this one.

    Here is the example:

    http://www.turnerdesign.com/testsite/

    and the css:

    http://www.turnerdesign.com/testsite/test.CSS

    I have #container as a green color, but it does not show in the space to the right of the #rightColumn.

    I think it has something to do with the floats work... uh... or something

    Any help is appreciated!

    Thank you

    Andrew

    How Murray?  I've always used car and to date have not had any problems of cross browser...  (it is true that I don't have to use it that often :-)

    PS: after having a quick read of this: http://www.w3.org/TR/CSS21/visufx.html

    I guess that in some cases, the car can cause an overflow of the box?  Whereas it is 'hidden' will not...?

  • List of keywords does not scroll down quite

    Hello! I use LR CC and my list of keywords is not scroll down entirely, stops after about 200 keywords, even if I used about 1,000 or more. Can someone help me please? Thank you, best regards, Harald

    It is my understanding that there is a bug in Windows that limits scrolling lists to about 1600 Articles, however tell you that the problem with much fewer items in your list of keywords.

    I would try to remove the preferences file with closed Lightroom preference file and other file locations | Lightroom CC and 6

    Also try to restart the computer

  • As a class of container return does not correctly

    I have a class actionscript (page.as) with a main container that contains all the components of the user interface of the page.  the issue im having is that when I do addChild (page) of the class of main project, that the container is not properly made since I can't see the color of debugging, or margins, and all the ui just componnets sit in the upper left corner of the screen.  We never seen it before and be willing to help me find a solution.

    You can view the code? Are the parent container sizing properly?

  • Is there a container that does not cut off the screen?

    I am trying to line up a few ImageViews who absorb the size of the screen next to each other. I have them all in 1 container.

    Problem is that everything that is not on the screen is cut off.

    Is there a way to prevent this?

    I know ScrollView allows images off the screen, but I don't want it to be floating.

    Nevermind, figured it out lol...
    I had to just a larger quantity than the size of the screen of the container minWidth value (or minHeight according to wherever it is cut).

  • the image keyword does not appear in the list of keywords

    I have keywords in almost all of my 79 000 images. In this case showing the following figure of the image:

    RODEO2.PNG

    the key word "rodeo" is clearly in the picture. but when I go to the list of keywords here:

    RODEO1.PNG

    the key word is not listed.

    what I've done wrong?

    At the top of the keyword list Panel is a search box where you can type the first few letters of your keyword, and it will find all isntances of key words with these letters, no matter where in the list, it is located (nested or not).

    So, what happens if you type "rodeo" in this search box?

  • SQL IN keyword does not not in the data model. ???

    I created a data model that extract codes window a table by using the IN keyword.

    < name of dataTemplate = "Enonce1" defaultPackage = "" than one dataSourceRef 'Flex' = > "
    Properties of <>
    < property name = "include_parameters" value = "true" / >
    < property name = "include_null_Element" value = "true" / >
    < property name = "include_rowsettag" value = "false" / >
    < property name = "scalable_mode" value = "off" / >
    < property name = "db_fetch_size" value = "300" / >
    < / properties >
    < Parameters >
    < name of the parameter = Valeurdefaut 'branchcode"="000"/ >
    < / Parameter >
    < lexicals / >
    < dataQuery >
    < name sqlStatement = than one dataSourceRef "Q2" = "" >
    <! [CDATA]
    SELECT branch_code from sttm_branch@dbuser1 where branch_code IN(:branchcode)
    []] >
    < / sqlStatement >
    < / dataQuery >
    < dataStructure >
    < name of the group = "G_BRANCHES" source = "Q2" groupFilter = "" >
    < element name = "BranchCode" value = "branch_code" / >
    < / Group >
    < / dataStructure >
    < / dataTemplate >

    I created a LOV named branches that hold the entire industry codes and have created a branchcode parameter and set its type from the menu and have assigned branches LOV. I've also selected the check box "Multiple Sélection" and "Can select all" for
    ' Can SΘlectionner everything ' I select 'pass all values '.

    Now I am faced with two questions.
    (1) when I select "All" from the LOV and try to view the report there is no counter code be passed as a parameter. When I select "All" in LOV the XML that is generated, that's how.

    <? XML version = "1.0" encoding = "UTF-8"? >
    < Enonce1 >
    < > 000 BRANCHCODE < / BRANCHCODE >
    < / STATEMENT1 >
    As you can see he is just passing the value defined as defaultValue in the data model.

    (2) when I select several entries of LOV they demonstrate them as parameter in XML, but no data is returned. Resulted in the XML is like that.
    <? XML version = "1.0" encoding = "UTF-8"? >
    < Enonce1 >
    < BRANCHCODE '000 ', '001','002 ' > < / BRANCHCODE > (these are the parameter values)
    < / STATEMENT1 >

    Hello

    you need a lexical parameter in your query:

    SELECT DEPTNO, DNAME, LOC FROM DEPT * & deptwhereclause *.

    This glossary can be defined in one before the report according to your setting of multiple selection

    If p_deptno is not null then
    deptwhereclause: = ' WHERE DEPTNO IN ('| p_deptno |') ' ;
    end if;

    This complete example is here: http://www.oracle.com/global/de/community/bip/tipps/dynamische_queries/index.html

    It's in German, but the screenshots and code may help anyway.

    Concerning
    Rainer

  • Merger application, MYSQL DB-Viewcriteria 'Contains' operator does not work

    Hello

    I created Viewcriteria using "Contains" operator in the View object. Because of the symbol of the concatenation of the viewcriteria search form always displaying the message "no data to display.

    How can I use "contains"?

    Thanks in advance.

    Jdev version: 11.1.2.4.0

    DB: MYSQL

    Thank you

    Kalpana.

    How can I use "contains"?


    Refer

    https://tompeez.WordPress.com/2011/08/21/extending-viewcriteria-to-use-SQL-contains-4/

  • Find the keyword does not work properly in Bridge CS4

    Recently, I upgraded my Bridge CS3 to CS4 and I'm unable to do a find for the keywords now. All my photos that I had recorded with a keyword has prevented the key words of the CS3, but any time that do a find for some keyword, he says he found nothing. However, when I go to a certain picture bridge or highlight as the photo, and then select do a find for this photo by using the keyword I've been saving for this, he would acknowledge the keyword and find the photo then. I have hundreds of photos and I don't have the time to open every single folder and select each picture just so that bridge will recognize its key. Is there a way around this and if anyone else has had this problem?

    but any time do a find for some keyword.

    Try the search (Edition/search or cmd + F) menu. Choose your main folder that all your files are in Source. Criteria choose keyword and fill in one of the desired keywords.

    Be sure to have a check mark in fornt of the options "Include all subfolders" and "include Non-indexed files.

    Press search and let bridge, he is looking. This first time may take a little long but now bridge starts to index all the files. After that, you should be able to use the option to find keywords as usual.

  • My container.swf does not work

    Therefore I am applying some good advice given to me - but I can't seem to make it work - first of all, I just got a new Flash file, made the dimensions of the same to all 7 banners background, placed this script of action on the framework.

    ================

    var bannerArray:Array is ['HigherThroughputRO.swf', 'IWICSlogo.jpg', 'GL_Hanbin.jpg', 'NoTowers.jpg', 'Semaphore.swf', 'MoreSky.swf', 'TinCan.swf', 'TinCanB.swf'];.
    Banner string: var = bannerArray [random (7)];
    trace (Banner);
    this.loadMovie (banner);

    =====================

    can I get these messages in the error console Flash:

    ====================

    * Error * scene = scene 1, layer = Layer 1, frame = 1:Line 1: statement must appear in the onClipEvent/Manager
    var bannerArray:Array is ['HigherThroughputRO.swf', 'IWICSlogo.jpg', 'GL_Hanbin.jpg', 'NoTowers.jpg', 'Semaphore.swf', 'MoreSky.swf', 'TinCan.swf', 'TinCanB.swf'];.

    * Error * scene = scene 1, layer = Layer 1, frame = 1:Line 2: statement must appear in the onClipEvent/Manager
    Banner string: var = bannerArray [random (7)];

    * Error * scene = scene 1, layer = Layer 1, frame = 1:Line 3: statement must appear in the onClipEvent/Manager
    trace (Banner);

    * Error * scene = scene 1, layer = Layer 1, frame = 1:Line 4: statement must appear in the onClipEvent/Manager
    this.loadMovie (banner);

    Total ActionScript errors: 4 reported errors: 4

    ========================

    In addition to code errors, another question that I have is that I also have to make a movie of size even clip and put the code on the first frame of THIS or is it quite a bit to have the code on the first frame of my background of dimension of banner? In other words, we still have to do a clip or can leave us as empty a container with just the background and the dimension of the stage appropriate for random banners?

    Thank you very much

    KO

    You should cut all this code, click on the first frame of the movie, open the control panel actions and be sure that it says 'Actions-Frame' in the upper left corner, then paste.

  • Filter to does NOT [keyword]?

    I can't find a way DIRECT filter library for photos, not containing NOT an individual "keyword".  Workaround through text/keywords/don't contain no does not work for me because a lot of my "key words" contain spaces (multiple ' words').  Since it doesn't seem to be a 'quote' option in the search text box, what I get is a quest that SOR together each 'word' of my multi-word "keyword".

    I discovered that I can work around this problem first making a quick Collection of all my positive filter criteria, and then by selecting the photos of this quick Collection with the "keyword" undesirable (negative) (for example, by clicking on one of my "key words" in the column of word/filter list of keywords) and finally to delete these selections from the quick Collection.

    Otherwise, I can rename my "keywords", replace all spaces with hyphens, traits of underscore or that it was, and then use the filter text/keywords/does not contain.

    There should be a more direct method.  Am I missing something? -JClarkW

    There is no real solution for multi-word keywords up to tools Adobe 'quotes '.

    Maybe a slightly shorter route with the QC... In your image source, be it all photographs or a folder, use the keyword from the filter library column to select the images with the keyword of several unwanted Word, select all, disable the filter of the library and, finally, to invert the selection. You end up with images that contain only the keyboard, all chosen.

  • output HDMI does not...

    my friend connected a printer on my computer yesterday I'm using a desktop gateway computer and after they hung now my hdmi output does not work and I can't watch my programs from my computer on my tv... someone knows how to fix this? When I plug or unplud the cord hdmi on my desktop it recognizes not yet it is plugged/unplugged before my screen would go black for a second and then my speakers would make a noise (his speech) im using windows 7

    Hello

    Thanks for posting your question on the Microsoft community.

    We need more information about the issue so that we can help you better.

    What is the model number of your Gateway desktop computer?

    Thank you for details on the issue.

    This problem may occur because of corrupted device drivers or incorrect settings HDMI/display.

    I would suggest trying the following methods and check if it helps.

    Method 1:
    Run the hardware and devices Troubleshooter and check.
    Reference:
    Open the hardware and devices Troubleshooter
    http://Windows.Microsoft.com/en-us/Windows7/open-the-hardware-and-devices-Troubleshooter

    It checks the common issues of interest and ensures that a new device or hardware connected to your computer has been installed correctly.

    If this does not help, use method 2.

    Method 2:
    Please refer to the suggestions of Rohit lydie said on November 6, 2009 and check the issue.
    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-hardware/Windows-7-does-not-output-to-HDMI/985a4f2a-075d-4543-9e28-68119678d9fc

    I hope this information helps.

    Please let us know if you need more help.

    Thank you

  • Encoded video does not work on Toshiba Blu - ray disc player

    I have a problem I'm trying to encode a sequence of images into a video container, but does not work the video encoded on toshiba blu - ray disc player... I use the following command to ffmpeg to encode images and convert a video:

    ffmpeg-i "C:\ManVsWigan\Frames\%d.png" - vcodec libx264 'C:\ManVsWigan\encoded.mp4 '.

    I have tried several video codecs but no luck yet
    "- vcodec mpeg4.
    "- vcodec mpeg2video.

    If you have an idea please help me

    >... I'm trying to encode a sequence of images into a video container
    Please be so kind and try to explain why you need all this?

    I mean Toshiba portable computers offers equipped with pre-installed readers and offer laptop owners to enjoy watching BD movies. Everything else is not interesting for s Toshiba support I guess that if I put t think that this question has something directly with Toshiba.

    Have you tried to find the answer on another forum?

  • Playback devices does not recognize an output HDMI for sound!

    I have my HDMI connected with video but my output of sounds/audio/playbackdevices does not recognize that I have a connected TV, how do audio? theres no monitor to set as audio device by default!

    Normally, HDMI carries audio as well as video, so choose HDMI as the included default playback device work. If you don't see a HDMI, try:

    Click on:

    Start-> Control Panel-> Sound > tab reading .

    Now right click on an empty area and make sure that see the disabled devices and see the disconnected devices are enabled (checked). If your playback device (HDMI) appears, right-click on it and select enable. Now, right click on them again and select set as default device.

    If the above does not try to install the latest package of graphics driver that they usually contain the necessary audio drivers for output over HDMI.

    You can also check that your graphics card is capable of audio over HDMI output as some may not.

Maybe you are looking for

  • Can open Photoshop since Sierra update

    Trying to open Cs3, I get this poipup: "to open"adobe photoshop CS3.app"Normand you to install the runtime Java SE 6 legacy." I have the latest version of Java, version 8. All solutions? Help

  • Document of several pages of text of Multisim

    I use Multisim 14.0 and is working on a scheme that someone else did.  One of the pages is a text document.  How it was created?  I would like to add a page similar to one of my patterns, but cannot figure out how.  Thanks a lot for your help Michael

  • The XY graph properties

    I have it... Thank you!

  • my new mp3 player cannot connect to the PC

    HelloI have problem with my creative ZEN mp3 player. When I opened that the mpt Device Manager device has a bubble that will not disappear.when I support on put the driver in the middle of the search for device MTP suddenly this message appears "fini

  • Transformation in 2015 CC values

    Hi allcan someone tell me please how to disable transformation in 2015 CC values? I don't see anything in my preferences.Thank you!Dan