Search in WebLogic Repository

hi,
I want to Search a specific text in file, this file is stored in WebLogic
Repository(Content Management) as binary file property.
How can i search a "some text" in file. kindly help me....
As I am using com.bea.content.Search, SearchOps, Expression etc... API for searching
in weblogic repository. Is there any API for searching in binary file withing
the repository ? or do you have sample code for that ?
kindly guide me....
Thanks
Vijay Patel

See posting 3519 for CM API/SPI feedback. --alex
"vijay patel" <[email protected]> wrote:
>
hi,
I want to Search a specific text in file, this file is stored in WebLogic
Repository(Content Management) as binary file property.
How can i search a "some text" in file. kindly help me....
As I am using com.bea.content.Search, SearchOps, Expression etc... API
for searching
in weblogic repository. Is there any API for searching in binary file
withing
the repository ? or do you have sample code for that ?
kindly guide me....
Thanks
Vijay Patel

Similar Messages

  • Problem with searching in weblogic 8.1 repository..

              Can anyone help me to Search in WebLogic 8.1 Content Mangement...Data base....
              we are using weblogic 8.1 content management (i.e. repositor to store the data
              of poral..)
              Now I m implementing Search in repository.. and i want to search a String e.g.
              "Forms" in this repository... how can i search in repository...
              Well, I found QueryManager and QureyRequest class in sample portal example...but
              still not understand how to use it... kindly help me to solve this problem...
              or u can suggest me alternative way to solve searching in weblogic repository...
              thanks a lot in advance.....
              waiting for some help.....
              Vijay
              

    I got the solution for this:
    Just few changes in the config file found in Weblogic 8.1 IDE
    "SIDDHARTHA " <[email protected]> wrote:
    >
    I am having a jsp which contains 4 links to portals.
    Portal is hosted on Weblogic 8.1 GA App Server.
    Request to App Server goes through our iPlanet Web Server, which is hosted
    on
    port 9077.
    The initial page from home page from App server is normal JSP (not part
    of portal)
    so it shows URLs like
    e.g.- http://hostname:9077/something...
    Now when i click on one of the 4 links whcih takes me to the respective
    portal with the port 9077 mentioned in the browser link.
    But the portlets within the portals contains links without 9077 port
    e.g. http://hostname/something...
    The hostname is the name of iPlanet Web Server
    The portal pages (view source) contains absolute address for links without
    port

  • How To Search in Weblogic 8.1 Repository ?

    Hi Friends,
    This is Vijay Patel, IBM India ...
    my team developing a portal on Weblogic 8.1. we are using WebLogic Content Management
    System (Weblogic Repository) for dynamic content to display on JSP pages...
    Now I want to search one string e.g. "forms" in my repository, how can i search
    in weblogic repository ? Is there any API in Weblogic 8.1 to search in repository
    ? As i came accross some classes QueryManager and RequestQuery...but I don't
    know how to use this class..
    please help me to sort out this problem...as it is very urgent for me.....
    Thanks
    Vijay Patel
    [email protected]

    There is not a search feature available. You have to do an educated guess under what dimension your infoobject could be and select.

  • Using weblogic repository of message beans

    Hi,
    Using weblogic repository of message beans
    This is possible?

    Hi Steve,
    I don't know what you need UOO for, but, for some use cases, its sufficient just to configure a default UOO on the sender's connection factory.
    Propapagation of a UOO from one desitnation to another is not automatic (except via SAF, or unless OSB somehow does it for you). Plain vanilla JMS apps do this by calling msg.getStringProperty("JMS_BEA_UnitOfOrder") on the received message and setUnitOfOrder() on the javax.jms.WLProducer.
    You might find that there's more OSB expertise on an OSB newsgroup (I think it's one of the newsgroups under [url http://forums.oracle.com/forums/category.jspa?categoryID=194]SOA & Process Management).
    Regards,
    Tom

  • Full text search in weblogic portal

    in weblogic portal , autonomy services indexes all the sample repositories instead of WLP Repository.
    I did following setting for WLP Repository Admin console.
    search-is-enabled=TRUE
    fulltext-search-is-enabled=TRUE
    search-indexing-is-enabled=TRUE
    can any body help me on the same.

    Thanks for ur timely help.
    its worked on my windows environment.
    but when i tried to run that index_cm_data script its giving me the following exception.
    <INFO>: Looking up Indexer EJB Home interface with JNDI name: EARname.BEA_content.IndexerHome
    <ERROR>: Indexing failed. Please use -help for more info.
    com.bea.content.indexer.IndexerRunnerException: Indexing by path /WLP Repository failed.
    at com.bea.content.indexer.IndexerRunner.indexByPath(IndexerRunner.java:380)
    at com.bea.content.indexer.IndexerRunner.index(IndexerRunner.java:340)
    at com.bea.content.indexer.IndexerRunner.main(IndexerRunner.java:947)
    Caused by: com.bea.content.indexer.IndexerRunnerException: Cannot find Indexer EJB using lookup name EARname.BEA_content.IndexerHome. Check application name EARname
    at com.bea.content.indexer.IndexerRunner.getIndexer(IndexerRunner.java:549)
    at com.bea.content.indexer.IndexerRunner.checkRepositoryConfig(IndexerRunner.java:905)
    at com.bea.content.indexer.IndexerRunner.indexContentByPath(IndexerRunner.java:436)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.content.indexer.internal.RunAsHelper$1.run(RunAsHelper.java:189)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.security.Security.runAs(Security.java:61)
    at com.bea.content.indexer.internal.RunAsHelper.runAs(RunAsHelper.java:176)
    at com.bea.content.indexer.internal.RunAsHelper.runAs(RunAsHelper.java:157)
    at com.bea.content.indexer.internal.RunAsHelper.runAs(RunAsHelper.java:133)
    at com.bea.content.indexer.IndexerRunner.indexByPath(IndexerRunner.java:371)
    Can u please help me on the same.
    Edited by: user10303035 on May 17, 2009 10:38 PM
    Edited by: user10303035 on May 17, 2009 11:15 PM

  • How to search content in repository through portal

    i want to search the content present in my content repository with input as a string ,which will be searched in content and displayed through portal.
    or can i navigate bea content search into portal

    I am also trying to use content in the BEA content repository. I am able to create the content repository, but i do not know how to set it up so that it can be accessed from a portal. It seems that you are able to integrate it. Can you please tell me the steps or point me to a document? I will appreciate your help.

  • TREX search KM BI Repository

    TREx 7.1
    Portal 7.0
    I have created and been using a KM BI Repository. This repository contains txt documents that are currently being accessed thru a KM Document IVIEW. I have recently implmented  TREX 7.1 and I am having trouble finding anything in my repository using the search UI.
    I have added indexes and taxonomies that point to the data source /bi_documents.
    The search UI is available but finds nothing.
    The TREX search can find Portal Documents.
    I have also added to the Index Management Service the  "Repository Manager" that is for my BI Repository.
    Component Monitor is good and all green
    TREX Monitor good.
    My searchs still return nothing from my KM BI Repository.
    I have researched and followed numerous documentation on repositories.
    Any help or configuration document on KM BI Repositories would be appreciated.
    Thank you,
    sarah

    Thanks for the input Frank,
    I am using the standar crawler and it appears that the indexes are not being built due to a crawler error.
    Preprocessor.cpp(01165) :     HTTPHEAD failed for URL https://sbserver.sap.state.edu:50001/irj/go/km/docs/bi_documents/InfoProviderData/%23BP_M001/1413120000%202010%20AM.txt :
    Errorcode -8001 , Message   Reader::connect failed, url=https://sbserver.sap.state.edu:50001/irj/go/km/docs/bi_documents/InfoProviderData/%23BP_M001/1413120000%202010%20AM.txt
    Preprocessor.cpp(03980) :     HANDLE: DISPATCH - Processing Document with key 'https://sbserver.sap.state.edu:50001/irj/go/km/docs/bi_documents/InfoProviderData/%23BP_M001/1413120000%202010%20AM.txt' failed, returning PREPROCESSOR_ACTIVITY_ERROR (Code 16001)
    Any help on this would be appreciated.
    thank you,
    sarah

  • How to search / traverse MDS repository

    Hi I know there is MDS repository ADI allows search for MDS document, traverse MDS etc. is there any document or tutorial explain how to use these MDS APIs?

    A few APIs was mentioned in the last document, such as :
    oracle.mds.core.MetadataObject;
    oracle.mds.core.RestrictedSession;
    oracle.mds.cust.CacheHint;
    oracle.mds.cust.CustomizationClass;Is there any more detail about these oracle.mds.* APIs? especially interested in how to query the repository.
    Thanks

  • Help needed: Search function for custom Repository Manager

    Hi there,
    i'm writing my own Repository Manager for EP 6.0 SP2 PL4.
    I've serious problems getting the search function running. I'm using the 'new', Netweaver-based API.
    I think, there are some general questions to answer:
    - My Repository Manager exposes lots of custom 
       properties to the system. I create the properties
       for example using following code:
       IProperty newProp = new StringSingleValueProperty(
         PropertyName.getPropertyName(
                  "{}" + myAttName),
         myAttVal,                         PropertyFlags.constructFlags(
                  true, false, true, false)
        Is there any convention for the propertie's name?
        I think it has to be written in lowercase only?
        Can I use ANY namespace I want instead of the
        empty default namespace? (For example:
    - After indexing my resources (of course, containing my
       custom properties), the TREX-Monitoring screen for my
       index shows all my custom properties in the 'Document
       Properties' area, but all uppercase chars are escaped
       somewhat. Is this OK?
    - Trying to use the index above to search for particular
       resources in my repository by my custom properties
       fails all the time ('no docs found...'); searching for
       any system property works fine. What's the reason?
    - How can I force the (Property-) search uses my
       custom namespace-manager's methods
       isQueryPropertyNameUnderstood() and
       getQueryBuilder()
       to perform a 'pure' property search by the repository
       manager? It seems that the TREX always handles the
       queries by itself, because my methods are never called.
    Thanx for you help,
    Daniel

    I created a new manager and copied the classes exactly from the "simple" example and I see similar behavior. Actually, when I do this, folders are recursively copied, but not files. Again, browsing and viewing of files work fine. Again, I am not seeing any unexpected exceptions.
    The only thing that changed were the names and namespaces. Nothing else at all was changed.
    This makes me think I am missing some configuration somewhere or there is something special about the example project that the wizards are not creating. The only difference I see in the project file is an additional nature (com.tssap.selena.cmf.PatternNature), but I am not sure that is relevant.
    Wow, I am really stumped.
    -Alex

  • Text search into repository

    Hi all,
    I am facing an issue here , if a customer entered "Oracle Inc 900 Main St, San Jose CA 09090 " how can I search it in Repository, I mean which keyword to take as query against.
    I have to display companies located in that area, FYI I am not using any services to validate the address here.
    Any Suggestions Peers.
    --- Thanks

    Thanks for the reply , sorry for responding late on your question.
    I was talking about repository query. I got the answer though.

  • Search Integration Issue - Portal 10.2

    Hi All,
    I am trying to integrate Search in weblogic portal 10.2.
    After some trials , i was able to search the published content in the admin console.
    And if any content is created , that content is getting indexed ,,I have seen from following URL.
    http://localhost:9014/action=list
    But the problem is
    I want to integrate this search facility in my portal application.
    And this search has to search the list of pages in the portal apllication.
    How this can be acieved , because content is dynamically populating in my portal application using content selectors.
    Simply:
    If I am searching with the word "xyz" in my application , It has to display the list of pages in the application containing the text "xyz".
    Because content is getting displayed using content selectors.
    Thanks & Regards,
    Srinivas

    pls suggest me, how to display search results which points to application pages , which satisfies search criteria , as we wll get in Google.Hi Srinivas,
    as Brad already pointed out, this is a complicated problem in the case of portal and cms, mostly due to the fact that there is no out of the box glue layer between cms hierarchy and portal hierarchy. Because of personallization, content selectors, etc. it is not a one-to-one mapping. However, this is merely a technological issue and a business requirement similar to yours keeps popping up in real world projects including a few of the ones I've been involved with. There are some workarounds, but so far I've not come up with a "perfect" solution. I would <strong>love</strong> to hear from someone who has an elegant solution.
    One approach is to define a "home" location in the portal hierarchy for a piece of content in CMS using metadata. A simplistic approach to this would be to e.g. set a metadata attribute that specifies the instance label of a page that is guaranteed to have a portlet that displays the content item. A variation is to use a CMS site hierarchy (or folder hierarchy) that mimics the portal book/page hierarchy. The "home" location in this case can be deduced from the CMS hierarchy. As you will notice, both of these approaches require that CMS is kept in sync with the portal hierarchy. Also, if you have multiple desktops and reuse a piece of content across them you need to modify this scheme with additional metadata and/or site hierarchy setup. Yet another approach is to have a separate mapping layer that maps the content node id's and/or hierarchies to portal hierarchy. This mapping layer can be anything from a properties file to an elaborate DB based application...
    With these approaches when you get a search result node you need to retrieve either the metadata item or the folder hierarchy or the mapping layer translation and then set up a page change event to take the user to the proper page.
    One of the many issues with these approaches is that when you move content display portlets around you need to update stuff elsewhere (CMS or mapping layer). Depending on your content display portlet mechanism you can also consider setting a portlet preference that points to a cms folder or node. You can then traverse the desktop hierarchy using presentation contexts while extracting the cms contexts from the portlet properties. This way you can semi-automatically create a cms-to-portal mapping which serves as a lookup table for the search results. Obviously, this time around the challenge is keeping the portlet preferences in synch when stuff is moved around on the cms side :) To overcome this, you would probably need to hook into the content events inside the repository and modify the portlet preferences on the fly when stuff is moved around. This would be quite hard core in my opinion and I've never gone that far in a real world project....
    Summa summarum: there are no low-hanging fruits here, but what you describe can (and has been) achieved to a certain degree with some serious admin/management headaches. Sometimes the business requirement is set in concrete and it overrides the admin concerns :)
    Hope this helps, I'll be happy to elaborate on the thoughts above since this is one of my pet peeves when doing architectural design for a new portal project :D
    Best regards,
    Petri
    Edited by: Petri Pellinen on Nov 5, 2008 10:32 PM

  • OIM 9.0 on WebLogic 10.3.2

    I am trying to search for WebLogic 8.1 SP4 but its not available anywhere. All links are broken. Anyone has tried depolying on WebLogic 10.3.2 which is available for download?
    Best Regards

    probably not ! !
    OIM 9.1 is supported for - BEA WebLogic Server 8.1 SP6 and later service packs. This has been mentioned in the release notes for 9.1 OIM.
    Refer to section-'Certified Application Servers'. So if you want to go for OIM 9.0 the I beleive you will have to use an older verion of WL (probably 8.3). Anyway if you wat to install OIM 9.0 then why are you going for the WL latest release (feature wise also its bigger). Wl 10.3 is certified for OIM 9.1.0.2. And we may also go against the stream to install something uncertified, but you never know what hidden errors may come because of that and in such cases you cannot expect a solution as well.
    Thanks
    Sunny

  • How can I use custom WLST commands for Oracle SOA Suite in Weblogic

    Hi There,
    I'm trying to view and search the weblogic log files using WLST on a Solaris/Unix system.
    I have come across this "custom WLST commands for Oracle SOA Suite" and thought of using the custom logging commands to get my task done.
    However, my WLST shell is not recognizing the commands and giving me the NameError!
    wls:/devDomain1/domainRuntime> listLogs()
    Traceback (innermost last):
    File "<console>", line 1, in ?
    NameError: listLogs
    I tried the commands listLogs, displayLogs, getLogLevel & setLogLevel but in vain!
    I have followed the instructions as per the oracle recommendation of using Custom WLST commands (http://docs.oracle.com/cd/E29597_01/core.1111/e10105/getstart.htm#ASADM10692) as below
    - Launched the WLST shell from Oracle Home.
    cd ORACLE_HOME/common/bin
    ./wlst.sh
    - Tried to run the listLogs command from domainRuntime()
    I would like to know if I need to import any additional libraries to run the custom WLST commands for Oracle SOA Suite in my WLST shell?
    I have only weblogic 10.3.1 server installed on my Solaris 10 machine on which I have deployed the OSB application software.
    There is no SOA Suite installed.
    Or is there any other way I can browse the Server Log file and get the list of log messages? Basically I would like to use this feature in my script to customize it according to my requirement of listing specific error logs which I can work it out if I know how to make these commands work.
    Please advise if this is possible and how?
    Cheers.
    Satish

    I have tried on my OSB installation (no SOA Suite here), the command listLogs() works (I was in online mode, after a connect), and the classpath is:
    CLASSPATH=/opt/oracle/fmw11_1_1_5/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/oracle/fw11_1_1_5/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-1.6.0-sun-1.6.0.33.x6_64/lib/tools.jar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/server/lib/weblogic_sp.jar:/opt/oracle/fmw11_1_1_5/wlserver_10./server/lib/weblogic.jar:/opt/oracle/fmw11_1_1_5/modules/features/weblogic.server.modules_10.3.5.0.jar:/opt/oracle/fmw111_1_5/wlserver_10.3/server/lib/webservices.jar:/opt/oracle/fmw11_1_1_5/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/optoracle/fmw11_1_1_5/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/opt/oracle/fmw11_1_1_5/oracle_common/moules/oracle.jrf_11.1.1/jrf-wlstman.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/lib/adfscripting.jar:/opt/oracl/fmw11_1_1_5/oracle_common/common/wlst/lib/adf-share-mbeans-wlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/lb/mdswlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/auditwlst.jar:/opt/oracle/fmw11_1_1_5/oracle_cmmon/common/wlst/resources/igfwlsthelp.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/jps-wlst.jar:/optoracle/fmw11_1_1_5/oracle_common/common/wlst/resources/jrf-wlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/reources/oamap_help.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/oamAuthnProvider.jar:/opt/oracle/fmw111_1_5/oracle_common/common/wlst/resources/ossoiap_help.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/osoiap.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/ovdwlsthelp.jar:/opt/oracle/fmw11_1_1_5/oracle_comon/common/wlst/resources/sslconfigwlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/wsm-wlst.jar:/optoracle/fmw11_1_1_5/utils/config/10.3/config-launch.jar::/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/derby/lib/derbynet.ar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/derby/lib/derbyclient.jar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/drby/lib/derbytools.jar::
    The wlst.sh I have used is /opt/oracle/fmw11_1_1_5/osb/common/bin/wlst.sh
    I hope this can help

  • How do I configure an enterprise application using Weblogic 10 wlconfig

    Hi All,
    I am converting an installer from WL8 to WL10. We use wlconfig to configure our EAR in wl8 with several wlconfig commands. These don't seem to work though when attempting to use wl10. The following error comes up more often than not and does not seem to be appropriate to what is actually happening.
    Unable to create new bean of type WebAppComponent for pcidomain_new:Name=GenPortal,Type=Application:missing create method
    I have searched the Weblogic Documentation and have found only general information on how to use wlconfig with a simple example that does not touch on application deployment. I have also found an MBean Reference but am unclear as to how to marry the two.
    It would be really great if someone knew where I might find a concrete example of creating an Enterprise application using WL10.
    Here is the current wlconfig task that we use successfully in weblogic 8.
    ${server-mbean} is read in earlier with a wlconfig query command.
              <wlconfig url="t3://${env.COMPUTERNAME}:${weblogic_port}" username="${weblogic_username}" password="${weblogic_password}">
                   <create type="Application" name="GenPortal" property="GenPortalApp">
                        <set attribute="Path" value="${domain_home}/${domain_name}/applications/GenPortal.ear" />
                        <set attribute="StagingMode" value="nostage" />
                        <set attribute="TwoPhase" value="true" />
                        <create type="WebAppComponent" name="GenPortal">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="GenPortalWebApp.war" />
                        </create>
                        <create type="EJBComponent" name="GenPortalEJB">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="GenPortalEJB.jar" />
                        </create>
                        <create type="EJBComponent" name="BidEvaluatorEJB">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="BidEvaluatorEJB.jar" />
                        </create>
                        <create type="EJBComponent" name="BidFormulatorEJB">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="BidFormulatorEJB.jar" />
                        </create>
                        <create type="EJBComponent" name="ConfiguratorEJB">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="ConfiguratorEJB.jar" />
                        </create>
                        <create type="EJBComponent" name="ISOCommunicationEJB">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="ISOCommunicationEJB.jar" />
                        </create>
                        <create type="EJBComponent" name="LMPManagerEJB">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="LMPManagerEJB.jar" />
                        </create>
                        <create type="EJBComponent" name="ScriptCalcEJB">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="ScriptCalcEJB.jar" />
                        </create>
                        <create type="EJBComponent" name="SettlementEJB">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="SettlementEJB.jar" />
                        </create>
                   </create>
                   <create type="StartupClass" name="PCI_Initializer">
                        <set attribute="Targets" value="${server-mbean}" />
                        <set attribute="ClassName" value="com.pci.gtdw.bean.Initialize" />
                        <set attribute="Arguments" value="port=${weblogic_port},user=background,password=${background_user_password},debug=false,loggerLevel=debug" />
                   </create>
                   <set mbean="${domain_name}:Name=${domain_name},Type=JTA" attribute="TimeoutSeconds" value="1200" />
              </wlconfig>
    As I mentioned earlier right now this fails with when trying to create the WebAppComponent as seen in the error message above.
    Thanks for any help you can provide.

    Here's a couple ideas:
    1. Easier, but with non-deterministic response time:   Wire the button up to one of your I/O pins and poll it.  When you detect the button, issue a software call to stop the pulse train.  If the duration of the button press may be short compared to your polling rate, then wire it to a counter source pin and perform edge counting.  When you poll any value > 0, the press has happened.  (Sometimes the value may be >1 if the switch has "bounce").
    2. Trickier, but with deterministic hardware timing:  Configure another counter, call it counter B, for triggered pulse generation.  Wire/configure the button as the trigger.  Make sure that the "high time" of the pulse is long enough to let your software respond, if needed.   Also configure your original continuous pulse train counter to use Ctr B's output as a "pause trigger", specifying to pause when high.   When the button is pressed, counter B will fire a pulse and that pulse will inhibit your original counter's pulse generation.  In short, the pulses will stop until counter B's pulse has completed its full duration.  Your software can monitor for this series of events and stop the original counter task if needed.
    -Kevin P.

  • Storing and searching XML in CLOBs

    Speaking to an oracle employee at the Oracle booth at JavaOne
    recently. They suggested I store XML in CLOBs
    and use the DOM or SAX to reparse the XML later as needed.
    I agreed that this was the best solution for my problem
    (which was how to manage many different XML documents using many
    different DTDs in a document management system)
    The big problem was searching this document repository
    to locate relevant information.
    This is where Intermedia seemed ideal (still does).
    It would be nice to see an example of setting this up using
    Intermedia in Oracle 8i, demonstrating how to define the
    XML_SECTION_GROUP and where to use a ZONE as opposed to a FIELD
    etc.
    Anybody care to take a shot at this ????
    For example:
    How would I define Intermedia parameters
    so that I would be able to search my CLOB
    column for records that had the <keyword>
    "aorta" and "damage" in the <caption>
    using the following
    XML (DTD implied)
    <image filename="OurImageName.gif">
    <fname>WellKnownFileName.gif</fname>
    <keyword>echocardiogram</keyword>
    <keyword>aorta</keyword>
    <caption>This is an image of the vessel damage</caption>
    </image>
    Thanks
    Thomas Bennett
    null

    Eric (guest) wrote:
    : You can't do XML structure-based searches with intermedia. You
    : can search for text within a given element, but nothing more
    : complicated than that.
    The example he gave involves exactly that -- searching for
    text within XML elements. interMedia can do this.
    : It also does not do attributes.
    Upcoming 8.1.6 version allows searching within
    attribute text. That's something like:
    dog within book@author
    We're working on attribute value sensitive search,
    more like:
    dog within book[@author = "Eric"]
    : Thomas Bennett (guest) wrote:
    : : How would I define Intermedia parameters
    : : so that I would be able to search my CLOB
    : : column for records that had the <keyword>
    : : "aorta" and "damage" in the <caption>
    : : using the following
    : : XML (DTD implied)
    : : <image filename="OurImageName.gif">
    : : <fname>WellKnownFileName.gif</fname>
    : : <keyword>echocardiogram</keyword>
    : : <keyword>aorta</keyword>
    : : <caption>This is an image of the vessel damage</caption>
    : : </image>
    begin
    ctx_ddl.create_section_group('mygrp','basic_section_group');
    ctx_ddl.add_field_section('mygrp','keyword','keyword');
    ctx_ddl.add_field_section('mygrp','caption','caption');
    end;
    create index myidx on mytab(mytxtcolumn)
    indextype is ctxsys.context
    parameters ('section group mygrp');
    select * from mytab
    where contains(mytxtcolumn, 'aorta within keyword')>0;
    options:
    * use XML section group instead of basic section group
    if your tags have attributes or you need case-sensitive
    tag detection
    * use zone sections instead of field sections if your
    sections overlap, or if you need to distinguish
    between instances. For instance, keywords. If keywords
    is a field section, then
    (aorta and echocardiogram) within keywords
    finds the document. if it is a zone section, then it
    doesn't, because they are not in the SAME instance of
    keywords.
    null

Maybe you are looking for

  • Why won't Photoshop Elements 11 and Premier Elements 11 load ?

    I just purchased Photoshop Elements 11 and Premier Elements 11.  I have Windows 7pro, have the disc for Windows and have the serial numbers for both programs.  When I put the disc in, I can't get past the welcome screen.  Why?

  • Otterbox defender case sometimes prevents touch screen operation

    My Droid charge screen goes black during or at the end of a phone call and no amount of touching the screen or pushing the buttons on the phone anywhere makes any difference.  I have to take the rubber covering off and open the Otterbox case to get t

  • Side - effect of new org level

    Hi, we have parent - derived role concept. few roles were added to the system ( 4.6 - > 700) "upload" now in 4.6 system one field was maintained as 'org level', which is not in our system (WAS 700) uploaded have value $FIELD , however this field is m

  • This Project Has Expired - help!

    Ok - this maybe a total pain in the butt question... but here goes. A colleague created a movie using Captivate 2 demo version - we had to do this cos Adobe spend SO long getting us the full version and the project had a due date. We now have the ful

  • Standard Manager not starting.

    Hi Gurus, On EBS 11i (11.5.10.2) with DB 10.2.0.4 node having CM service and all other apps services running on seperate node. The Internal Manager is running fine with Actual and Target 1 , but the standard managers are showing actaul 0 , target 20