Build indexes of text based on a list of words or phrases.

I'm a bit of a newbie to this full-text indexing. I was able to build and query an index of simple text and even set up my own list of stopwords. However, I would like to be able to control the set of words that are indexed.

For example, if I have a table that contains a CLOB field full of text documents and I also have a list of 200 words:

"TUBERCULOSIS".
"DIABETES".
"CHEMOTHERAPY".
...

I can generate an index that only indexes the words on this list and does not take into account all the other words? (the inverse of the use of a list)

Also, it could be done with a list of phrases instead of single words:

"CARDIAC ABLATION.
"ATRIOVENTRICULAR NŒUD.
"LUNG ABSCESS.
...

Thank you.

You don't need to store a copy of the document that I did in the example. If you have a unique identifier, such as a numeric primary key associated with the document, you can store that instead and joining the table with the document when you need to.

Tags: Database

Similar Questions

  • Show / hide the text box drop-down list database

    Hi all

    First time post here - wahoo!  :-)  Brand new user of LiveCycle, and so far I'm loving - very cool app!  I am a bit puzzled, however, and hoping someone can help...

    I am using LiveCycle version 8.05 and try to build a form that has a drop-down list with departments in our Organization.  If the user selects the elements 1-5 on my list, I want two other fields at autopopulated (one for the Admin Assistant) and one for Dept Head.  If however the user selects 'Other', I want a text box (it will be hidden the rest of the time) where the person will be able to type in the Department they work for.  For now, I'm only interested on getting the box 'Other' to appear; I'll worry about the other stuff later.

    Elsewhere in my form, I have a functioning drop-down list that displays a text based on the selection field; However, for some reason this logic does not work with the situation described above.

    My code for the working text field is (in JavaScript)

    var
    
    (sNewSel)
    case "1": 
    switch
    {
    
         TextField6.rawValue = "My text is in here";
    break;
    case "2":
    
    
    
    = "My second text is in here ";
    
    
    break;
    "3":
    
    case 
    
    = "My third text is in here.";
    break;
    TextField6.rawValue
    
    default:
    }
    break;
    
    
    TextField6.rawValue 
    
    
    sNewSel = this.boundItem(xfa.event.newText);
    

    After many fruitless hours yesterday, I got only to the extent where the code below; This was more or less copied right out of a post here.  When I click on the drop-down list, select 'Other', the text field is displayed.  I tried the definition of the text field to the times 'Hidden' and 'Visible' through properties of the object, but no luck.  I tried to use IF statements, subforms and anything else I could think of but am getting nowhere.

    var nSubLength = Subform1.nodes.length;
    var 
    sSelectField 
    for
    
    {if
    {switch (xfa.event.newText) 
    (case "6":
    Subform1.nodes.item(nCount).presence
    break
    default:
    Subform1.nodes.item(nCount).presence
    break
    }
    }
    }
    ;
    = "invisible";;= "visible";((Subform1.nodes.item(nCount).className == 
    "field") &(Subform1.nodes.item(nCount).name== sSelectField)) 
    (var nCount = 0; 
    nCount < nSubLength; 
    nCount++) sSelectField = fieldList.rawValue;
    = sSelectField.replace(' ', '');

    Any ideas?  This is very new to me, but I am familiar with other programming languages, and something this simple should not be difficult which leads me to think I'm missing something.

    Thanks in advance

    Chris

    It was easier to create a sample for you... Please see the attachment.  I think that's what you want.

    The code is on the change event of the DDList

    Paul

  • Build failure causing text EULA

    I received a EULA text to apply to my VMWare Studio construction profiles today and this applied accordingly. Now, when you build the virtual machines, I get the following error when packaging the EGG file output:

    29/05/2013 19:49:26 [info] the development of the virtual machine.

    29/05/2013 19:49:26 [info] packaging of the virtual machine.

    29/05/2013 19:58:10 [error] export VM as eggs

    ; /opt/VMware/www/build/myprofile.1/exports/OVF/myprofile_OVF10.ovf:1: parser error: Document is empty

    ^

    /opt/VMware/www/build/myprofile.1/exports/OVF/myprofile_OVF10.ovf:1: parser error: expected start tag ' < ' not found

    ^

    Failed: failed xmlParseFile()

    Has anyone else come across this and found a solution?

    So far, I have checked remove the text of the EULA, I had and application of a simple placeholder text solves the problem. In addition, of which only the first two paragraphs (and even to repeat these many times) Similarly to solve the problem, there seems to be something specific in the rest of the text which is the origin of the problem, although I have not yet identified which. The process of elimination is very slow when the builds for 45 minutes (I guess it could be worse!). For what it's worth, there is no square brackets in the text!

    I use VMWare Studio 2.6 and build RHEL 6.4 based VMs.

    Thank you

    John

    In the case where someone of another grave on the question proved to be caused by an obvious bug in VMWare Studio manipulation of HTML entities in the text of the EULA as far as I can understand. My initial conclusion was that the removal of the specific text of a semicolon and solved the problem, if there was previous semicolons in the text do not cause any problems.

    Replacement of all the & characters in the text of the EULA but finally solved the problem, so my best guess is the semicolon in question was the first after an ampersand somewhere above in the text (I'm not back to check later).

  • Cascade LOV display text (based on LOV) report clasic

    Hi Experts,

    It is possible to use cascade LOV - item is displayed as text (based on LOV) in clasic report? (Display AS)
    I would like to refer to another column displayed in the report in LOV.

    Example:
    select description d,
           val_strg2 r
      from domain_cntr
     where cntr_name = 'CH_PRIM_ST_NOTE'
       and val_strg1   = #PRIM_STATUS#
       and active_idc  = 'Y'
    #PRIM_STATUS # is the column I would like to reference.

    Is this possible? IN THE CLASSIC REPORT

    concerning
    J :D

    Hello
    >
    Is this possible? IN THE CLASSIC REPORT
    >
    Yes.

    It can one thing long enough to encode, so be prepared for that.

    Here's how:
    a. use the APEX_ITEM API in your report query. Be sure to only specify the p_item_id parameter, using #ROWNUM #.
    b. in the LoV wrtie Parent a trigger of onChange event which triggers a JavaScript function and pass it the ID of the item.
    (c) in this JavaScript function makes a call to get AJAX < select >... < option... >... < / select >, in short the full HTML of the child LoV
    d. push this HTML fragment in the child Lov. You build the ID of the target based on the ID of the parent. E.g. f01_0001 to f02_0001.
    e. you can further keep the invisible or disabled child initially and then make it visible/enable after it is filled.

    Kind regards

  • How can I add Auto text based on the value in the numeric field?

    Need help... I'm trying to add the auto text to a text based on a value in a numeric field. I want my text fields (summary box) to say 'Success' if (box score) value is equal to 10 and say "is not good" If the value is less than 10. My digital field is calculated by selecting drop-down lists.

    Thanks in advance for your help.

    Ed Watson

    Here is a link to the document that I created...

    https://files.Acrobat.com/?TrackingID=KGLIT#folder/c3106c32-2e69-4a5f-8ef2-94d25623dbfb

    Try this:

    If (NumericField1.rawValue< 10)="">

    TextField1.rawValue = "does not."

    }

    else {}

    TextField1.rawValue = "passed."

    }

  • Display as text based on LOV a form

    A column of report can have Apex 4.0.2 display type "display text (based on LOV). I don't know this type of display in a form, only "view only". However, that displays the code (for example, empno), and no description (ename). I don't want to use the list select or Popup LOV, because my article should not be editable.

    Is there something like "Display text (function LOV)" in a form?
    I know that I can make a point of non-base of data and use a SQL statement as a source, but that I can not re - use the existing LOV.

    Is there something like "Display text (function LOV)" in a form?

    Before APEX 4.0 there was a display text (based on LOV, does not save the State) form point type. In 4.0, the variety of the types of items has been simplified and customization options the smaller number of types of basic elements moved elsewhere.

    Set the properties of the element as follows:

    H4. Name
    Display: display only
    H4. Parameters
    Save Session State: No.
    Based on: the display value for list of values

  • How to influence the APEX 4.0 autocomplete text element drop-down list colors?

    Hello

    Could some body if you please tell me the model that I need to change?

    I use the 15 theme and the text with AutoComplete element has a very different color scheme, I would like to change, so that it would harmonize with the theme 15 colors. It's just that I can't find the model to change. TIA.

    Tamás

    Tamas

    There is no model for the AutoComplete element. His appearance is controlled entirely using CSS. Theme 15 includes a style on the theme of AutoComplete items: she descends to a generic schema that is specified in the apex_4_0.css style sheet:

    .ac_results {
      padding: 0;
      border: 1px solid black;
      background-color: white;
      overflow: hidden;
      z-index: 99999;
    }
    .ac_results ul {
      width: 100%;
      list-style-position: outside;
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .ac_results li {
      margin: 0;
      padding: 2px 5px;
      cursor: default;
      display: block;
      font: menu;
      font-size: 12px;
      line-height: 16px;
      overflow: hidden;
    }
    .ac_results li {
      margin: 0;
      padding: 2px 5px;
      cursor: default;
      display: block;
      font: menu;
      font-size: 12px;
      line-height: 16px;
      overflow: hidden;
    }
    .ac_loading {
      background: white url('indicator.gif') right center no-repeat;
    }
    .ac_odd {
      background-color: #eee;
    }
    .ac_over {
      background-color: #0A246A;
      color: white;
    }
    

    The best approach would be to use a tool to identify what web Inspector that each of these rules in the context of the use of the AutoComplete element and create your own theme-15-friendly style sheet to override this subset of apex_4_0.css.

  • How do you get different fields of the checkbox to display based on a list box selection?

    I'm a relative newbie with lifecycle Designer ES use v.8.2.1 to create interactive forms to replace manual paper copies.  I am working on a form that has a bit down the list boxes.  I want another checkbox fields to display based on the selection of an item from the drop-down lists.

    Guidance on the best way to do this would be greatly appreciated.

    Hello

    Here is an example with the text of the dropdown list change event. You can clearly his choices of previous box once the subform is hidden.

    It is good to group objects in a subform - enough to hide the subform and not to each object in turn.

    Good luck

    Niall

  • Native SDK is suitable for text-based application?

    I write an application based on the text for Playbook. I read the libraries and learning native SDK for the last days. Now I can't find an easy way to 'draw' texts on the screen of the playbook.

    Please give me some pointers or suggestions.

    If native SDK do not, let me know related libraries or knowledge that I need to look for.

    If the native SDK is not appropriate, what development tool would you suggest me to use? HTML5 or something else? And why?

    I'm new to this forum and new to playbook.

    Thank you.

    Native development kit is not really appropriate, unless you are ready to use the libraries of the add-on as the port of Qt, which is perhaps still a work in progress. The NDK for target now is mainly to games or other applications for which should be essentially generate UI whole 'manually '.

    HTML5 can obviously manage text. So can air. I can't recommend one over the other, or any other environment for you, since "text-based application" is not really describe what you are trying to reach.

  • How to import a list of words to separate text layer?

    I have a long list of words in a text file, for example:

    Michale Hitz

    Aldo Kimbro

    Kaila Jarvie

    Elizabet Coelho

    Felicia Sharpless.

    Suzette Jayne

    Myles Ruark

    Racquel Cremer

    Adrien Harling

    ...

    and I want to import them into Photoshop so that each name is placed in a specific text layer. Is there a simple way to do it?

    Here's a quick script that can do. It assumes that there is a text file on your desktop named "name list.txt" it also assumes that the text using a return between names file, this can be changed to commas or anything else you want to use. You must also have an open file to make it work. It does not define the font or the font size, but you can put in the script or select all layers later and change it at once.

    #target photoshop
    var doc = activeDocument
    var textFile = new File(Folder.desktop+ '/name list.txt');
    var list = readText (textFile).split('\n');
    
    for (var i = 0;i		   
  • How do I disable a text field or select list when I change record.

    Dear Sir.

    I created the form with the report when I insert the new record, then all ground are able to insert the value in the table.

    Here I want to when I change any folder, then a field as a TEXTFIELD or select list, which I should be disabled in the case of a CHANGE.



    How do I disable a text field or select list when I change record.



    Thank you

    CORINE

    Hello

    Edit the element... There is a Readonly tab... Enter the condition for readonly... for example... Suppose you have a hidden field P1_X for the primary key. To add the new record, this field will be null and for editting p1_x will have the primary key value...

    So you can make the condition as P1_X readonly IS not null...

    Kind regards
    Shijesh

  • Return text based on a calculated score

    I am a beginner with calculations of LiveCycle.  I created a questionnaire that calculates a score based on the answers that a user chooses to drop downs.

    Now I need to find a way to fill a field with a text based on the range of results.  For example, the score calculated for the questionnaire is between 8 and 10, then I want to have a subtitled 'Risk Assessment' field, which should fill it with the text "High".  If the calculated score added up to between 5 and 7, then "the risk assessment field must fill it with the text"Moderate". etc.

    I have tried to understand this using if/then, but so far have had no luck. This is what I have so far - my two fields named "Score" and "risk".

    If (Score.rawValue > =8) then (risk) == endif 'High'

    Any help would be greatly appreciated.

    Hello

    One way would be to use the Choose function in the case to calculate if the risk on the ground, so something like;

    //              1      2      3      4         5           6           7        8       9       10

    Choose(Score, "Low", "Low", "Low", "Low", "Moderate", "Moderate", "Moderate", "High", "High", "High")

    Concerning

    Bruce

  • Problem indexing Oracle text

    Hi all

    We have recently migrated one of our database to oracle 10.2.0.2 to Oracle 10.2.0.4 and since that time, Oracle Text Engine an indexer is unable to work properly.

    Indexing data systematically result in the following error:
    DRG-50857: error oracle in dreii0fsh
    ORA-06550: line 1, column 106:
    PLS-00302: component 'S_MODE' must be declared.
    ORA-06550: line 1, column 10:
    PL/SQL: Statement ignored

    Note that the data that have been indexed with the previous Oracle version can still be found with ' Select... where... contains. ', although new datas not indexable at all.

    Can someone help me with this problem?

    Published by: methos on May 11, 2010 06:59

    See on metalink:

    "DRG-50857: oracle in dreii0fsh error ' when creating indexes of TEXT [750898.1 ID]"

    It seems that you updated the binaries, but Oracle not the text itself.

    Werner

  • How to wrap the text in the selection list

    Hello

    Is it possible to wrap the text in a select list? If so, how you do this?

    Currently, the field is a width of 30 with a maximum width of 30.

    Thank you
    Mary

    Is it possible to wrap the text in a select list? If so, how you do this?

    Don't think. According to the HTML specification elements < option > with the values in a statement select <>cannot contain text, without other HTML elements can be included to affect the structure.

    Currently, the field is a width of 30 with a maximum width of 30.

    My understanding is that these values have no effect. Using CSS to apply a width can be supported by some browsers, but others will always show the item select the width of the longest < option >.

  • Which component to display the list of words as paragraph?

    Which component is preferable to display a list of words in a paragraph format?

    I have a list of 'tags' (as in the words) in a database, and I want to display the tags in a Flex component as in the HTML example below:
    http://blog.flexexamples.com/tags/

    TileList doesn't work, because the columnWidth is uniform, and the words in the database have variable lengths.
    Thank you very much.

    Hello

    You can do something like this, you can add your additional code in linkHandler function to remove the link to your data source and adding it in the other component


    http://www.Adobe.com/2006/mxml"layout ="absolute">
     
       
                       
    "private var myDataSource:String ="tag1 tag2 tag3"
               
    public void linkHandler(event:TextEvent):void {}
    trace (event.text + "clicked")
    }
    ]]>
       

       
       

Maybe you are looking for

  • How to import an address book from GMail?

    I have about 350 entries in my personal address book, and I would like to move in front of GMail in Thunderbird. I tried a two-step process, IE. creating a CSV file when exporting GMail to Excel, and then import the CSV file into Thunderbird, after a

  • When will add Firefox button?

    Tutorials speak the "Firefox" button, but there is no! What were thinking? It is in the tutorial, but not in the software yet? Does anyone know if there is a new version that includes this new upcoming feature?

  • HP Pavilion driver BCM43142A0 15-p031tx

    What is BCM43142A0? I have download all the available drivers. My OS is Windows 7 64 bit. Thank you.

  • How to record the phone in iCloud drive storage

    I am user of i5s with iOS9. My camera only 16 GB of storage and 50 GB of storage on icloud. How can I save my storage phone by keep all my pictures and videos on iCloud drive? In any case, to keep my pictures and videos on iCloud drive so that I can

  • camps if conditions with adjustment entries

    Hello world We (my group) are totally new to labview, but we must use it for a project and I was wondering if you guys can point us in the right direction. We must do an if condition that is something similar to the following: If (output circuit 1) >