Oracle Text and Custom item type

I have a custom item type defined that has custom attributes. With Oracle Text disabled, I can use a custom search to find these items either by their standard attributes (name,description, etc.) or their custom attributes. However, as soon as I enable Oracle Text (and allow the indexing process to complete), I can no longer locate these items in a search.
I assume that I need to do something to tell Oracle Text to index these types of items, but could not find anything in documentation. Any assistance would be appreciated.
Also, assuming we get around the above issue, if I have Oracle Text enabled, does this mean I will not be able to find these items after they are created until the next scheduled index update? Is there away around this besides killing Oracle Text?
Rgds/Mark M.
Portal 9.0.2.6

The indexes need to be synchronised for the items to be searched and returned. Hence until the next scheduled index update, the item will not be returned. To explicitly udpate the indexes, run the procedure in the portal database connected as the schema owner.
SQL> exec wwv_context.sync();

Similar Messages

  • Custom Item Type Icon not displayed

    I have created a custom Item type from the base File type for PDF files.
    I have asociated a PDF Icon with this type.
    When I create folder object of my new PDF Type, my Icon does not ever seem to show up.
    Why?
    I must change the image associated with each item (secondary tab). to get an Icon to show up.
    Why?
    null

    Stuart,
    According to the help text:
    "Currently, this icon is not used by Oracle Portal. The icon may be used in future releases."
    But, if you want to show it, you can use a procedure in the custom item type to display the icon. Just find the URL to the icon (in Internet Explorer, right click on the icon and select Properties to get the URL) and write a simple procedure to display it. For an example of a custom item type procedure, see the discussion at http://technet.oracle.com:89/ubb/Forum82/HTML/000379.html .
    Regards,
    Jerry
    null

  • Custom Item Types / Refresh

    We have a portlet on a page containing status information on Customer Service Tickets, etc. This was built using a custom item type and stored procedures.
    The problem we're having is that the portlet will only refresh upon login. Using the browser refresh and reloading the page does not invoke the procedures.
    Is there a solution to this? Is there a better way of building this application?

    hi Brijesh,
    one idea i have is to create a table where you insert a value once the item gets created (maybe the itemid). now add an if statement to your custom item type procedure where you check if the itemid is available in this table. if yes do nothing (null;) if it is not available execute the procedure since it is the first time the procedure is executed (means the item gets created).
    regards,
    christian

  • How can I display custom item type icon?

    portal 10.1.4
    when I try to show the icon of a custom item type, there is no way to show the type of the uploaded archive. Anybody?
    Thanks in advance

    Yup, possible using system variables that can track time and conditional advanced actions.

  • Report RDLC print deployment influenced by "Make text and others items window larger or smaller" is that behaviors right?

    I have my PC at the window "Make text and others items window larger or smaller" set at the 150%.
    How great was my surprise when I found that this setting of my PC broke my RDLC report print deployment.
    Do you now about this mistakes?
    Is that behavior of "Windows 8" right?
    Or is that behavior of "vs 2013" right?

    Hello,
    Since this issue is mainly related to visual studio report, I am moving this thread to
    Other Forums > Visual Studio Report Controls
    forum to get help.
    And IMO I would agree with you that it should be the right behavior, since it could affect the other printing tasks.
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Oracle Text and Workspace Manager

    Has anybody incoroporated Workspace Manager and Oracle text together. How is the Oracle Text index handled? Can users in different workspaces submit documents, have them indexed and be the only ones to see those documents?

    Hi,
    I do not have much experience with Oracle text, and am unsure exactly how it works. As such, I would suggest to file a TAR requesting this information.
    Regards,
    Ben

  • Oracle Text and TREC

    Hello,
    I am new to SQL, Oracle, and Oracle Text and need to use Oracle Text to index about 2GB of files (located on the filesystem), each of which contain multiple documents. These documents are all in SGML format with the relevant data I need being inbetween DOCNO and TEXT tags.
    So far I understand I need to create a table similar to the following...
    create table "DocTable" ("Docno" number, "Text" text)
    ...and then either use a CONTEXT or CTXCAT index, but im not sure which.
    In general im not too sure what to do. Any help is appreciated.
    Thanks :)

    it actually depends upon what u r searching for
    A file datastore is works as below
    1) a location where all your files are stored - say /mydocs
    so you need to create a preference
    begin
    ctx_ddl.create_preference('COMMON_DIR','FILE_DATASTORE');
    ctx_ddl.set_attribute('COMMON_DIR','PATH','/mydocs');
    end;
    now create a table where you list down all the file names, the doc id is something for your reference. This can be any number which you prefer. But has to be unique, as this a pkey.
    create table mytable(id number primary key, docs varchar2(2000));
    insert into mytable values(111555,'first.txt');
    insert into mytable values(111556,'second.txt');
    commit;
    Now indexing, which ctaully fetches the documents from the file location
    create index myindex on mytable(docs)
    indextype is ctxsys.context
    parameters ('datastore COMMON_DIR');
    now the queries on the table will be using CONTAINS operator - as you have created a CONTEXT index.
    So , you need to fist determine what kind of queries you need to make. On the basis of that you can create the index.

  • Differentiate between Items and Customer Items

    Differentiate between Items and Customer Items
    pls try to give information about this
    thanx

    Hi Joel,
    Funny you mentioned it, because just today I was thinking about that, and I thought that if it will happen, I will rant you on your forum dereliction of duties. So it seems you’re off the hook now :)
    Anyway, judging from the last 3.0/3.0.1 versions it seems like you are doing your other duties very well so I really don’t mind you keeping the lead.
    Best regards,
    Arie.

  • After Effects & Premiere Pro CS4 users: Turn off "Make text and other items larger or smaller" (Win)

    I just made a brief blog post recommending that After Effects CS4 and Premiere Pro CS4 users turn off the "Make text and other items larger or smaller" setting in Windows 7, since it causes some problems.
    Please use this thread to let us know whether this solved a problem for you or whether there are any problems with this solution.

    There isn't really an option to "turn off" the feature. Do you mean to say that it should be set to "Smaller - 100% (default)"?

  • Manual Install of Oracle Text and XDB for 11g

    I can't find the Metalink manual install docs for Oracle Text and XDB. For unknown reasons the DB was created with out them. I see the docs for 9i and 10g, but not 11g.
    Thanks!

    Hi,
    I think you are in APEX forum.
    This question seems more suitable for installation forum: Database Installation
    Also, please see if this thread helps: How do I install ORACLE TEXT
    Ta,
    Trent

  • Premiere Pro CS4 users: Turn off "Make text and other items larger or smaller" in Windows 7

    I just made a brief blog post recommending that After Effects CS4 and Premiere Pro CS4 users turn off  the "Make text and other items larger or smaller" setting in Windows 7,  since it causes some problems.

    There isn't really an option to "turn off" the feature. Do you mean to say that it should be set to "Smaller - 100% (default)"?

  • Make Text and Other Items Larger or Smaller - Default? (related to screen resolution)

    In Windows 7, when you go to set the screen resolution, there is a link to "Make Text and Other Items Larger or Smaller."  The default I've always seen is is "Smaller - 100%" in our deployments.  For some reason, after my new deployment that
    I'm working on, it is set to "Medium - 125% as the default."
    This changed when I imported the display drivers needed for the HP8440 laptop the deployment is going on. Before, Windows was just using a generic driver that maxed at 640x480 and the user had to manually install the drivers. Now that I've imported the drivers
    into the deployment, the default resolution is 1920x1200 as it should be, but this one last default is making it look like there is a smaller resolution.
    Is there any way, in the deployment, to set this option to "Smaller - 100%" as the default?
    This is what I am seeing after Windows loads for the first time:

    I get "Invalid syntax" when I try to run that. I've gone through the help on the REG command, and everything seems to be in order. I also opened CMD as administrator. I've tried some different variations on the command (quotes around the path, etc)
    but nothing seems to work. Any ideas?
    You're getting an invalid syntax since it contains a space betweeen 'Windows' and 'NT' when using command lines, spaces will break the commands to be executed since it thinks that spaces are delimiters for syntax value's.
    REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion\FontDPI" /v LogPixels /t REG_DWORD /d 0x60 /f
    Edit; The thread starter had success with using the following path instead "HKCU\Control Panel\Desktop"
    It should work like it's written above using quotes around the entire path. Without the quotes you'll receive a syntax error. However unless the command is executed in an elevated command prompt you'll get an access is denied error. And finally the /f switch
    is required to override the entry without prompt, since if the command if executed in an elevated command prompt it will detect the current value and ask whether you want to overwrite it or not.
    P.S. I verified if it executes properly.
    Kind regards,
    Stephan Schwarz.
    If one of these posts answered your question or issue, please click on "Mark as answer".
    My Blog | Twitter:
    @Schwarz_Stephan | MCTS, MCITP, MCC.

  • Call Oracle procedure with custom data type within Java and Hibernate

    I have a custom date TYPE in Oracle
    like
    CREATE TYPE DATEARRAY AS TABLE OF DATE;
    and I have a Oracle function also
    like
    CREATE OR REPLACE FUNCTION doesContain (list DATEARRAY, val VARCHAR2) RETURN NUMBER
    IS
    END doesContain;
    In my Java class,
    I have a collection which contain a list of java.util.Date objects
    When I call Oracle function "doesContain", how to pass my java collection to this Oracle function ...
    anyone can provide solutions?
    Please !!!
    Thanks,
    Pulikkottil

    Vu,
    First of all you need to define your types as database types, for example:
    create or replace type T_ID as table of number(5)Then you need to use the "oracle.sql.ARRAY" class. You can search this forum's archives for the term "ARRAY" in order to find more details and you can also find some samples via the JDBC Web page at the OTN Web site.
    Good Luck,
    Avi.

  • Oracle Text and APEX

    Hello
    Tried the Oracle White Paper - Oracle Text Web Applications
    Created the table and populated with relevant url links
    create table htmldb_documentation(
    id number,
    doc_title varchar2(4000),
    doc_url varchar2(4000))
    then created the index
    create index htmldb_doc_ctxidx on htmldb_documentation(doc_url)
    indextype is ctxsys.context
    parameters ('datastore CTXSYS.URL_DATASTORE')
    Then ran my SQL for the report in Toad and APEX SQL Workshop>SQL Commands before creating an APEX Region based on a SQL Report
    select score(1) relevance, doc_title, doc_url
    from htmldb_documentation
    where CONTAINS (doc_url, :P1_SEARCH, 1) > 0
    order by 1 desc
    After running the APEX Report I get error
    report error:
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-20000: Oracle Text error:
    DRG-50901: text query parser syntax error on line 1, column 1
    I also ran these grant commands after I received this error
    grant ctxapp to demo;
    grant execute on ctx_cls to demo;
    grant execute on ctx_ddl to demo;
    grant execute on ctx_doc to demo;
    grant execute on ctx_output to demo;
    grant execute on ctx_query to demo;
    grant execute on ctx_report to demo;
    grant execute on ctx_thes to demo;
    grant execute on ctx_ulexer to demo;
    Any ideas ?? I'm running APEX 3.1.0.00.32 on Oracle 10.2.0.1 on WindowsXP
    If I replace the bind variable :P1_SEARCH, with a literal value the error disappears

    Couple of things to check:
    1) do you have an item called P1_SEARCH in your application?
    2) If so, make sure that it has a value; otherwise, Oracle Text gets confused and will throw that error.
    You may want to consider using a PL/SQL Function Returning SQL Query that will only append the CONTAINS clause if P1_SEARCH has some value.
    Thanks,
    - Scott -
    http://sumnertechnologies.com
    http://spendolini.blogspot.com

  • Oracle Text and Order By

    In the Portal Search Properties you can turn on Oracle
    Text Searching. When reading the help page for that
    page you can follow a link at the bottom to a help page
    called "Performing a custom search". In the middle
    of that page there is a section called "Order By List".
    The third paragraph contains this sentence: "If Oracle
    Text is enabled, this option does not appear in the
    search submission portlet.".
    What is seems to mean is that if you turn on Oracle Text
    the developer or user can no longer have control of the
    order of found items.
    Is there really no way (even undocumented) of ordering
    found items when Oracle Text is used?
    As I have custom attributes on my custom items I must
    use Oracle Text if I want a search to work on those
    attributes, right?
    I have added a hidden field called p_order_by_attribute
    in my search form with the value "3,0" that should mean
    Display Name but without effect.
    Kind regards
    Tomas Albinsson
    Stockhlm, Sweden

    When Oracle Text is enabled there is no way to order search results as they will always be ordered by Oracle text score.
    Enabling Order By feature with Oracle Text on is a planned feature for a future release.

Maybe you are looking for

  • Can not open asset files in tutorial

    First off all of the videos are done to fast for a beginner.  Slow down speaking, give a beginner a chance to see where your cursor is.  Also found this with the Start here Tutorial for Ai. I followed along just fine in the first video in setting up

  • What complier should I use to program C#?

    I was wondering what complier and other tools do i need to download etc so i program and make tutorials and learn language of C#? right now i am using Xcode for C++ what do you recommend for other languages? or is Xcode good for that s well. thanks

  • Adobe Acrobat 9 Freezes when combining documents since update to 9.5.5

    Having previously used Adobe Acrobat 9 (version 9.2.0) faultlessly to combine documents into a single PDF I now find that since an update to 9.5.5 the program starts the combining process, then pops up a dialogue box requesting a file name and then f

  • Need to create a product in Service Oder

    Hi Gurus, Standard Contract---> Service Plan ---> Service Order From Standard contract, I am creating a service plan through copy routine. The std contract has 3 products with it. But the service plan is getting copied with only one product. Now I am

  • Changing notification mail sender id?

    Hi All, Currently the notifications and approvals are working fine, but the mail is being received from [email protected] mail id. If I need to change this to an id that has the client domain, what would I need to do? Please advise. Points definitely