Does Oracle Support Searches with Sentence and Paragraph Proximity?

I have successfully used SENTENCE and PARAGRAPH special groups and the WITHIN operator to search for terms contained within the same sentence and/or paragraph. However, I also need to search for terms that are located within a variable number of sentences or paragraphs of each other. For example, I could search for the term 'dog' and the 'cat' located within 3 sentences of each other. Is this possible in Oracle Text? I have searched the documentation and I can only find the 'near' operator for searching based on word proximity. I cannot find any mention of sentence or paragraph proximity. This is a very important requirement for the system.

Good question. We are trying to duplicate the functionality of an existing system. It was written into the requirements for the new system. I've asked how important this functionality is to the actual users, but we don't have the answer to that question yet. Knowing that Oracle Text does not support this out of the box, we will certainly need to evaluate the importance of this feature and determine whether it warrants some custom development or switching to another search technology.
I've thought about using regular expressions to implement this feature, but I'm guessing that the performance wouldn't be that great and it wouldn't integrate well with other Oracle Text searches. Has anyone else used regular expressions combined with Oracle Text to implement more sophisticated searching capabilities?

Similar Messages

  • What is native Sql data types and does oracle support this?

    what is native Sql data types
    Does oracle support this?

    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14220/datatype.htm#g31099

  • Does oracle support TRANSACTION_READ_UNCOMMITTED level?

    I am using oc4j drivers with jdbc for oracle 9i
    I could not set the transaction isolation level to TRANSACTION_READ_UNCOMMITTED.
    Does oracle support this transaction level ?
    (SQL Server support it)
    Here is the stack trace of the error:
    java.sql.SQLException: READ_COMMITTED et SERIALIZABLE sont les seuls niveaux de transaction valides
    java.sql.SQLException: READ_COMMITTED et SERIALIZABLE sont les seuls niveaux de transaction valides
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
    at oracle.jdbc.driver.OracleConnection.setTransactionIsolation(OracleConnection.java:1681)
    Thanks for any help...

    Mahmoud,
    The error message, you have posted, seems very clear -- the only valid values are READ_COMMITTED and SERIALIZABLE. This is also documented in the "Oracle9i JDBC Developer’s Guide and Reference", chapter 19 [Coding Tips and Troubleshooting], in the section entitled "Transaction Isolation Levels and Access Modes". Here is an excerpt:
    the Oracle server supports only the TRANSACTION_READ_
    COMMITTED and TRANSACTION_SERIALIZABLE transaction isolation levels
    As someone who moved from Oracle to Informix, I can tell you from my experience, that different RDBMS's have the same functions, but each works differently. So while you probably needed to use the TRANSACTION_READ_UNCOMMITTED isolation level with "SQL Server", you don't need it for Oracle.
    What you need to do is forget how you do things with "SQL Server", and learn how to do things the Oracle way. As you have seen, trying to transfer "SQL Server" code to Oracle doesn't always work.
    The Oracle documentation is available from
    http://tahiti.oracle.com
    Good Luck,
    Avi.

  • Does Oracle support "imported" XML schemas

    Hi,
    Does Oracle support XML schemas that import other XML schemas. If so, are there any known problems ?
    Thanks
    John

    I have the same problem:
    A huge and complex .xsd-schema with several include and import statements can't be registered (all referenced documents exist in the repository):
    DBMS_XMLSCHEMA.REGISTERSCHEMA(
    schemaURL => 'http://www.toxinfo.org/namespaces/2004/05/Rosetta#ProtocolEmil',
    schemaDoc => xdbURIType('/ProtocolEmil.xsd').getClob(),
    local => TRUE,
    genTypes => TRUE,
    genBean => FALSE,
    genTables => TRUE
    causes an Error at the first import:
    ERROR at line 1:
    ORA-31000: Resource 'RosettaSimpleTypeCollection.xsd' is not an XDB schema
    document
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 17
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 26
    ORA-06512: at line 2
    Editing the schema is not an option for me. Any ideas?
    Thanks!
    Tillmann Cordes

  • Does oracle support array in SQL?

    The follow syntax for postgresql works with good performance, does Oracle support? Thanks
    select
         r.company_code,
         r.date,
         r.d5[1] as d5_udm,
         r.d5[2] as d5_ddm,
         r.d5[3] as d5_tr,
    from (
         select
              q.company_code,
              q.date,
              (select array[avg(abs(highest_rate-opening_rate)), avg(abs(opening_rate-lowest_rate)), avg(highest_rate-lowest_rate)] from (select lowest_rate, highest_rate, opening_rate from hkex.quotation q1 where not q1.is_trade_suspend and q1.company_code=q.company_code and q1.date<=q.date order by q1.date desc limit 5) t) as d5
         from hkex.quotation q
         where not q.is_trade_suspend
    ) r;

    Hi,
    I'm not a postgresql exponent but the following query might work, though I haven't tested it.
    select
    r.company_code,
    r.date,
    udm as d5_udm,
    ddm as d5_ddm,
    tr as d5_tr,
    from (
    select
    q.company_code,
    q.date,
    (select avg(abs(highest_rate-opening_rate)) udm,
              avg(abs(opening_rate-lowest_rate)) ddm,
              avg(highest_rate-lowest_rate) tr
    from (select lowest_rate, highest_rate, opening_rate
            from hkex.quotation q1
            where not q1.is_trade_suspend = '0' -- as below
            and q1.company_code=q.company_code
            and q1.date<=q.date
            order by q1.date desc limit 5) t) as d5   -- not sure what limit 5 does (possibly first 5 rows?)
    from hkex.quotation q
    where q.is_trade_suspend = '0'  -- Oracle does not support boolean data type for columns so change col to varchar2(1) with '0' and '1' for false and true
    ) r;Andre
    Edited by: acadet on Mar 4, 2010 3:43 PM

  • Canon 860 Series (Pixma) Printer Problems with OSX 10.8 (Mountain Lion) – links to Canon Support Site with Drivers and Software with install tips

    After spending several hours sorting out Canon Pixma OSX problems here are my thoughts:
    Canon 860 Series (Pixma 868) Printer Problems with OSX 10.8 (Mountain Lion) – links to Canon Support Site with Drivers and Software with install tips
    Problem:
    - New imac and MacBook Pro 2012 (OSX 10.8.2) had a problem using Canon Pixma 868 printer on network and would not scan or print using Canon Pixma software (Pixma MP Navigator 2.1 & Photo Print), which has advanced scanning and photo printing functions. 
    - When I connected the canon printer to my imac, OSX 10.8.2 automatically downloaded and installed drivers for Canon 860 series printer. I could then add the new printer (select ‘apple menu’ / ‘system preferences’ / ‘print and scan’ / “+”) and printer would work while connected via USB but could not get to print or scan over network wifi. 
    - The original Canon 860 Series CD does not work with 10.8 and the manual / online instructions did not make sense (as based on CD install). 
    Solution:
    1) Install Canon Printer Drivers and Software (from official Canon site)
    Go to canon support site, review FAQ, then download and install following Pixma 860 Series software & drivers for OSX 10.8 (links see below). The version I downloaded is in brackets but check for updated version. Full instructions are below.
    Canon 860 Series Drivers & Software  for OSX 10.8 Mountain Lion:
    The base software and drivers needed for using Canon 860 Series on Mac OS X 10.8 (USB) are
    1 Printer Driver
    (Canon MX860 series CUPS Printer Driver Ver. 10.67.1.0 (03-Aug-2012))
    2 Scanner Driver
    (Canon MX860 series Scanner Driver Ver. 14.11.4a (03-Aug-2012))
    3 Network Tool
    (Canon IJ Network Tool Ver. 4.1.0 for Intel Mac (27-Dec-2012)
    Canon Software for using advanced printing and scanning functions (while connected to network)
    4 Solution Menu
    (Canon Solution Menu Ver. 1.4.1 (27-Jul-2012 ))
    5 MP Navigator EX
    (Canon MP Nav EX Ver. 2.1.3 (02-Auf-2012))
    6 Easy-PhotoPrint EX
    (Canon Easy-PhotoPrint EX Ver. 4.1.6 (21-Jan-2013 ))
    Canon Support (HK) – check your local site
    http://www.canon.com.hk/en/download/main/index.do
    Select Product and drivers from support site eg http://support-hk.canon-asia.com/
    1. Choose a product category
    Multifunctional Printers
    2. Choose a product series
      Pixma
    3. Choose a product model
      Pixma MX868
    4. Choose type of document
    Downloads or FAQ
    If you have problems installing the software under 10.8, see the FAQ on Canon site. You will need to allow software installs from “unidentified developers by using “Control” Key or by changing your system preferences)
    2) Check Canon Printer and Software Working while connected via USB
    Once you have downloaded and installed drivers and software and restarted computer, check that the printer and Canon Pixma software (Pixma MP Navigator 2.1 & Photo Print) are working via USB.  Open the Canon IJ Network Tool App (Applications / Canon Utilities /IJ Network Tool / Canon IJ Network Tool App) and make sure you can see the Canon MX 860 series (xx.xx.xx.xx.xx.xx) and that it shows the correct SSID Wifi settings (under the Canon IJ Network Tool App ‘Setup menu’).  This is normally done as part of the automatic install but worth double checking
    3) Add new network printer using ‘apple menu’ / ‘system preferences’ / ‘print and scan’ / “+”).
    After you have checked USB printing turn off printer, unplug the USB cable and shutdown the Canon IJ Network Tool App.
    Then turn the printer back on and wait 30s. Then add a new printer using ‘apple menu’ / ‘system preferences’ / ‘print and scan’ / “+”). Once you select “+” (add new printer), wait 10-30s for the Wifi Networked Canon MX 860 Series printer to appear in the new window eg Canon MX 860 series (xx.xx.xx.xx.xx.xx) (Kind: “Canon IJ Network”)
    DO NOT ADD THE MX 860 SERIES BONJOUR SCANNER (the Bonjour Scanner is the built-in software, is not needed and often appears first on the add printer list).  The Canon scanner can be accessed used through the MP Nav EX Ver. 2.1.3 software (which has much better functions)
    You will now have two Printer Canon MX860 (USB) and Canon MX860 (Wifi / Network). Set the Canon MX860 (Wifi / Network) as default and test print and scan
    If the Wifi Networked Canon MX 860 Series printer does not appear, check the printer and make sure that the printer can see the wifi network. On the printer select Menu / Settings / Device Settings / Lan Settings / WLAN Setting List.  It should say WLAN Active, identify the SSID and have an IP address
    If the printer can not see the Wifi Network, plug the USB cable back in, then open the Canon IJ Network Tool App (Applications / Canon Utilities /IJ Network Tool / Canon IJ Network Tool App). Make sure you can see the Canon MX 860 series (xx.xx.xx.xx.xx.xx) and that it has your SSID settings (under setup), if it has this info, restart the computer and the printer and try again

    Hi, thaks for response, meant to post as a discussion (not question), wanted to save others time if they get the same problem

  • How does Oracle client communicate with a database server

    Looking to idenify how Oracle Database Client for OpenVMS communicates with database server and whether the protocol used is secure. Realize that it is using whatever the configured network protocol is (ie. tcpip) but is languauge it uses ( ie. SQL, etc..)  secured/encrypted and if not what steps can be taken to encypt

    Arizuddin wrote:
    I have installed oracle client 10g on client pc for getting connection to Oracle databse 10g (runng on windows server) usng ODBC through SAGE ACC PAC (ERP). Working fine earlier. Now all of a suddent user starts complaining about database connection. When checked his pc registry values. Two values of ODBC keys are reset to null. Those are DSN and DRIVER values. How come this values reset to null? What is causing this to reset?Nothing in this has anything to do with the sever. You need to check what the client did on his machine that caused registry to get modified?
    How does oracle ODBC works with Oracle database? Need to know all the steps involved?The connectoin from any client is initiated by a client process. This client process is supposed to get a server process to do his work. So if this is done, the client can work now with oracle . Please see the concepts guide for the gory details of the entire process.
    HTH
    Aman....

  • I wanted to know how does technical support work via icloud and is there any new technology out that helps providing technical support

    i wanted to know how does technical support work via icloud and is there any new technology out that helps providing technical support?

    basically I’m doing a project were I wanted to find out if there are recent technology  out that provides technical support for example they do it with remote access but is they any new ways that  they can support us and just wanted to find out if icloud gives technical support then how?

  • Does Oracle support this........

    Hi
    I want to select values in a object types in a table over the database link. like
    select name from [email protected]
    where name is of type varray(3) of varchar2(100) in the country table and db.com is database link.
    It is giving me error ORA-22804.
    Does Oracle supports this or not?
    Regds
    ~Sachin

    Your answer is in the message text - Oracle does not support object operations over a database link.
    null

  • How does Oracle Database compare with IBM DB2?

    Hi
    thank you for reading my post
    How Does ORACLE Database compare with IBM DB2 ?
    Which one has better performance with similar workload?
    Which one perform better on System Z hardware and z/OS?
    Is there any document that compare these two product?
    Thanks.

    Hi
    The below link may useful to you.
    http://www.oracle.com/technology/deploy/availability/pdf/CWP_HA_Oracle10gR2_DB28.2.pdf
    With best regards
    Shan

  • Does Oracle OLAP comes with Oracle Database 10g ?

    1.Does Oracle OLAP comes with Oracle Database 10g or do we need seperate software to have this ?.
    2.If I create a Cube with Analytic work space manager the cube is going to be stored in the Database ( meaning the in the table space where OLAP is Stored).
    3. What is the difference between Analtyic work space manager and discoverer For Olap.
    Help is higly appreciated ..
    Thanks, Prasad

    One thing to point out : The OLAP option is a costed database option, so while this is automatically installed and part of your database you do have to purchase additional licenses to use this feature. You will need to check with your Oracle account manager to see if you are actually licensed to use this feature.
    If you have existing 9i OLAP cubes these can be quickly and easily migrated to 10g OLAP and the documentation explains how to do this. However, there are many new features that are part of 10g OLAP that will improve the performance of your data model that will not be enabled as part of a migration process. Based on my experiences it would be quicker and easier (depending on the size of your existing 9i OLAP cubes) to consider rebuilding your data model using these new 10g features. You should be able to export all the dimensions to XML templates from 9i OLAP and import the templates into the 10g schema and reload your dimensions.
    For the cubes you will probably want to consider using partitioning, composites and compression to provide maximum flexibility and performance for your new data model. There is more information on these features within the OLAP documentation and in the many whitepapers and presentations on the OLAP home page on OTN.
    For moving data from SQL Server to 10g OLAP much depends on the nature of the data transfer. If it is a one-off bulk data load then you could consider using the normal MS command line tools to dump the data out and transfer it to Oracle. Alternatively, you could consider using Oracle Data Integrator to manage the extraction of the SQL Server data and the data load process into Oracle 10g relational tables. If you decide to use Data Integrator this will require additional licenses.
    If you can extract the data from SQL Server to flat files you can use Oracle Warehouse Builder (basic ETL is free as part of the 10g database license) to load that flat file data via external tables. Warehouse Builder can also be used to define your OLAP data model (think of Warehouse Builder as a more powerful version of Analytic Workspace Manager) and provides tools to load the data directly into your OLAP dimensions and cubes. You can get more information on managing OLAP data models with Warehouse Builder the Warehouse Builder home page on OTN.
    There are no facilities to modify Discoverer Viewer to add customisations. You can add company logos, modify certain colors and/or hide certain features but it is not possible to add additional features. You may want to consider using BI Beans to provide this type of environment. BI Beans is the development framework used to create Discoverer Viewer. You can create customised JSP pages that look identical to Discoverer Viewer pages with the added benefit of providing your own specific features. You can get more information on the BI Beans home page on OTN.
    Keith Laker
    Oracle EMEA Consulting
    BI Blog: http://oraclebi.blogspot.com/
    DM Blog: http://oracledmt.blogspot.com/
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Samples: http://www.oracle.com/technology/products/bi/samples/

  • Hi All, can i have some production support issues with rootcasue and resolution for SAP TM?

    Hi All, can i have some production support issues with rootcasue and resolution for SAP TM?
    Thanks,
    Sreenivas

    Hi Sreenivas,
    I would recommend that you read the Rules of Engagement and other documents in the Getting Started link (top right) before posting anymore.  Your Discussion will most likely get reported as non-specific and get removed.  If you have a specific problem with TM, please post it in a new thread with error messages, version and SPs installed, and how the error occurs and what you are trying to get TM to do.
    There are a lot of resources available in the TM Overview page which can help, so start there and maybe also look at some of the MKS (Monday Knowledge Session) recordings which should also be listed.  There are also a lot of experienced people who can help resolve issues your TM installation, but you need to provide enough information on the problems you are having.  If you are just looking for information on past problems, do a Search or simply browse through past Discussions which are marked with a green Check (Correct Answer).
    Regards, Mike
    SAP Customer Experience Group - CEG (and a Moderator)

  • Does HSSF support Excel with Picture?

    The following code works fine if the Excel File "test.xls" does not contain picture.
    It also runs without error after I have added a picture to the Excel sheet, but when I open the excel file "test.xls", I got an error message "Unable to read file".
    Does HSSF support Excel with Picture?
    POIFSFileSystem fs = new POIFSFileSystem(new FileInputStream("test.xls"));
    HSSFWorkbook wb = new HSSFWorkbook(fs);
    HSSFSheet sheet = wb.getSheetAt(0);
    int r = 10;
    short c = 10;
    HSSFRow row = sheet.getRow(r);
    if (row != null)
    if (row.getCell(c) != null)
    row.getCell(c).setCellValue("testing");
    else
    row.createCell(c).setCellValue("testing");
    FileOutputStream fileOut = new FileOutputStream("test.xls");
    wb.write(fileOut);
    fileOut.close();

    If it must be dynamically embeded, you're SOL AFAIK. You can embed images in a template, then open that template and add data. POI will allow images and pivot tables to be in the original document and it will save them undamaged, however you cannot create images or pivot tables from within POI (HSSF).

  • Does it supports writing with stylus .

    I have a windows tab on which I have installed thunderbird, but it does not support writing with stylus. Pl advise. The MS outlook supports stylus.

    yea same question here, I mean they are supposed to be supporting adobe line and sketch by the end of this year ish I think. But adobe draw is just a much better app imo.
    If there will not be support soon I will have to buy the adonit Jot Touch instead of the Creative Stylus 2

  • Does Oracle Portal come with preceeded OC4J (with PDK)

    Hi,
    I had installed the preceeded OC4J extension (with PDK in it) from http://download.oracle.com/otndocs/tech/ias/portal/files/pdk101202_oc4j_extended.zip.
    What I dont understand are the following:
    1) Does Oracle Portal come with this download?
    2) If so how do I verify whether it is installed or not... I tried accessing http://localhost:7778/pls/portal and http://localhost:8888/pls/portal but in vain, am I missing some configurations?
    3) How do I view the Oracle Portal if it has been installed?
    Regards,
    Nithya

    "Download the pre-seeded OC4J. This download contains the portlet standards, JPDK, OmniPortlet, and Web Clipping already deployed and ready to use within OC4J 10.1.2.0.2. Simply download, extract, and start OC4J."
    You only downloaded the deployed portlets.
    If you want Portal up and running, you still need the have some midtier installed

Maybe you are looking for

  • Terms of Payments

    Hi Folks I am trying to create Terms of payment through SPRO>Financial Accounting>Accounts receivable & Payable>Business transactions>Outgoing invoices /credit memos/maintain payment terms. However whenever I am saving the changes the system does not

  • Derivation rule in COPA

    Hi kindly explain me the derivation rules possible ways of derivation in COPA based on costing based.

  • Discrepancy between old/new mac using migration assistant

    Replaced G4 Powerbook with new Macbook Pro. G4 was saying disk was full (80 Gb), Migration assistant showed it was copying only 41 Gb of contents. What did the other 39 Gb consist of? A mystery to me! Can this all be system files?

  • Eprint won't work

    Hope this is the proper forum. C310.  Prints, scans, copies.  ePrint doesn't work.  But before I start, I had a C310 and ePrint worked perfectly. Had a power outage and teh printer never worked again (not even a light on the power button).  HP replac

  • Will MacBookPro6,2 MiniDisplay port transmit video and sound?

    I want to use my MacBook Pro 6,2 model with a TV. It has no HDMI port, only a Mini Display port. Will an HDMI/Mini Dispaly adapter cable transmit both video and audio or will I have to use a separate cable for the audio connnection?  Thanks.