Want to index words more than 2 letters

Hi All:
Can anyone help me with this? I have set the prefix preference, min length to be 3.
But it does not work. Any ideas? Appreciate your help.
Thanks
Nahmeh

I believe that setting the minimum prefix length to 3 will cause it to index the first 3 or more characters of words that may be used in wild-card searches, but it will still index whole words with only 1 or 2 characters. You can use a stoplist and add all possible combinations of one or two letters, as shown below.
scott@ORA92> create table test_tab (test_col varchar2(80))
  2  /
Table created.
scott@ORA92> insert all
  2  into test_tab values ('testing words like a I with one letter')
  3  into test_tab values ('testing words like an in of on or us be we to with two letters')
  4  into test_tab values ('testing some non-words ab bc cd de zx with two letters')
  5  select * from dual
  6  /
3 rows created.
scott@ORA92> begin
  2    ctx_ddl.create_stoplist ('mystoplist', 'BASIC_STOPLIST');
  3    for i in 1 ..26 loop
  4        ctx_ddl.add_stopword ('mystoplist', chr(96+i));
  5        for j in 1 .. 26 loop
  6          ctx_ddl.add_stopword ('mystoplist', chr(96+i) || chr(96+j));
  7        end loop;
  8    end loop;
  9  end;
10  /
PL/SQL procedure successfully completed.
scott@ORA92> create index test_idx on test_tab (test_col)
  2  indextype is ctxsys.context
  3  parameters ('stoplist mystoplist')
  4  /
Index created.
scott@ORA92> select token_text from dr$test_idx$i
  2  /
TOKEN_TEXT
LETTER
LETTERS
LIKE
NON
ONE
SOME
TESTING
TWO
WITH
WORDS
10 rows selected.
scott@ORA92>

Similar Messages

  • I want to display message more than 50 characters

    hi experts
    i want to display message more than 50 characters, and the fm 'POPUP_DISPLAY_MESSAGE' can display just 50characters, my message maybe much long, what other fm can i use?
    btw, i cann't use POPUP_TO_CONFIRM to let user select, the popup screen should only have one button to let user type in.

    thanks for ur reply,
    but 'POPUP_TO_DISPLAY_TEXT' just has two lines(every line has character limit), my message to be displayed may be much long.
    why i need the fm is that, i want to display error message when user made error operation, if i use 'message msg type 'E' ', the message display in the status bar at the left-down place and cann't display the whole message if the message is to long.
    so i had like to find a fm like 'POPUP_TO_CONFIRM' which can display multipul lines and just with one button(which is the user required...).

  • My ipad had been frozen my daughter put wrong pass words more than 3 times its written on the screem connect to itunes what shall i do please.

    My ipad had been frozzen my daughter puts the passwords wrong more than 3 times ,And its written on the screem connect to itunes .What shall I do please?Thank you.

    You have to restore the device within iTunes. You want to use the same computer that you always sync with so that you can restore your app data and settings. You can restore with any other computer, but you will lose everything on the iPad.
    Instructions can be found here.
    http://support.apple.com/kb/ht1212
    You may need to restore using Recovery Mode. You can read about it here.
    http://support.apple.com/kb/ht4097
    Recovery Mode Instructions
    Disconnect the USB cable from the iPad, but leave the other end of the cable connected to your computer's USB port.
    Turn off iPad: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for iPad to turn off.
    If you cannot turn off iPad using the slider, press and hold the Sleep/Wake and Home buttons at the same time. When the iPad turns off, release the Sleep/Wake and Home buttons.
    While pressing and holding the Home button, reconnect the USB cable to iPad. When you reconnect the USB cable, iPad should power on.
    Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears you can release the Home button.
    If necessary, open iTunes. You should see the recovery mode alert that iTunes has detected an iPad in recovery mode.
    Use iTunes to restore iPad.

  • Bought an album too many times...dont' want to be charged more than once!

    Can someone PLEASE help me?? I tried to 'gift an album' yesterday for my friend. For some reason, he couldn't redeem the code iTunes gave him, so I sent it once more...and then another time. Finally, the 3rd time worked, and he now has access to the album I bought for him. But I do not want to pay 3 times!! How do I fix this? The error kept telling him the code had been redeemed already, but actually, it wasn't...he only has the album once! What do I do?? Please help!

    Did you actually gift the album multiple times; i.e. you clicked the "gift this album" multiple times? What does your purchase history for your account say? If it shows that you did inadvertently gift the album multiple times and were charged more than once, contact the iTunes Music Store customer support department through the form at the bottom of this web page and explain the problem to them.

  • Run Smart Index Wizard more than once?

    Afternoon all,
    RH8 generating WebHelp.
    Quick question on how the Smart Index Wizard works. I've run it once, made no changes to any topic, ran it again and got many more entries added to the Index.
    So, should one run the Smart Index Wizard multiple times? Until it says no more entries found?
    Is it adding entries the second time based on the existing Index entries it's already created?
    Thanks for any light you can shed...
    Patrick

    Colum,
    Thanks for the reply. I'm rapidly coming to the same conclusion about the Smart Index Wizard. It looks like, if "Find New And Existing Index Keywords" is selected, the wizard will add keywords based on topic content AND existing index entries. This would explain why the wizard finds new words each time it's run.
    My multiple runs of the wizard on my small project resulted in 6448 entries added the first time, 4191 the second, 154 the thrid and 69 entries added the fourth. Seems like it picks up nearly every word and phrase outside of the ignore list.
    A lot of what the wizard puts out is clearly useless. The wizard is also not as useful as it could be since it filters on topic Status and not CBT. Howver, I've saved off the .hhk file as I do like to peruse it for words I've missed and suggested phrases. It's also good to give you a veiw of just how many places a word or phrase is being used - helps me to see how common it is and whehter I want to include it or not.
    Patrick

  • How to create an index from more than one pages document?

    I have 10 different pages documents. Each document is a book chapter. Now I would like to create one index for all of these chapters in a new pages-file without copying all files into one single file. How does this work?

    Thanks for your answer. Than this is a real deficit of pages. Have you got any ideas for an alternative solution, that doesn´t force me to work with Microsoft? I have a document of 300 pages, having this in one document is neither practical nor stable. Thank for supporting!

  • Had upgraded to lion. Many software wouldn't work and downgraded back to snow leopard.  Now it comes up c user name and password. I haven't used my password since I bought the computer years ago. I put it in but won't work. More than 8 letters, does thaMA

    I upgraded to lion and many software didn't work. Downgraded back to snow leopard and now my initial login page
    Is asking for my password. I put it in, but it's not working. Possible I have forgotten the correct one considering in think the last time I logged
    In was when I bought the computer. But I think it's right. I did read something about if ur password was 8 characters or more it won't work? Anyone know? Or know how I can reset my password?

    Try this http://osxdeveloper.wordpress.com/2011/07/27/reset-10-5-leopard-10-6-snow-leopar d-password/
    Allan

  • I want something a little more than just iMovie 11...

    i make a lot of flicks with recorded video, from both my nikon d5000, and facetime camera, i use high grade still images, and always end up using transitions and text...i want to upgrade, but can't afford FCP...will M5 be compatible with my working in iMovie11? currently operating on lion os x 10.7
    also, if anyone has any suggestions on any type of app that has video effects on both recorded video, still images, and etc i welcome your advice! cheers!

    so i could create effects in motion, export them (via quicktime to my understanding) and them import them as files, clips, or whatever and use them in my imovie? i suppose you could say that i am confused on how motion could enhance my making films....
    here is a link to my vimeo page...what i have been doing using imovie...
    http://vimeo.com/brokenimagery
    sorry if i am being confusing- sorta why i joined this dissusion forum...thanks for taking the time to reply.

  • I want to sync with more than one computer without deleting my content...

    I want to sync my ipod with my other laptop but it keeps telling me that i can only be synced with one itunes library at a time. what do i need to do to get the music without deleting all my content?

    An iPod can only sync with one iTunes library/computer.  However, one can manae music and videos on multiple computers see:
    Using iPhone, iPad, or iPod with multiple computers

  • The jerking image in LR1.2; Good news: no more than in LR 1.0 or in LR1.1

    Would please, pleeeeease someone fix it at last?
    Whenever I advance to next image in "D" module, or after performing the
    acta acrobatica gymnastics with Control-Shift-E, every image jumps sidewards by an inch, than it jumps back, than it jumps left again by one inch, than it jumps back and than finally it remains quiet. I even posted screen dumps with this phenomenon. This happens so often in my case, that I was able to make screen dumps with the image jump in progress.
    System: Windows XP Pro, Dell Dimension 9200, NVidia GeForce 7300 LE. Of course, I asked both Dell and Nvidia for newest drivers and I updated the drivers and the desktop manager each time to the newest version.

    john hawk 666,
    No one in the other thread you mentioned said that it was wrong to complain. As I stated in a post on the other thread. THIS forum is NOT the Adobe complaint department.
    Read this and the other topic thoroughly. Quite a huge difference in demeanor and content. In the other topic the OP, by his choice of words, wanted to accomplish nothing more than slamming Adobe and the LR team for failing to improve Lightroom on his terms, on his schedule. To add insult to injury, the OP then labeled all other users who who disagreed with him as "lemmings going off a cliff."
    In this thread, the OP was was seeking answers from fellow users as to the cause of his problem. While the discussion was lively, it was sensible and tolerant. Lee Jay simply stated he had THUS FAR not heard any other similar problems. As it turns out another user also experienced the same problem and shared his solution to the problem . This is how the forum is supposed to work.
    If you want to blast or flame Adobe, chances are, they will likely never see your post here, let alone respond to your needs. If ESPN chooses not to broadcast my favorite college football game who should I complain to? Will complaining to my neighbor across the street who wants to watch a different game get my message to ESPN about my displeasure? Somehow I don't think ESPN would hear my complaint.
    Butch

  • How to show more than one record at a form-like style report?

    Hi All,
    I developed a form-like style report
    I want it to show more than one record at once (At the same page)
    I tried that by setting the value to "Maximum records per page" property for the repeating frame to 10
    but when I close the property palete and open it agian the value is returned to 1 !!!
    how to show more than one record at the same page?????
    Thank u

    Hi,
    there's perhaps another property like "page protect". If than 2 records didn't fit at one page there's a page break. Or is there any object inside the repeating frame with page-break properties? Sorry .. it's like looking into a chrystal ball ...
    Regards
    Rainer

  • How do  I display more than one region as a modal popup?

    Hello all!
    I have a popup that displays a report region. I now want it to display more than one region, say a report region and another report region underneath it.
    Here's the code that I currently have (and this one can popup one region):
    $.fx.speeds._default = 1000;
    $( function(){
      $('#ModalForm').dialog(
         modal: true,
         autoOpen: false,
         width: 650,
         height: 450,
         buttons:{ Calculate: function(){calculateTotal();},
                         Close: function(){closeForm();}        
    function openForm(pFoodTemplateId, pMealTypeId)
    var getone = new htmldb_Get('shiny',&APP_ID.,"APPLICATION_PROCESS=DUMMY", &APP_PAGE_ID.); // initialize get
    getone.add('P24_TEMPLATEID', pFoodTemplateId);
    getone.add('P24_MEALID', pMealTypeId);
    gReturn = getone.get();
    getone = null;
    $('#ModalForm').dialog('open');
    function closeForm()
    {$('#ModalForm').dialog('close');}
    $(document).ready(function()
        {$('a.temppop').click(function() {openForm();});
    });The class of the button (or in my case, the link in another region that's not displayed as a popup) is temppop.
    QUESTION:_
    How do I edit my existing code, so that it can now display another region?
    The ID of the region it displays now is ModalPopup. I would like to add another region, with another ID off course. Pick any ID, as long as you can explain to me how.

    Magali wrote:
    Hello all!
    I have a popup that displays a report region. I now want it to display more than one region, say a report region and another report region underneath it.
    Here's the code that I currently have (and this one can popup one region):
    $.fx.speeds._default = 1000;
    $( function(){
    $('#ModalForm').dialog(
    modal: true,
    autoOpen: false,
    width: 650,
    height: 450,
    buttons:{ Calculate: function(){calculateTotal();},
    Close: function(){closeForm();}        
    function openForm(pFoodTemplateId, pMealTypeId)
    var getone = new htmldb_Get('shiny',&APP_ID.,"APPLICATION_PROCESS=DUMMY", &APP_PAGE_ID.); // initialize get
    getone.add('P24_TEMPLATEID', pFoodTemplateId);
    getone.add('P24_MEALID', pMealTypeId);
    gReturn = getone.get();
    getone = null;
    $('#ModalForm').dialog('open');
    function closeForm()
    {$('#ModalForm').dialog('close');}
    $(document).ready(function()
    {$('a.temppop').click(function() {openForm();});
    });The class of the button (or in my case, the link in another region that's not displayed as a popup) is temppop.
    QUESTION:_
    How do I edit my existing code, so that it can now display another region?
    The ID of the region it displays now is ModalPopup. I would like to add another region, with another ID off course. Pick any ID, as long as you can explain to me how.First build your dialog for new ID (please replace NEWREGIONID with your region static id)
    $( function(){
    $('#NEWREGIONID').dialog(
    modal: true,
    autoOpen: false,
    width: 650,
    height: 450,
    buttons:{ Calculate: function(){calculateTotal();},
    Close: function(){closeForm();}
    And now you could open or close the dialog
    $('#NEWREGIONID').dialog('open');

  • User Defined Activity "hangs" Process Flow if it runs for more than 10mins

    I have been using OWB (10g r2) for a while and have used "User Defined" activities in production process flows successfully before.
    However my problem now is that the activity (shell command) I want to perform, takes more than 10 minutes to complete. If I run the process flow with a parameter that generates a shell command that executes in two or three minutes, the process flow continues past the sucessfully executed user defined activity to the next activity.
    BUT
    If I run the same process flow (without modification or even redeployment) with a different parameter , the user defined acivity sucessfully executes (after about 11 minutes or so) but the process flow , doesnt seem to know that it is finished and just says it is still executing.
    my "user defined" activity has
    COMMAND: /usr/bin/ksh
    PARAMETER_LIST bound to a variable which is set earlier in the process flow.
    RESULT_CODE:
    SCRIPT :
    SUCESS_THRESHOLD : 0
    by examining (RUNTIME CONTROL CENTER SCHEMA).all_rt_audit_execution_params
    I can see that the variable contents assigned to RESULT_CODE look like this
    '/usr/bin/rsh -n WINSRV1 dtsrun /usa /ppw /S WINSQLSRV /N JOBNAME_SHORT'
    or this
    '/usr/bin/rsh -n WINSRV1 dtsrun /usa /ppw /S WINSQLSRV /N JOBNAME_LONG'
    I put the -n in because I thought that may have been the problem, but I think its more likely that there is come sort of ".properties" in a runtime file that needs to be set to control the "timeout" of user defined activities.
    (like in Runtime.properties
    property.RuntimePlatform.0.NativeExecution.Shell.security_constraint = NATIVE_JAVA
    except maybe
    .........Nativeexecution.timeout = .....?????
    Has anybody had a problem like this? Found a document describing available configuration properties for PF activites?
    Can anyone help?

    I have been using OWB (10g r2) for a while and have used "User Defined" activities in production process flows successfully before.
    However my problem now is that the activity (shell command) I want to perform, takes more than 10 minutes to complete. If I run the process flow with a parameter that generates a shell command that executes in two or three minutes, the process flow continues past the sucessfully executed user defined activity to the next activity.
    BUT
    If I run the same process flow (without modification or even redeployment) with a different parameter , the user defined acivity sucessfully executes (after about 11 minutes or so) but the process flow , doesnt seem to know that it is finished and just says it is still executing.
    my "user defined" activity has
    COMMAND: /usr/bin/ksh
    PARAMETER_LIST bound to a variable which is set earlier in the process flow.
    RESULT_CODE:
    SCRIPT :
    SUCESS_THRESHOLD : 0
    by examining (RUNTIME CONTROL CENTER SCHEMA).all_rt_audit_execution_params
    I can see that the variable contents assigned to RESULT_CODE look like this
    '/usr/bin/rsh -n WINSRV1 dtsrun /usa /ppw /S WINSQLSRV /N JOBNAME_SHORT'
    or this
    '/usr/bin/rsh -n WINSRV1 dtsrun /usa /ppw /S WINSQLSRV /N JOBNAME_LONG'
    I put the -n in because I thought that may have been the problem, but I think its more likely that there is come sort of ".properties" in a runtime file that needs to be set to control the "timeout" of user defined activities.
    (like in Runtime.properties
    property.RuntimePlatform.0.NativeExecution.Shell.security_constraint = NATIVE_JAVA
    except maybe
    .........Nativeexecution.timeout = .....?????
    Has anybody had a problem like this? Found a document describing available configuration properties for PF activites?
    Can anyone help?

  • Sending mail with excel  more than 255 character in a line

    Dears,
    In my program , I use SO_NEW_DOCUMENT_ATT_SEND_API1  to send email with EXCEL attacment.
    But when i want output a line more than 255 characters  in the excel I met the problem, it only appeared 255 characters
    describe table mailbin lines tab_lines.
        mailpack-transf_bin = c_checked.
        mailpack-head_start = 1.
        mailpack-head_num = 1.
        mailpack-body_start = 1.
        mailpack-body_num = tab_lines.
        mailpack-doc_type = c_xls.
        mailpack-obj_name = space.
        mailpack-obj_descr = lv_mail_title. "the excel file name
        mailpack-doc_size = tab_lines * 255.
        append mailpack.
    * Sending the document
          call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
            exporting
              document_data              = maildata
              put_in_outbox              = space
              commit_work                = c_checked
            tables
              packing_list               = mailpack
              object_header              = mailhead
              contents_bin               = mailbin
              contents_txt               = mailtxt
              receivers                  = mailrec
            exceptions
              too_many_receivers         = 1
              document_not_sent          = 2
              operation_no_authorization = 4
              others                     = 99.
    But i have to output those characters in one line.
    Anyone could help me?
    Thanks a lot.
    Sincerely,
    Julie

    data: objpack    like sopcklsti1 occurs 2 with header line.
    data: objhead    like solisti1 occurs 1 with header line.
    data: objbin     like solisti1 occurs 10 with header line,
            is_objbin  type  solisti1 .
    data: objtxt     like solisti1 occurs 10 with header line,
            is_objtxt  type solisti1 .
      data: l_tab(1)   type c value cl_abap_char_utilities=>horizontal_tab,
           con_cret   type c value cl_abap_char_utilities=>cr_lf.
    data: tab_lines  like sy-tabix,
            : tab_lines1 like sy-tabix.
      data : lenth_string type string,
            s_string     type string.
    data : L type i, i type i,cplen type i, balance type i,
    before describe table mailbin lines tab_lines ... Use below logic.
    Loop at your_internaltable.
    concatenate field_1
                field_2
                field_3
           into lenth_string separated by l_tab.
    concatenate  lenth_string con_cret into lenth_string.  
    concatenate s_string lenth_string into s_string.
    endloop.
           L = strlen( s_string ).
           i = 0.
           cplen = 255.
           balance = l.
        do.
          if balance <= 0.
            exit.
          endif.
          if balance < 255.
            cplen = balance.
          else.
            cplen = 255.
          endif.
          objbin = s_string+i(cplen).
          i = i + cplen.
          balance = balance - cplen.
          append objbin.
        enddo. 
    ...... after this use ur exesting code....describe table mailbin lines tab_lines and so
        describe table objbin lines tab_lines1.
        clear objpack-transf_bin.
        objpack-transf_bin = ' '.
        objpack-head_start = 1.
        objpack-head_num = 1.
        objpack-body_start = 1.
        objpack-body_num = tab_lines1.
        objpack-obj_langu = 'E'.
        objpack-doc_type = 'XLS'.
    call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        exporting
    -tables
          packing_list               = objpack
          object_header              = objhead
          contents_bin               = objbin
          receivers                  = reclist
    Regards,
    Sri.
    Edited by: sridhar arjunan on Jul 28, 2009 4:22 PM
    Edited by: sridhar arjunan on Jul 28, 2009 4:23 PM

  • Using more than one phone number on single iPhone for iMessage?

    Is it possible to intentionally have more than one phone number listed under Settings > Messages > Send & Receive?  I know I've heard of 'glitches' where more than one phone number is shown accidentally and how that is solved (signing out of iMessage and then back in), but if you want to intentionally have more than one phone number listed there (say, the phone number of your own device and also the phone number of your work-related iPhone), is there a method?  I'm leaning toward the answer of 'no', but I'm wanting to double check.

    robdrage wrote:
    I'm not sure, but if you use the same Apple ID for both iphones and register both with messages, then you may be able to go to device one Settings>Messages>Send&Receive and select device twos number as well.
    I thought about that. For some reason, I think that I've heard it doesn't work. Sadly, however, I don't have two iPhones with which to test it.

Maybe you are looking for

  • When i plug my ipod into the computer it turns it off and an error message comes up

    when i plug my ipod touch into the computer it turns my computer off, and a blue screen appears with this error message on STOP: OX0000007E(OXC0000005, OX00000000, OXF795F7BC, OXF795F48B8) can anyone help me please i dont know what to do

  • Can a mac connect to a TV like a PC can?

    My tv has this PC mode, where you can connect your PC. But I don't have a PC, I have a Mac. Can you connect it somehow? By the way, I don't have an Apple TV, if that changes anything.

  • Output report data to excel file format or csv format

    Is there any way to save softcopy of report output to excel file format or csv format.

  • Thickbox image gallery not working.

    HI guys, Im creating an image gallery using the 'thickbox' widget. When I preview my page on a browser, and click the thumbnail image, nothing happens. It just loads the thickbox preloader bar, nothing else! I've followed online tutorials by the book

  • Cf_pdfform tag

    I have created a coldfusion application. I need to populate an existing pdf form with values from a SQL Server database table. The user will need to enter a loan number in Coldfusion form field and pull up an exisiting PDF form file and populate the