How to define ctxsys.context index for an ORDDoc column

I need to use Oracle Text to search on a column that is of type ORDsys.OrdDoc. Can someone point me in the direction of an example please - I note someone pointed out that a USER_DATASTORE is the way to go, but what do I need to put it it? I also wish to use Word to HTML feature of the INSO_FILTER if at all possible.
thanks
Brigette

Hi Brian,
I don't know how to do this with a SQL query (as the OrdDoc may not be displayable say in SQLPlus), but if you check out the samples at http://otn.oracle.com/sample_code/products/intermedia/htdocs/intermedia_servlet_jsp_samples/imedia_servlet_jsp_readme.htm
there is a JAva Servlet that works nicely. If you are not a Java person, there are other samples at http://otn.oracle.com/sample_code/products/intermedia/index.html
keep smiling
Brigette

Similar Messages

  • How to create a Context index on a Substitutable Column ?

    Hi all,
    I have a type t1 and a subtype t2 which defines a new
    sys.XMLType column d and a table t_tab of t1.
    If I issue the following :
    create index t_idx on t_tab t(treat(value(t) as t2).d) indextype
    is ctxsys.context;
    I get the following message:
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE
    routine
    ORA-20000: Oracle Text error:
    DRG-50857: oracle error in drsxsopen
    ORA-00904: invalid column name
    ORA-06512: at "CTXSYS.DRUE", line 157
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 176
    Any suggestion ?
    Thanks
    Alex

    Alex,
    Please file an iTAR report at http://metalink.oracle.com. This
    could be a known bug.
    Regards,
    Geoff
    Hi all,
    I have a type t1 and a subtype t2 which defines a new
    sys.XMLType column d and a table t_tab of t1.
    If I issue the following :
    create index t_idx on t_tab t(treat(value(t) as t2).d) indextype
    is ctxsys.context;
    I get the following message:
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE
    routine
    ORA-20000: Oracle Text error:
    DRG-50857: oracle error in drsxsopen
    ORA-00904: invalid column name
    ORA-06512: at "CTXSYS.DRUE", line 157
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 176
    Any suggestion ?
    Thanks
    Alex

  • How to define a text index in data modeler

    Hello,
    how to define a text index (indextype is ctxsys.context) in data modeler?
    The SQL-command would be:
    create index P1_TEXT_BESCHR_SPRACHE on P1_PDM_MODUL_SPRACHE(BESCHREIBUNG) indextype is ctxsys.context
    parameters ('lexer global_lexer language column LANGUAGE format column FORMAT STORAGE PDMSTORE')
    online
    Thanks in advance for any help.
    Monika

    Hi Monika,
    After creating relational model, you'll have to create physical one. In physical model there is index properties dialog, where you can adjust context index properties.

  • Error in Updating ctxsys.context index using ctxsrv

    Environment :
    Linux 6.2,
    Oracle 8.1.6
    character set : zhs16gbk or zhs16cgb231280
    I can create an ctxsys.context index(using CHINESE_VGRAM_LEXER) on a long column, and i can rebuild this index with no parameters.
    When i want to rebuild this index automatic using ctxsrv, this error occur ---
    DRG-50857 Oracle error in drtldml(dml)
    Ora-2000 error
    anybody can help me?
    null

    the complete error:
    Dml batch: cid=1023
    End batch: return code is 1
    DRG-50857: oracle error in drtldml(dml)
    ORA_20000: interMedia text 4mNs
    DRG-50857: oracle error in drsxsopen
    ORA-01480: STR83V51dA?H1IY?U:sW:
    null

  • How to defined data carrier valued for Linux?

    Hi,
    I am Defining Data Carrier. But I don't understand "Data carrier type" value. Is this PC value data carrier type  for window? So If I want to define value data carrier for Linux. How to defined data carrier valued for Linux?
    Please advise,
    Duypm

    Hi Nikita,
    Refer the below mentioned links for your requirement.
    http://forums.sdn.sap.com/thread.jspa?threadID=412923
    http://forums.sdn.sap.com/thread.jspa?threadID=1639500
    Both have good guidelines on coding as well as configuration part.
    Regards,
    Deepak Kori

  • How to write a case statement for the totals column of two different years (2013 and 2014) of the same month so that I can get a +/- column

    Please Help!!!
    How to write a case statement for the totals column of two different years (2013 and 2014) of the same month so that I can get a +/- column.
                                      January 2014         January
    2013                            +/-
                    Region   Entry   Exit  Total    Entry   Exit   Total   (Total of Jan2014-Total of Jan2013)
                    A               2         3      
    40        5       7        30                    40-30= 10

    What is a table structure? Sorry cannot test it right now..
    SELECT <columns>,(SELECT Total FROM tbl WHERE Y=2014)-(SELECT Total FROM tbl WHERE Y=2013)
    FROM tbl
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • How to define Composite primary key for a Table

    Hi ,
    I am basically more into Java Programming , with little bit knowledge on Oracle as DataBase .so please excuse for my silly doubts .
    Can anybody please tell me how to define a Composite Primary Key on a Table .
    Thanks in advance .
    Edited by: user672373773 on Sep 25, 2009 8:54 AM

    Here is an example right out of the Oracle documentation and the syntax for adding PK since you mention adding a composite PK.
    Example creating composite index
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_indexing.htm#sthref594
    Syntax for adding a PK (composite or not)
    alter table oooooooo.tttttttt
    add constraint tttttttt_PK
    primary key (sample_column2,
    sample_column1)
    using index
    tablespace IDXSPC
    pctfree 05
    initrans 04
    maxtrans 08
    storage (initial 16k
    next 16k
    maxextents 32
    pctincrease 0);
    -- dictionary management with restricted storage, change as desired.
    HTH -- Mark D Powell --

  • Ctxsys.context index on registered schema xmltype column

    9iR2
    Is it possible to create a text index (indextype is ctxsys.context) on a schema registered xmltype column?
    I tried it, the index creation works fine.
    After the first insert statement the Oracle process seems to hang. (CPU 100%, increasing memory consumption)

    Yes, I previously entered some data.
    Test case:
    1. register schema
    begin
    DBMS_XMLSCHEMA.REGISTERSCHEMA('http://localhost/JobPositionSeeker-1_1.xsd',
    getDocument('JobPositionSeeker-1_1.xsd'), TRUE, TRUE, FALSE, FALSE
    end;
    2. create table
    CREATE TABLE application_xml of XMLType
    XMLSCHEMA "http://localhost/JobPositionSeeker-1_1.xsd" ELEMENT "JobPositionSeeker"
    3. entered some data
    4. created the index
    create index applicant on application_xml ( SYS_NC_ROWINFO$)
    indextype is ctxsys.context
    5. select using index
    select value(a).getClobVal() from application_xml a
    where contains( value(a),'%ai% INPATH(//PersonalData/PersonName/FamilyName)')>0
    6. insert another record
    -> crash

  • How to create a context node for "IBHeader" at the view "BuPaIBaseDetail"?

    hi, experts
    for the requirement, i have to get data from a root BO-IBHeader in the view of "BuPaIBaseDetail".But the view already has IBHeader's child object-"IBComponent", whose controller class is "CL_CRM_IC_BUPACONTROLLER_CN08", how can i create the context node for "IBHeader"?
    angerly wait for the answer. thanks a lot

    If you right click on an empty container or a container with an object in it, it has the same available choices to select. However, if you create a blank property node on the block diagram, and wire up the .net object to it, you will see a much different list of properties.
    So, the property node created from right clicking a .NET container will be for that container, even if there is an object inside. To create a property node for the object, you must wire the .NET object to an empty property node on the block diagram.
    Chris Van Horn
    Applications Engineer

  • How to define logic to BO for display of more meaningful messages in Webi?

    Hi All.
    Greetings for the Festive Season.
    We would like to know as to how to define the logic to our BO application while displaying messages to end users of Web Intelligence.
    We have defined restrictions for various users and restrictions are appliced correctly when the user logs in.
    We have some MIS REPORTS in Web Inetlligence with different charts and we have also given links to various other web intelligence reports at the bottom for users to click and view or do analysis.
    And if any user if he/ or she is not authorised to view any / or part of the report - it does not show up.
    Which works well.
    But if some user is not part of any group and is not authorised to view data in a particular report, then we see a standard message coming in like :
    "No Data to retrieve in Query1"   or    "No Data to retrieve in ABC".
    Which one could say is correct.  Because for that particular user, the query has NO data.
    But. We feel there has to be a logic to be defined differently with the applicaton.
    How do we differentiate - as to whether the query does not really have data at the back end and HENCE it is saying No data to retrieve in the Query or report
    OR whether the user who is trying to view report is NOT authorised to view  
    AND HENCE the message is displayed as "No Data to Retrieve"
    We looked at the source file and it is pointing to :../AnalyticalReporting/viewers/cdz_adv/ViewDocument.jsp?
    But we found it a bit difficult to understand the logic there.
    Could anyone advise as to how we could define this logic for Web Intelligence - so that messages we see on screen for the end user could be more meaningful ? How do we really make the system understand or look for 2 options as to whether the message to be displayed is because there is REALLY NO DATA AT THE DATABASE LEVEL, OR whether the USER is not authorised to view this data.
    Can this be made possible by any means or thro SDK ?
    Many thanks
    Regards
    Indu
    Edited by: Indumathy Narayanan on Dec 21, 2010 9:50 AM
    Edited by: Indumathy Narayanan on Dec 21, 2010 9:51 AM
    Edited by: Indumathy Narayanan on Dec 21, 2010 9:54 AM

    Here is my current report detail view.
    [http://s49.photobucket.com/albums/f270/helenen/add/?action=view&current=2010-06-2511-44-20.png]
    (click on link and view at 100%)
    The 3 rd KF column is the calculated ratio which is =>  2nd Column (Work Hrs) A% 1st column (PlanHrs)
    Right now, I cann't get % at detail line (they're now shown as X, because PlanHrs is not null at detail line.
    I'd like those X should be calculated as =>  WorkHrs (at that line) A% PlanHrs (of that specific employee) .
    For example: 16 A% 1827 = 0.875%
    It seems soo eassy but I coulnd't do it.

  • How to define the date format for this date string

    2006-11-13 00:00:00.0
    How to define the date format in control file for sqlldr. "yyyy-mm-dd hh24:mi:ss" or "yyyy-mm-dd hh24:mi:ss.FF1" does not work
    thanks,

    SQL> desc t
    Name                                      Null?    Type
    TS                                                 TIMESTAMP(6)
    SQL> !cat t.ctl
    load data
    into table t
    truncate
    (ts timestamp "YYYY-MM-DD HH24:MI:SS.FF1")
    SQL> !cat t.dat
    2006-11-13 00:00:00.0
    SQL> !sqlldr userid=scott/tiger control=t.ctl data=t.dat log=t.log
    SQL*Loader: Release 10.2.0.3.0 - Production on Fri Sep 7 11:19:28 2007
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Commit point reached - logical record count 1
    SQL> select * from t;
    TS
    13-NOV-06 12.00.00.000000 AMBest regards
    Maxim

  • How to define this FORMAL parameters for a std. SAP itab?

    Hello Experts,
    Am writing a custom PERFORM in a standard SAP include-RVCOMFZZ by using modification assistant, like below,
    RVCOMFZZ:
    PERFORM my_routine IN PROGRAM my_report USING com_vbapvb.
    (here com_vbapvb is a TABLES parameter  with STRUCTURE of vbapvb in the std. sap FM).
    my_report:
    FORM my_routine USING here_I_want_to_know_the_data_object
    ENDFORM.
    Here pls. let me know How to define the FORMAL parameters of my_routine? I tried with different options, but did not worked out. Preferable let me know in OOPS concepts (not using TABLES)
    Thank you

    Hi,
    here is example how to write you structure content  regardless what com_vbap has field list.
    PERFORM my_routine IN PROGRAM my_report USING com_vbapvb.
    FORM my_routine USING here_I_want_to_know_the_data_object.
      field-SYMBOLS: <field> type any.
      do 100 times.
        assign COMPONENT sy-index of structure ls_VBAPVB to <field>.
        if sy-subrc = 0.
          write:/ <field>.
          else.
          exit.
        endif.
      enddo.
    ENDFORM.
    Bye Jan

  • How to define the default activity for an unbounded task flow?

    In the new "Fusion Developer’s Guide for Oracle Application Development Framework 11g Release 1" documentation at the bottom of page 14-3 it states "An unbounded task flow .... contains a default activity, an activity designated as the first to run in the unbounded task flow, because an unbounded task flow does not have a single point of entry."
    What I can't find is how to define the default activity in an unbounded task flow and where this is recorded? Can we set this via the task flow diagrammer, and which configuration file is it stored?
    I note the first time I run the application with an unbounded task flow a dialog asks me which of the activities in the adfc-config.xml file to make the default, but I can't find where this is recorded.
    Anybody have any ideas?
    Thanks,
    CM.

    Chris,
    In fact this information is nothing that belongs into the taskflow meta data because unbounded taskflow have more than one entry point and there is no notion of default. Its a tools setting (JDeveloper) we had before
    Frank
    Message was edited by:
    Frank Nimphius

  • How to do Default context value For DFF in OAF

    Dear all,
    I want to do Default context value For DFF in OAF for seeded page, pls let me know how to do.
    Regards,
    Hanimi

    Hi Hanimi,
    In controller use code
    *dffBean.setFlexContext(pageContext,"+YOUR-LIST-VALUE+");*
    *dffBean.setAttributeValue(OAWebBeanConstants.READ_ONLY_ATTR, new Boolean(false));*
    Thanks
    Jegan

  • How to define Fully Qualified Domain for PI components

    Hello,
    Can anybody tell me how to define Fully Qualified Domain Name for PI components
    Thanks & Regards,
    Loveena.

    Hi,
      Go through these threads....will answer your queries...
    Re: how to provide full qualified name of host
    Re: FQHN (Fully qualified host name)
    Regds,
    Pinangshuk.

Maybe you are looking for

  • PO creation from One Purchase Requisition

    Dear all; In standard SAP We can create multiple PO from A single PReq ,though the full quantity of PReq is taken first time of PO creation .Is there any restriction that After full use PReq quantity no one can use the same PReq for further PO creati

  • How to Run a Hello World Java application on WIndows Mobile

    Hi! We have a sample Plug-in environment Java application downloaded from http://www-128.ibm.com/developerworks/library/os-ecl-ercp/index.html - IBM library. We have downloaded the source files org.eclipse.testworkbenchapp_1.0.0.jar and tried running

  • "PDServerServiceServlethttp" failed to preload on startup

    Hi, I am getting following error while starting weblogic server: Servlet: "PDServerServiceServlethttp" failed to preload on startup in Web application: "pd-server.war". javax.xml.ws.WebServiceException: The WLS server is disabling the TwoWaySSL while

  • How to align output

    How do u align Text in the JOptionPane.showMessageDialog????? like for example: mr. Benjamin singapore mr. christopher malaysia how do we align everything?

  • CardDAV password on Mavericks

    I use DayLite with CardDAV for share the contacts with iContacts. With Mavericks doesn't work, when I create the CardDAV account all work fine, until I try to select this account from Accouts list, Maveriks contine to ask the password, with this mess