Multiple text indexes on a single database

Hi,
We want to enable text search on one of our databases. Due to the specificity of the database we want to use a custom thesaurus.
I would like to know if there's a way to create different text indexes using different thesaurus and then specify the index to be used in the query(similar to oracle sql hints).
Thanks,
Uma

I don't know how often your data changes or how soon that data needs to be searchable or whether there can be any down time. If you can run a nightly procedure, during which time the data would not be searchable, you can have that procedure synchronize the index, then check all of the indexed tokens against those in your financial terms and those in your stoplist, then add any of the tokens that are not financial terms to your stoplist, then drop and rebuid the index. The new documents will then be searchable. It appears that, in order for the new stopwords to be used, the index must be dropped and recreated, not just rebuilt or synchronized. Please see the example below.
SCOTT@10gXE> CREATE TABLE financial_terms
  2    (word VARCHAR2 (60))
  3  /
Table created.
SCOTT@10gXE> INSERT ALL
  2  INTO financial_terms VALUES ('account')
  3  INTO financial_terms VALUES ('balance')
  4  INTO financial_terms VALUES ('bank')
  5  INTO financial_terms VALUES ('deposit')
  6  INTO financial_terms VALUES ('finance')
  7  INTO financial_terms VALUES ('loan')
  8  INTO financial_terms VALUES ('withdraw')
  9  SELECT * FROM DUAL
10  /
7 rows created.
SCOTT@10gXE> CREATE TABLE financial_documents
  2    (document CLOB)
  3  /
Table created.
SCOTT@10gXE> EXEC CTX_DDL.CREATE_STOPLIST ('non_financial')
PL/SQL procedure successfully completed.
SCOTT@10gXE> CREATE INDEX financial_idx ON financial_documents (document)
  2  INDEXTYPE IS CTXSYS.CONTEXT
  3  PARAMETERS ('STOPLIST non_financial')
  4  /
Index created.
SCOTT@10gXE> CREATE OR REPLACE PROCEDURE check_words
  2  AS
  3  BEGIN
  4    CTX_DDL.SYNC_INDEX ('financial_idx');
  5    FOR r IN
  6        (SELECT token_text
  7         FROM      dr$financial_idx$i,
  8             (SELECT UPPER (word) AS word
  9              FROM      financial_terms
10              UNION ALL
11              SELECT UPPER (spw_word) AS word
12              FROM      ctx_stopwords
13              WHERE  spw_stoplist = 'NON_FINANCIAL')
14         WHERE  token_text = word (+)
15         AND      word IS NULL)
16    LOOP
17        CTX_DDL.ADD_STOPWORD ('NON_FINANCIAL', r.token_text);
18    END LOOP;
19    EXECUTE IMMEDIATE 'DROP INDEX financial_idx';
20    EXECUTE IMMEDIATE
21        'CREATE INDEX financial_idx ON financial_documents (document)
22         INDEXTYPE IS CTXSYS.CONTEXT
23         PARAMETERS (''STOPLIST non_financial'')';
24  END check_words;
25  /
Procedure created.
SCOTT@10gXE> SHOW ERRORS
No errors.
SCOTT@10gXE> INSERT ALL
  2  INTO financial_documents VALUES ('bank account')
  3  INTO financial_documents VALUES ('loan application')
  4  INTO financial_documents VALUES ('test of other words')
  5  SELECT * FROM DUAL
  6  /
3 rows created.
SCOTT@10gXE> COMMIT
  2  /
Commit complete.
SCOTT@10gXE> EXECUTE check_words
PL/SQL procedure successfully completed.
SCOTT@10gXE> SELECT spw_word
  2  FROM   ctx_stopwords
  3  WHERE  spw_stoplist = 'NON_FINANCIAL'
  4  /
SPW_WORD
APPLICATION
OF
OTHER
TEST
WORDS
SCOTT@10gXE> SELECT token_text FROM dr$financial_idx$i
  2  /
TOKEN_TEXT
ACCOUNT
BANK
LOAN
SCOTT@10gXE> SELECT * FROM financial_documents
  2  WHERE CONTAINS (document, 'account OR loan OR test') > 0
  3  /
DOCUMENT
bank account
loan application
SCOTT@10gXE>

Similar Messages

  • Oracle Text Indexing performance in Unicode database

    Forum folks,
    I'm looking for overall performance thoughts in Text Indexing within a Unicode database. Part of our internal testing suites includes searching on values using contains filters over indexed binary and text documents. We've architected these tests such that they could be run in a suite or on their own, thus, the data is loaded at the beginning of each test and then the text indexes are created and populated prior to running any of the actual testing.
    We have the same tests running on non-unicode instances of Oracle 11gR2 just fine, but when we run them against a Unicode instance, we are almost always seeing timing issues where the indexes haven't finished populating, thus our tests are saying we've only found n number of hits when we are expecting n+ 50 or in some cases n + 150 records to be returned.
    We are just looking for some general information in regards to text indexing performance in a unicode database. Will we need to add sleep time to the testing to allow for the indexes to populate? How much time? We would rather not get into having to create different tests for unicode vs non-unicode, but perhaps that is necessary.
    Any insight you could provide would be most appreciated.
    Thanks in advance,
    Dan

    Roger,
    Thanks much for your quick reply...
    When you talk about Unicode, do you mean AL32UTF8?
    --> Yes, this is the Unicode charset we are using.
    Is the data the same in both cases, or are you indexing simple 7-bit ascii data in the one database, and foreign text (maybe Chinese?) in the UTF8 database?
    With the same data, there should be virtually no difference in performance due to the AL32UTF8 database character set.
    --> We have a data generation tool we utilize. For non-unicode data, we generate using all 256 characters in the ISO-8859-1 set. With our Unicode data for clobs, we generate using only the first 1,000 characters of UTF8 by setting up an array of code points...0 - 1000. For Blobs, we have sets of sample word documents and pdfs that are inserted, then indexed.
    I'm not sure I understand your testing methodology. Do you run ( load-data, index-data, run-queries ) sequentially?
    --> That is correct. We utilize the ctx_ddl package to populate the pending table and then to sync the index....The following is an example of the ddl we generate to create and populate the index:
    create index "DBMEARSPARK_ORA80"."RESRESUMEDOC" on "DBMEARSPARK_ORA80"."RESUME" ("RESUMEDOC") indextype is CTXSYS.CONTEXT parameters(' nopopulate sync (every "SYSTIMESTAMP + INTERVAL ''30'' MINUTE" PARALLEL 2) filter ctxsys.auto_filter ') PARALLEL 2;
    execute ctx_ddl.populate_pending('"DBMEARSPARK_ORA80"."RESRESUMEDOC"',null);
    execute ctx_ddl.sync_index('"DBMEARSPARK_ORA80"."RESRESUMEDOC"',null,null,2);
    If so, there should be no way that the indexes can be half-created. If not, don't you have some check to see if the index creation has finished before running the query test?
    --> Excellent question....is there such a check? I have not found a way to do that yet...
    Were you just lucky with the "non-unicode" tests that the indexing just happened to have always finished by the time you ran the queries?
    --> This is quite possible as well. If there is a check to see if the index is ready, then we could add that into our infrastructure.
    --> Thanks, again, for responding so quickly.
    Edited by: djulson on Feb 12, 2013 7:13 AM

  • Multiple Text Boxes Populating a Single Field

    I need to create several select lists in a form that can each populate the same field in a table, but obviously need for the select lists in the form to be mutually exclusive so that the user can only enter data into one of them.
    There is also a field on the form displayed as a radiogroup, and I would like for the user's selection on this radiogroup to dictate which one of these multiple select lists they use to enter this data.
    Before I do any of this, however, I guess my first question is, how do I create multiple text entry fields on a form for just a single field in the table?

    hi brice--
    if you're coding your form page manually, you'd simply add your extra fields to your page definition and conditionally diplay and use the values you needed. i'm guessing you're asking about wizard generated forms.
    you can associate multiple fields with a single database column on your form by simply adding the extra ones you need and conditionally displaying/processing the ones you need. your other questions sound like javascript ones to me. if it were me, i'd take a look at our javascript how-to document at...
    http://otn.oracle.com/products/database/htmldb/howtos/htmldb_javascript_howto2.html
    ...and find the specific javascript i needed from google.
    hope this helps,
    raj

  • Multiple instances operated on a single database on a single machine

    Hi friends,
    Can anybody tell that "Is it possible to operate multiple instances on a single database on a single machine"!?.
    If so.., where this case is useful.
    Please help on this doubt.
    Thanks in advance.
    Thanks
    Srinivasa Rao

    Hi,
    I just asked whether it is possible or not. It is not much important. As you said, OPS will perform well if instances are on different machines. I agree on this. But I think we need to replicate the database on other machine also to run fast.Am I right?..If not, please correct me...
    Thanks for valuable information.
    I just re-read your post. When you say multiple instances on a single database, it sounds to me like you are asking about Oracle Parallel Server in 8i. I don't know why you would (or even if you could) have multiple instances on the same box. I don't think that would make sense since on of the benefits of OPS is to have more processing power by using multiple machines.

  • SSM - Configure Multiple Webserver's with a Single Database Server

    Hi,
    I need to install SSM using the following system landscape: Distributed system using a single database server and two webserver's.
    The system is configured to use the Microsoft Network Load Balancing and that's the reason why exist two webserver's. When the user put the URL, the connection can be done to the webserver 1 or webserver 2 (the Microsoft Network Load Balancing will manage that).
    I was checking the install guide "NW CE 7_1 SP5 SQL Server Install Guide.pdf" but there is no reference to this system landscape. The only "similar" is for High Availability System using Microsoft Cluster Service (MSCS), but that's not what I need.
    I was planning to do a distributed installation and in the database server I will install:
    - the Database Instance of NetWeaver
    - the Database components of SSM (PAS)
    In the Webserver I will install:
    - the SCS Instance of NetWeaver
    - the Primary Application Instance of NetWeaver
    - the Web components of SSM (PIP, etc...)
    For a scenario of a single webserver and a single database server, this work just fine.
    My questions are:
    - how can I configure SSM to work in a scenario of two webserver's and a single database server?
    - Should I install the same components in both WebServer's?
    - Should I use the same instance number or a different one?
    - It is possible to have two netweaver instance sharing the same database?
    Thanks in advance for all the help
    Regards
    Pedro

    Hi Pedro,
    - how can I configure SSM to work in a scenario of two webserver's and a single database server?
    Yes see below. But also make sure SAP will support the configuration you're planning!
    - Should I install the same components in both WebServer's?
    yes.
    - Should I use the same instance number or a different one?
    The same makes configuration eaiser
    - It is possible to have two netweaver instance sharing the same database?
    Not for the SCS but yes for application server (your Java instances)
    The central services, SCS instance, are one per a SAP System. So you cannot install one on each Web Server and operate them simultaneously.
    Given your database is also a single point of failure then I would suggest you install the SCS with it on the database server.
    On each of the Web Servers install an application instance of SAP NW CE.
    Since the instance are on different servers they can share the same instance number.  It is not mandatory but it may make configuration easier. e.g. for the the webservice the port will not change.
    There can only be one Interactive Publisher (PIP) running so this may as well also go on your database server.
    The Pilot Application Server (PAS) there can be multiple of so install one on each Web Server.
    See section 5.2.3 of Server Installation Guide SAP Strategy Management Release 7.0 Support Package 2 and higher for configuring SAP NW CE to point to the one instance on Interactive publisher.
    See section 5.2.7 of Server Installation Guide SAP Strategy Management Release 7.0 Support Package 2 and higher for setting up the Web Service target in Interactive publisher this will need to use the virtual ip(or hostname) of your Network Load Balancer.
    Best of luck.
    Marcel.

  • Syncing Multiple Text Boxes in a Single Indesign File

    In theory this problem seems rather simple and there should be a simple way to accomplish my task, but every search I've tried for syncing text only explains how to thread text boxes.
    What I need to do is layout a template that is 4UP on the page. Currently, whenever I make any edits to my text I have to copy the change multiple times to reflect the change in each instance of my layout on the page.
    What I'd like to do is sync all my textboxes so that any changes or updates will automatically be reflected in each instance of the layout. In the past I've accomplished this in Illustrator using symbols and instances a symbol, but I've yet to find a simlar method in Indesign.
    Any insight would be greatly appreciated.

    zslash64 wrote:
    I had stumbled cross referencing, but didn't understand I needed a  seperate reference for each paragraph within the text box. This worked  pretty well, however when making changes to the original reference  sources, I found the cross reference would break so by time I updated  and re-linked each reference in every text box it ended up taking more  time than simply copying the original text box 3 times. I guess I'm looking for more of a dynamic solution.
    Thanks for the help!
    Zach Barner
    Hi, Zach:
    Thanks for the feedback. You shouldn't have to relink or update multiple changed cross-references in a document individually.
    I did a test on my suggestion, because x-refs aren't supposed to break completely when source context is changed. I saw that I didn't caution you about deleting the cross-reference marker (AKA "Text Anchor"); when you create a cross-reference to source material, in the same or different documents, InDesign inserts a cross-reference marker at the beginning of the source paragraph. If it's not visible, enable Type > Show Hidden Characters. It looks like a colon character (:) in the layer's indicator color.
    NOTE: InDesign uses the term "Destination" to describe the paragraph that a cross-reference pulls into the cursor position when you insert a cross-reference, and it uses the term "Source" to describe the pulled-in destination paragraph that's displayed at the position where the cross-reference is inserted. This usage derives from the terms used for InDesign hyperlinks, where it makes better sense. Depending on your pre-InDesign experience with cross-references in longhand, typewritten, or other computer applications, you may find it, as I do, counterintuitive. I think of "source" as what you pull in, "destination" as the place where you display what's pulled in, and "reference" as the thing that's pulled in. I also use the term "source document" to describe the document that contains the reference's source, and I use the term "container document" to describe the document that contains the reference (the stuff that's pulled in.)
    So, when you change a cross-reference's source material in the source document, if you take care not to delete the cross-reference markers/text anchors that are created at the beginning of source paragraphs, the references in the container document's Hyperlinks/Cross-references panel display a yellow warning triangle for each changed source, and you can update them in one action.
    Updating the changed cross-references can also be confusing: If no changed (yellow triangle) cross-references are selected in the Hyperlinks / Cross-References panel are selected (highlighted,) whether you use the Update cross-references button at the bottom of the Hyperlinks / Cross-References panel, or the Update Cross-Reference item on the Hyperlinks / Cross-References panel's flyout menu, ALL changed cross-references are updated. However, if one or more changed cross-references in the panel are selected, the update button or menu item updates only the selected references.
    See if this helps simplify your operations.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • How to concat multiple text files to a single file??

    Hi, guys .. This may be a simple question for you but quite headache for me...
    I got files:
    c:\text1.txt
    c:\text2.txt
    c:\text3.txt
    and I wanna concat them to a single file and stored as
    c:\txt\text123.txt
    How do I achieve it? Thanks a lot!
    yours, SD

    Hello,
    The following code is a straightforward way of doing it. You can read directly from file1, file2, file3 withouth using the buffered stream, but the buffered streams are more efficient.
    java.io.File f1 = new java.io.File("c:/text1.txt");
    java.io.FileInputStream file1 = new java.io.FileInputStream(f1);
    java.io.BufferedInputStream input1 = new java.io.BufferedInputStream(file1);
    java.io.File f2 = new java.io.File("c:/text2.txt");
    java.io.FileInputStream file2 = new java.io.FileInputStream(f2);
    java.io.BufferedInputStream input2 = new java.io.BufferedInputStream(file2);
    java.io.File f3 = new java.io.File("c:/text3.txt");
    java.io.FileInputStream file3 = new java.io.FileInputStream(f3);
    java.io.BufferedInputStream input3 = new java.io.BufferedInputStream(file3);
    java.io.File f = new java.io.File("c:/text123.txt");
    java.io.FileOutputStream out = new java.io.FileOutputStream(f);
    int ch = input1.read();
    while (ch >= 0){
    out.write(ch);
    ch = input1.read();
    ch = input2.read();
    while (ch >= 0){
    out.write(ch);
    ch = input2.read();
    ch = input3.read();
    while (ch >= 0){
    out.write(ch);
    ch = input3.read();

  • How can I combine multiple text files into a single, alphabetized list?

    I have many, many lists of song titles. Each in its own textedit file. There is tons of overlap and duplication. I want to make a master list that has every song listed.
    If I could somehow just merge them all and alphabetize the lines, I could manually get rid of duplicates fairly easily.
    I have Tiger. Don't know if I have any application that would help. I probably don't want to buy an application, though, because I suspect I may not be able to stick with Tiger much longer.
    I appreciate any tips you can give me.
    Thanks a lot,
    Bruce

    Hi Bruce, Tex-Edit Plus for OS X...
    http://www.tex-edit.com/
    It can Merge files then Sort them easily, even has a remove duplicate lines script available.
    If the version you get doesn't have the sort perchance, here's a link, put sort in the search scripts box, get the second one, Sort Selection...
    http://dougscripts.com/texedit/

  • Getting Separate Movable Text Elements In a Single Layer?

    Is there any way to have more than one text placement inside of a single layer, but be able to maintain and move each of those separately from the others?   From what I have seen, each new Text item gets its own new layer.   If I want to document an image with seven points of reference, it's absolutely crazy that I have to maintain seven layers, each with an integer 1, 2, 3, 4, 5, 6, or 7.   What would be much more maintainable is to create ONE layer and name it "MAP-NUMBERS" and then have seven integers placed into that one layer.   I would then want to be able to move - say - "2" around separately from "4".   Then making all of the numbers appear or disappear becomes as easy as hiding or showing one layer.
    Is there a way to do this with any version of Photoshop?

    pone33 a écrit:
    If I convert each text layer to a bitmap, and I then merge the bitmaps, I end up with a single joined bitmap.   That's not useful.
    Yes, it may be useful if the purpose is only to move the bitmaps around.
    I want to have multiple text objects on a single layer.
    Definitely impossible with any version of Elements...
    That lets me group six or more related concepts (e.g., one index or nametag per person in a photo) to a single layer.
    That's what I have done in my example of a group shot of 42 persons, and I was glad to use separate layers for that purpose.
    Why would I want the names of seven people in seven different layers?   I mean - honestly - no one has that requirement.  It only makes maintenance of the layers very difficult.
    The reason is that having layers is not the goal, it's the means of having full control over distinct objects : size, color, location, font, layer style... For instance, I was able to slightly change the size and location of my indexing numbers, which would have been impossible with already simplified bitmaps. The autoselect feature enabled me to automatically select the layer of the object. As a matter of fact, I did not have the concept of layers in mind when selecting and moving indexes. As for maintenance, I always have full control and I feel the result is logical, detailed but not difficult.
    Yes, what is powerful is generally complex, and the layers panel is not simple in that case. Note that with a vector software, you'll have to deal with many items in an object list : I can understand that it may be more convenient for you.

  • Store values of different data types into single database field

    Hi Friends,
      I  have to store values of different data types(character, numeric, date, time,  text, etc) into a single database field(Char 80). Then read the same values and display it into ABAP Webdynpro report. 
    Appreciate any ideas, examples, suggestions.
    Thanks
    JB

    Hi,
    Try like this:
    data: txt1 type string,
          var1(1) type c,
          var2(1) type n,
          var3 like sy-datum,
          var4 like sy-uzeit.
    parameters: a type c,
                b type n,
                c like sy-datum,
                d like sy-uzeit.
    concatenate a b c d into txt1.
    write txt1.
    var1 = txt1+0(1).
    var2 = txt1+1(1).
    var3 = txt1+2(8).
    var4 = txt1+8(8).
    write: / var1,
           / var2,
           / var3,
           / var4.
    Regards,
    Bhaskar

  • SQL Server 2008 R2 Express Edition and Full Text Indexing

    Hello, we have recently upgraded our web front end server from SQL Server 2005 (Standard Edition) to SQL Server 2008 R2 Express Edition (in conjuction with upgrading our main production servers to SQL 2008 R2 Standard). We have 12 Databases on our production
    SQL Server that are replicated to our web frontend server to the SQL Express instance. One of these databases has a FULL TEXT INDEX. The production database is running the Adobe iFilter version 9 64Bit. The FULL TEXT CATALOG has been created and populated
    and performs searches as intended. However, upon replication, when using the search option on our web page based on that PDF iFilter, it no longer works. After examining the properties of the FULL TEXT CATALOG, we note that the Catalog size on the subscriber
    end is 0MB in size (whereas it is 3MB on the Publication side). Also the Unique Key Count on the subscriber side is '1' whereas on the publisher side it is 30,000+. After examining the FT Indexing logs on the subscriber side shows an error: "Warning: No appropriate
    filter was found during full-text index population" On the subscriber side which is running Windows Server 2003 and SQL Server 2008 R2 Express Edition, Adobe Reader 10.1.1 is installed (all 32Bit) with the Adobe iFilter AcroRdIF.dll. When running the SELECT
    * from sys.fulltext_document_types T-Sql statement, the list returned shows the PDF filter to be installed and shows the correct path. Under the System Environment Variables, that path has also been installed (from previous recommendations in researching this
    problem). After numerous reboots, service restarts and re-attempts to get the FT Daemon to crawl - no success. Can anyone please help with this problem? Is there something I am missing? In an attempt to work around this problem thinking there might be a version
    conflict between the 64Bit version on the publisher and the 32Bit version on the subscriber, I disabled the replication of the FULL TEXT CATALOG and tried to create a new catalog on the subscriber with the same results. Thank you for your answers in advance
    - Fustrated! Sorry, somehow this got posted originally under Server Design

    Hello Jeff hope your still out there.  I wrote this question 2 years ago and upgraded to SQL Express with advanced services.  Full Text replication worked until last week.  We are operating in a virtual environment.  My publisher box
    is a Windows Server 2008 R2 (64bit) with SQL Server Standard Edition.  My Web front subscriber is a Windows 2003 R2 (32bit) Server with SQL Server 2008 R2 Express SP1 with Advanced Services. Now the exact same thing is happening after 2+ years. 
    We are looking for possible updates that might have broken this but I am stretching that.  Any clues please?  32bit vs. 64bit?

  • Can I format a paragraph in illustrator, with multiple text sizes?

    Hi,
    I have a number of paragraphs in illustrator that have the following...
    a title = Arial bold 18 pt.
    body text =Arial reg 14 pt.
    and indents with bullets
    It seems that illustrator only supports one font, size, color, etc. for each Paragraph style. I would like to be able to set the title to Arial bold, 18pt, Blue, and the body text to Arial regular, 14pt, white, with different leadings, within the same style setting. Does anyone know if this can be done?
    Thank you in advance.
    Knewt

    What are you guys talking about? Since when does InDesign support multiple text attributes for a single Paragraph Style? At least in CS3 InDesign's Paragraph Styles have settings for nested Character Styles and drop caps, but you still define one set of text attributes for the Paragraph Style itself.
    In principle it's basically the same in Illustrator. If you want to actually have multiple text treatments in one paragraph, you apply Character Styles to text ranges within the paragraph. Illustrator's implementation of it is pure crap in that inheritance and style redefinition does not work correctly, but the fact remains you certainly can have multiple text treatments in one paragraph, but it is not done with a single Paragraph Style. If using Styles (as you should) it is a matter of nesting Character Styles within paragraphs that have Paragraph Styles applied.
    But I strongly suspect that what Mr. Harley is describing is not really a single paragraph at all. He wants different text sizes, different indents, and bullets. That clearly involves multiple paragraphs.
    Harley, in part of your description of what you want, you seem to be referring to a single textframe object as a "paragraph." A paragraph is a range of text separated by a carriage return. When you define and apply a Paragraph Style, the carriage return defines the range of the Style. When you define and apply a Character Style, the selected range of characters define the range of the Style. You can use multiple Character Styles within a paragraph that has a Paragraph Style applied.
    But you are talking about the need to define several Paragraph Styles to use in one block of text, or "story" (one or several textframe objects). You just need to define three Paragraph Styles:
    Heading: Arial Bold 18 pt.
    Body: Arial Regular 14 pt.
    BodyBullet: Same as Body, but with different indents. Set a tab at the bullet location and at the left indent. (You type your bullet characters; you don't just select "bullets" from a setting.)
    Type all your text, using carriage returns as you would expect. Each carriage return marks the beginning of a new paragraph. (This is as true in Illustrator as it is in InDesign, Word, or anything else.) Click inside a paragraph and apply the appropriate Paragraph Style.
    Now suppose you want to use a convention within your document that emphasizes certain words or phrases by painting them magenta instead of whatever color is defined in the Paragraph Style. Create a Character Style. Name it Emphasis. In that Style, set the character color to magenta. Now swipe across a word in one of your paragraphs and apply the Emphasis Character Style. The whole paragraph still has the Paragraph Style you applied to it. But now the color of a few characters is overridden by the Character Style you have applied to those characters.
    Again, like many things in Illustrator, its implementation of Paragraph Styles and Character Styles is very sloppy compared to other programs. But it is not true that 'InDesign can apply multiple text treatments in a single Paragraph Style, and Illustrator can't.' At least not up to CS3.
    JET

  • Newly hardened Oracle11g database - unable to create Spatial or Text index

    Oracle 11g Rel2, Windows 2003 platform
    Our customer recently hardened their database and then tried to recreate their (previously working) schema. Now they're suddenly encountering these errors when trying to create a spatial index and text index respectively.
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13249: internal error in Spatial index: [mdidxrbd]
    ORA-13249: Error initializing geodetic transform
    ORA-13249: SRID 8307 does not exist in MDSYS.CS_SRS table
    ORA-29400: data cartridge error
    ORA-04063: package body "MDSYS.SDO_CS" has errors
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 10
    after running command
    CREATE INDEX IDX_POINTGEOMETRY on PointGeometry(pointGeom) indextype is mdsys.spatial_index parameters('LAYER_GTYPE=POINT');
    When I query mdsys.sdo_cs I can see that SRID 8307 does in fact exist.
    AND
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-04063: package body "CTXSYS.DRIXMD" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "CTXSYS.DRIXMD"
    ORA-06512: at "CTXSYS.DRUE", line 145
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366
    ORA-04063: package body "CTXSYS.DRIXMD" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "CTXSYS.DRIXMD"
    after running command CREATE INDEX IDX_REPORT_XMLTYPE ON report(xmlreport)
    INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS ('SYNC(ON COMMIT)');
    Your help is greatly appreciated.

    I figured out the answer with help from the Oracle Spatial forum, but I wanted to follow up in case anyone was interested or would find this helpful.
    As part of the hardening process, the system administrator (not a DBA), revoked execute privileges on DBMS_LOB (and a number of other packages) from PUBLIC. The problem was that he didn't read the fine print in the hardening manual that said that doing so "+may result in an inability to execute default Oracle applications and utilities. To correct this problem, grant execute privileges on these packages directly to the SYSMAN, WKSYS, MDSYSand SYSTEM accounts as well as any other default Oracle database and custom application object owner accounts as necessary to support execution of applications/utilities installed with an Oracle Database Server+". As a result, the MDSYS.SDO_CS and CTSXYS.DRIXMD package bodies had compilation errors from trying to access DBMS_LOB. To fix the problem I granted execute privileges on DBMS_LOB, etc to MDSYS and CTXSYS. I can now once again successfully create my Oracle Spatial and Oracle Text indexes.

  • Load balancing multiple SSO mid-tier with single SSO database

    I want to load balance SSO middle tier servers and have them access a single SSO database. When you install infrastructure and select SSO only it creates a new infrastructure database. How can I install multiple SSO servers and point them to a single database. I am doing Load Balancing with F5 and read an Oracle WP where they mentioned an Oracle supported configuration where they load balanced SSO servers with F5.
    KB

    Two possible solutions:
    1.) Oracle 10gAS Enterprise Deployment Guide (B13998-03) follow the configuration for SSO configuration in Chapter 5.
    2.) I have not tried this but it should be logically possible with the SSO. 10gAS Administrators guide (B13995-05) Part III Advanced Administration. The success of this method assumes you have OID and SSO each installed in separate homes. You would be cloning the SSO home to another box as if it were a middle tier (it is still part of the infrastructure) then re-configuring it on the new box.
    Personally solution 1 is the best method. We are using F5 Big-IP with this configuration and it is working great.
    Hope this helps!

  • Create a text index on multiple tables

    I have read the same forum questions a thousand times about doing this and the only thing they show examples of is using multiple columns in one table.
    Here is what I have:
    create table documents_a
    (id number,
    text blob);
    create table documents_b
    (id number,
    text blob);
    create table documents_c
    (id number,
    text blob);
    I want to be able to do a text search over all three tables on the blob column. I can't use the multi_column_datastore because from what I read this can only be used with one table.
    I eventually want to be able to bring up a snippet of the text that contains the keywords and a link to the actual document.
    How do I build a text index that includes each blob column from each of the three tables?

    OK so I created the materialized view
    create materialized view alltabs as
    select a.id, a.text, b.id, b.text, c.id, c.text
    from tablea a, tableb b, tablec c;
    and I created the following
    ctx_ddl.create_preference(my_multi', "MULTI_COLUMN_DATASTORE');
    ctx_ddl.set_attribute('my_multi','columns','a_document, b_document, c_document');
    Then I attempted but I am not sure what column name to put in the pararens?
    create index multi_tab on alltabs(????)
    indextype is ctxsys.context
    parameters('datastore my_multi sync(on commit)');
    I saw a dummy column created in most of the internet examples but just exactly what gets created here? I want to create a multi column index so didn't I already tell it which columns up above?

Maybe you are looking for