ORDDOC and context searching!!

We have a scenario in which client uploads file in the format doc,ppt,pdf into database and is stored as orddoc format.
The version of database used in 9i. The client has a requirement in which he needs to search for a particular text inside the document.
Q1. Is this possible using the Orddoc dataype and ctxsys
We have tried with CLOB datatype and were able to search for a particular string inside the document.
Which is best datatype for this purpose and does oracle has any other tools/methods by which this can be done?

Hi Satish,
I followed the procedure in the link
Created the table
CREATE TABLE SEARCHTABLE
SNO NUMBER NOT NULL,
DATA ORDSYS.ORDDOC
Then created the index as
CREATE INDEX DATA_CTX_IND ON searchTable(data.source.localdata) INDEXTYPE IS CTXSYS.CONTEXT;
Latter i upload a txt file and recreated the index. I checked the DATA_CTX_IND$I table and found that no data was populated.
I run the query
CREATE INDEX DATA_CTX_IND ON searchTable(data.source.localdata) INDEXTYPE IS CTXSYS.CONTEXT;
and i am getting the following
ORA-29900:operator binding does not exist ORA -06553 : PLS-306 : wrong number or types of arguments in call to 'CONTAINS'
The same query worked fine for varchar and clob type field, so how can it suddently fail for orddoc?
Note: I am not an expert in oracle.. i just having working knowledge .. and this is first complex thing i am doing

Similar Messages

  • How to create a Windows 8.1 Desktop icon from the Metro/Start and/or Search Tool?

    I'm a Desktop user, but often find myself needing to go to the Metro/Start and Search Tool to find programs and App(let)s in order to run them.  However, after doing this several times for many programs, I find myself wanting to create
    Desktop icons to run the programs more easily.  Is there a way to do this from the Metro/Start Icon and/or Search Tool results?
    If not, Microsoft, please consider adding the ability to do this.
    It would be very nice if this ability supported all of the icon types shown in the Metro/Start, Search Tool, and Control Panel interfaces, e.g.: Metro Apps, Desktop Programs, Charms, and Control Panel Applets.
    Currently, there is a way to pin the Metro/Start Icon to the Desktop, but the Taskbar will get very cluttered with even only a handful icons.
    It would be very nice if the desktop icon created by this also supported the context options that the program/app(let) now shows as Tasks when the icon is pinned to the Desktop Taskbar.
    Additionally, it would be nice if I could also simply drag a Pinned Taskbar icon onto the Desktop area, again, retaining it's Tasks as context menu options when the Desktop Taskbar icon is right clicked.
    This ability would be very helpful for people needing to get to programs and App(let)s, without having to resort the Metro/Start and Search Tool, because when there are a lot of Metro/Start icons, I have well over a hundred icons, it
    can be very hard to find one simply eye-balling lot.  The Search feature is much better, provided I know the name to look for and can remember it.
    Finally, this ability would be very helpful, because the kinds of desktop shortcut icons that I can create using the New Shortcut option, assuming that can I find the program/App(let)'s name and path information, do not support the context options
    that the icons could in Windows 7 when an icon is created while installing the program.
    Thanks,
    Howard Brown 
    hrb

    Hi Howard Brown,
    Thanks for your suggestions about Windows user experience. Actually, we are glad to hear more feedback
     about Windows operating system so that we can improve Windows to make it be more easier to
     use.
    As a suggestion for your current situation, you can use Windows Charm Bar to search Apps, it is also easy to use.
    Alex Zhao
    TechNet Community Support

  • I use both add to search and organize search, FF34 has no search box, how do I add one?

    I tend to use Site Search, if available, instead of bookmarks, I use "add to searchbar" to make the proper xml file, and then I use organize search to group by category.. (373 user search xml files currently) as soon as FireFox upgraded to 34, I see a blank space on the toolbar instead of the searchbox.. I need the searchbox to get at all my saved search providers. BTW, "Search Using" works normal, providing my expected menu of organized providers. Same problem/symptoms, both Windows 7 systems I use.

    If you want to restore the previously used standalone window to manage search engines then you can toggle this pref to false with a middle-click on the about:config page.
    about:config page: browser.search.showOneOffButtons = false
    You need to close and restart Firefox to make this work properly.
    In the address bar, type '''about:preferences#search<enter>'''
    If you miss being able to switch search engines without going
    crazy with menus, try this out;
    '''[https://addons.mozilla.org/en-US/firefox/addon/context-search/ Context Search]''' {web link}
    Expands the context menu's 'Search for' item into a list of
    installed search engines, allowing you to choose the engine
    you want to use for each search.

  • How can I restore the search bar drop down list and current search engine icon as it was in FF version 33?

    Is there a way to restore the search bar from version 33?
    I like seeing which search engine I have selected and the ability to change it with a drop down list BEFORE I highlight text, right-click, and select ' Search Google for "xxxx" '
    Any way to roll back this latest "improvement"?

    If you miss being able to switch search engines without going
    crazy with menus, try this out;
    '''[https://addons.mozilla.org/en-US/firefox/addon/context-search/ Context Search]''' {web link}
    Expands the context menu's 'Search for' item into a list of
    installed search engines, allowing you to choose the engine
    you want to use for each search.

  • Problem with context search in iFS

    Hello , here is my problem with iFS.
    We have installation of Oracle 8.1.7 Enterprise edition with interMedia and iFS 1.1 on same server (Windows NT Server 4.0/512 RAM). During install everything went fine.
    I had uploaded about 200 MB files in the iFS (pdf's and html's).
    The problem is when I try to use context based search. If I search for file's name everything is fine, but when I search for a word that is in a file it almost immediately gives mi "0 file(s) found", and I'm sure that there are files that have that word in their body's.
    What can be the problem?
    Any sugestions will be in help.
    Thanks in advance.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by mark_d_Drake ():
    That's the way it works. Content Indexing is not on insert, it occurs when the ctxsrv process runs. See the IntermediaText doc for more information.
    <HR></BLOCKQUOTE>
    Documents's content is stored in the GLOBALINDEXEDBLOB column of the IFSSYS.ODMM_CONTENTSTORE table.
    There is an text index GLOBALINDEXEDBLOB_I built on this column.
    To make the context search possible just update this index using the following command in SQL*Plus:
    SQL> exec ctx_ddl.sync_index('GLOBALINDEXEDBLOB_I');
    If you want this index be updated automatically when new documents are uploaded/changed/deleted in iFS then start the ctxsrv utility on the computer where your Oracle database resides. To do this issue the following command in OS command line:
    ctxsrv -user ctxsys/ctxpwd@db_alias
    just replace here ctxpwd and db_alias with real values you specified during the installation.
    null

  • Context search in compressed files

    Is there any way of searching for content in compressed files?
    For example: if I have five text files in a zip file (and this zip is in iFS), iFS is able to make a context search inside those text files? In our application, the context search works great, but we faced this problem with the zip's.
    Thanks in advance,
    Fabio.

    Hi ,
    We too have the same problem apart from peformance problem.Looks like iFS API's need lot of improvements.

  • Index & Search Tabs have garbage characters and no search box

    Index and Search Tabs have numbers in place of the "search"
    box. Although, the generated view looks perfect, the file
    (WHLST10.htm) contains the same numbers and missing search box. I
    am using X5 version. I import a MS Word file without an index and
    am not selecting "Convert Index" on Conversion Options. Have also
    removed "Auto-create styles from inline formatting" and "Convert
    references into hyperlinks." Still getting same result. View
    attachment.

    Hi STCSherri and welcome to our community
    I'm guessing that you have either enabled the Section 508
    check box or you have opted for the "Pure HTML" output. Both of
    these settings are found in your Single Source Layouts pseudo
    folder. Expand that folder, then right-click the layout and select
    Properties from the context menu.
    The first dialog you see should have a check box labeled
    "Section 508 Compliant Output". If that check box is not selected,
    click the Next > button twice. You should be at the WebHelp
    Options - WebHelp screen. In the "Navigation Pane Preferred Format"
    area, where is the option configured? My guess is that it's "Pure
    HTML". Try changing to perhaps DHTML > Pure HTML.
    If all your options appear to be correctly configured and you
    are STILL seeing the odd behavior, I would then ask which browser
    and version you are using to display your help.
    Cheers... Rick

  • ConText Search Option - Need Help

    Hi,
    I am wondering if the freely available oracle s/w supports ConText search option. I am getting error notice when i tried to configure context search option by ctxctl command.
    Please suggest me what to do to invoke conText search option.
    Thanks,
    Rajesh

    It would be a stand alone program, when you enter a url into the input box and hit search it should load the url typed in , in frame 2. But if the "Use Proxy" check box is checked then it should include the proxy in each search.
    This swf is pretty self explanitory - http://www.mediafire.com/?6e9kl90s23lcyb9

  • Context search on content + other field(s)

    I'm using oracle.ifs.search.* classes to do a context search on the content but at the same time I want to do a context search on the DOCUMENT.DESCRIPTION field.
    (A bit like what you can do when searching in this Forum)
    The ContextSearchSpecification only seems to allow 1 classname for the context Query.
    I could use a FreeFormQualification instead, I guess, but then I'm not only loosing late binding, but I cannot get to the score results and nor can I sort on the scores.
    Are there ways to overcome this ?
    Are there any examples on how to use a FreeFormQualification exactly ?
    null

    Another method that puzzles me a lot :
    oracle.ifs.search.ContextSearchSpecification.setMedia(oracle.ifs.beans.Media [] media)
    It is supposed to explicitly set the Media to search over. Can I use it to do a context search on multiple media ? It looks that way.
    oracle.ifs.beans.Media is not documented.
    Any examples of the use of setMedia ?

  • Context search defaults to local country

    Select part of a web page, right click it and "search Google for ....." appears.
    This feature works perfectly when I am in the UK, but I travel and currently it searches Thailand version of Google - I want it to search the UK version of Google.
    Is there any way to force Firefox to search Google.co.uk and not Google.com?
    Using Windows XP - Firefox 8.0.1

    The browser.search.selectedEngine pref determines which of the installed search engines to use for context search if it exists.<br />
    Otherwise the default search engine as specified in browser.search.defaultenginename is used.<br />
    If you do not have the browser.search.selectedEngine pref then you can create a new String pref with the name browser.search.selectedEngine and set the name to the preferred search engine.<br />
    I see a browser.search.selectedEngine pref if I select a search engine that is different from the default search engine.
    Do you have a Google.co.uk ((Google UK) search engine installed?
    You can find search engines on the Mycroft Project website.
    * http://mycroft.mozdev.org/
    * http://mycroft.mozdev.org/google-search-plugins.html

  • Context search timeout not considered ?

    Consider the following method that query twice a LDAP directory and hangs in the second query for nearly 10 minutes - I think that is TCP timeout - in the context search even if set a timeout of 5 seconds.
    The connection has been closed between the first and the second search by a firewall, dueto the "Stateful inspection policy".
    Have I forgotten some thing ? Or is the LDAP SPI that has a bug ?
    This is the code, hope you've some advice...
    Thank you
    Roberto
    public class MyLdap {
    private LdapContext lDapCtx;
    // some other declarations
    public MyLdap() {}
    private LdapContext createLdapContext() {
    this.ldapEnv.put("java.naming.factory.initial",
    "com.sun.jndi.ldap.LdapCtxFactory");
    this.ldapEnv.put("java.naming.factory.url.pkgs", "com.sun.jndi.ldap");
    this.ldapEnv.put("java.naming.provider.url", HOST_NAME);
    this.ldapEnv.put("com.sun.jndi.ldap.connect.timeout","500");
    try {
    logger.fine("Creating LdapContext");
    this.lDapCtx = new NGTInitialLdapContext(ldapEnv, null);
    return this.lDapCtx;
    catch (NamingException ex) {
    this.lDapCtx = null;
    logger.severe("Failed creating LdapContext");
    logger.stack(ex);
    return this.lDapCtx;
    public NamingEnumeration search(String baseSearchStr, String filter, SearchControls constraints) throws NamingException {
    NamingEnumeration results = null;
    int timeout = 1000;
    // timeout set constraints.setTimeLimit(timeout);
    //Try search
    long ini = System.currentTimeMillis();
    System.out.println("Before ctx.search");
    try {
    results = ctx.search(baseSearchStr, filter, constraints);
    System.out.println("After ctx.search secs: " + ((System.currentTimeMillis()-ini)/1000));
    return results;
    catch (CommunicationException e) {
    System.out.println("Catch CommunicationException");
    //Communication failure try ricreate context
    this.recreateInitialLdapContext();
    results = ctx.search(baseSearchStr, filter, constraints);
    return results;
    catch (NameNotFoundException ex) {
    //e' un name not found, sollevo l'eccezione
    System.out.println("Catch di NameNotFoundException");
    throw ex;
    catch (NamingException ne) {
    //Tento cmq di ricostruire il contesto
    System.out.println("Catch di NamingException");
    this.recreateInitialLdapContext();
    results = ctx.search(baseSearchStr, filter, constraints);
    return results;
    private void recreateInitialLdapContext() throws NamingException {
    synchronized (ctx) {
    System.out.println("First close context, then try recreating context");
    ctx.close();
    System.out.println("Context closed");
    long ini = System.currentTimeMillis();
    System.out.println(
    "Prima di new InitialLdapContext(environment, connCtls)");
    ctx = new InitialLdapContext(environment, connCtls);
    System.out.println(
    "Dopo di new InitialLdapContext(environment, connCtls), secondi: " +
    ( (System.currentTimeMillis() - ini) / 1000));
    System.out.println("Succeed recreating context");
    private static void search() throws Exception {
    try {
    logger.info("\nSearching ********************************************");
    String baseSearchStr = "uid=smith, ou=UP , o=myorg";
    // set the search filter in uid matching
    String filter = ("uid=*");
    SearchControls constraints = new SearchControls();
    constraints.setSearchScope(SearchControls.OBJECT_SCOPE);
    NamingEnumeration results = lDapCtx.search(baseSearchStr, filter, constraints);
    while (results.hasMore()) {
    SearchResult sr = (SearchResult) results.next();
    Attributes att = sr.getAttributes();
    NamingEnumeration idEn = att.getIDs();
    while (idEn.hasMore()) {
    String id = (String) idEn.next();
    Attribute attrib = att.get(id);
    logger.info( (String) attrib.get());
    logger.info("Searching done****************************************");
    catch (NamingException ex) {
    logger.info("search failed");
    throw ex;
    private static void waitFor(int delay) {
    logger.info("\nWaiting "+ delay + " seconds ****************************************");
    long ini, temp;
    int divisor = new Integer(1000).intValue();
    ini = System.currentTimeMillis();
    while ( true ) {
    temp = System.currentTimeMillis() - ini;
    if ( ((int) temp/divisor) == delay) {
    break;
    logger.info("Waiting done****************************************");
    public static void main(String[] args) {
    ldap ldap1 = new ldap();
    try {
    createLdapCtx();
    search();
    waitFor(new Integer(args[0]).intValue());
    search();
    lDapCtx.close();
    catch (Exception ex) {
    ex.printStackTrace();

    Sorry, the line:
    this.lDapCtx = new NGTInitialLdapContext(ldapEnv, null);
    instantiate the class NGTInitialLdapContext and in the constructor there is the following line:
    ctx = new InitialLdapContext(environment, connCtls);
    Roberto

  • Context search in iFS/Linu

    Hello,
    my question is about the INSO_FILTER that is used when binary files are indexed(pdf, doc,..). In the IFS context search is about that, and there is IFS for Linux, that means that there is some kind of filter for Linux. Can that filter be used to index documents with Oracle text under Linux?
    Thanks

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by mark_d_Drake ():
    That's the way it works. Content Indexing is not on insert, it occurs when the ctxsrv process runs. See the IntermediaText doc for more information.
    <HR></BLOCKQUOTE>
    Documents's content is stored in the GLOBALINDEXEDBLOB column of the IFSSYS.ODMM_CONTENTSTORE table.
    There is an text index GLOBALINDEXEDBLOB_I built on this column.
    To make the context search possible just update this index using the following command in SQL*Plus:
    SQL> exec ctx_ddl.sync_index('GLOBALINDEXEDBLOB_I');
    If you want this index be updated automatically when new documents are uploaded/changed/deleted in iFS then start the ctxsrv utility on the computer where your Oracle database resides. To do this issue the following command in OS command line:
    ctxsrv -user ctxsys/ctxpwd@db_alias
    just replace here ctxpwd and db_alias with real values you specified during the installation.
    null

  • Get rid babylon and delta search, uninstall wont work because it doesn't show up, please help

    I want to keep my firefox but have caught this babylon and delta search and no matter what i do it will not go

    Remove Babylon Features:
    Remove Toolbar (from Extensions)
    1. Open Mozilla Firefox. Go to FF menu button.
    2. Select Add-ons & than select Extensions. (delete excess text)
    3. Remove/Disable the Babylon Toolbar 1.5.0.
    4. Restart your browser.
    Remove Toolbar (from Add/Remove Programs)
    1. Click the Start button on your computer.
    2. Select Add-ons & than select Extensions. (delete excess text)
    3. Select Programs and Features.
    4. Select Babylon Toolbar from the Programs list.
    5. Right click to uninstall.
    6. Press YES on the popup message.
    Remove Search Provider
    1. Open Mozilla Firefox. Click on the Search bar, located on the right side of your address bar
    2. Press the F4 key and select Manage Search Engines from the drop down list that appears.
    3. Select Search the Web (Babylon) and click on the Remove button.
    4. Click OK to save your changes.
    Remove/Change Home Page:
    5. Open Mozilla Firefox. Click on the FF menu button.
    6. Select Options.
    7. Now select the General tab.
    8. In the section of the popup labeled "Home Page," insert the URL of your desired Home Page.
    9. Click OK to save the changes.
    Remove Babylon Search from New Tab
    If when you open a new tab in Firefox, Babylon Search still appears:
    1. Type in the address bar line about:config and press enter.
    2. Confirm the popup message.
    3. In the search field, type "browser.search.selectedEngine". (remove excess text here)
    5. Restart your Browser.

  • Okay, i have 2 bugs with maverick.  First, when I delete a file within a window, the files deletes but the preview doesn't delete until I close the window and reopen it.  Second, I work on a network of computers and the search feature is now buggy...

    Okay, i have 2 bugs with maverick.  First, when I delete a file within a window, the files deletes but the preview doesn't delete until I close the window and reopen it.  Second, I work on a network of computers and the search feature is now buggy...  When I search for a file, A) it asks me if it's a name, or it wont produce anything, and B), its slower than in prior OS versions and in some instances I have to toggle to a different directory and go back to my original directory in the search: menu bar or the search wont produce anything...  Very buggy. 

    It appears to me that network file access is buggy in Maverick.
    In my case I have a USB Drive attached to airport extreme (new model) and when I open folders on that drive they all appear empty. If I right click and I select get info after a few minutes! I get a list of the content.
    It makes impossible navigate a directory tree.
    File access has been trashed in Maverick.
    They have improved (read broken) Finder. I need to manage a way to downgrade to Lion again.

  • My drop-down list won't appear anymore so every time I want to go to a new site I have to type it in where before my drop-down box would appear and I could just click it and hit search and go there how do I make my drop-down box come back

    somehow I must've clicked a button that took away my drop down box when I go to use my Google search so different sites that I go to a lot I would always just click it when the drop-down box came up I would click again and hit search and you would bring that page up but even if I go to a site once I leave that I try to click and make the drop-down box come up again with the new search and it nothing happens so the problem is I need my drop down box to come back up to all the places that I visit kind of like a history of like I said I would just click and it would come up by itself now the drop-down box won't come up anymore so I need somebody to tell me what to do to bring my drop-down box back also I am new to computers so I don't know a lot so don't be real technical thanks for the help merry Christmas from Joe

    It's not a matter of me assuming to restore it, once the error comes up, the only next step I can do is to restore it. I can't access any of the iphones settings in itunes or anything, it's a mandatory restore. If I just cancel the sync (before restoring) and disconnect the phone, all my apps crash on opening: aka unusable phone. So I have literally no choice but to restore every time the error shows up if I want my phone to work.
    I have no idea where I may have duplicate files as it doesn't tell me, so if that is the problem (which I don't think it is) then I don't know where I have to go to delete the duplicates.
    And the duplicate file error still doesn't explain why leaving iTunes to restore the phone doesn't work and me having to drag the window around. I know it sounds utterly ridiculous, my friend didn't believe me when I told him either but then I showed him and he was as confused as I am. If I just leave the restore to do its own thing at it's own pace, it will loa maybe 20% then fail for whatever reason.

Maybe you are looking for

  • Crystal report 8.5/ changing the format conditionally

    Post Author: Amsa CA Forum: Crystal Reports Using Cyrstal Report 8.5  I have a letter on the crystal report which get populated from the sql database by the sql procedure..That letter includes the Name and the full address. And if the customer has th

  • Better Redirect for OTN HELP

    Hi, This is Oracle Support Technical Services HUB requesting if the following issues could be reviewed. 1) If the OTN area on the 'Contact Us' page could be more prominent, or be listed 'above' the Oracle 'Support' Contact Numbers. 2)Likewise, when s

  • Greetings Everyone,Mac os x.10.4.11.Safari 3.0.4.  How do I  go about  deleting certai n no longer needed bookmarks?Thanks.B.

    As stated above Im trying to clean house alittle bit,&weed out some unwanted bookmarks.Can somone please tell Me how to do this?Thanks.     B.

  • Error 4310 when burning playlist to CD

    I'm trying to use the Burn to Playlist function in iTunes and which is failing immediately on starting and I'm receiving a pop-up box with the message "The attempt to burn disc failed. An unknown error occurred (4310)." I'm running on Windows 8 on a

  • ABOAutoOrderSalesCopy

    Siebel 7.8.2.5 - Sales You can create an Order by clicking on "Auto Order" button in the Quote Applet. This method is called "ABOAutoOrderSalesCopy" and is a vanilla method and the methods are not exposed to edit. It calls a WF called "SIS OM Quote T