Near: with more than two terms

Hello

I can't understand how CLOSE works in Oracle Text when you have more than two terms. I RTFM and did some testing, but it is still is not clear to me. I am running Oracle 10.2.0.4

Example: NEAR ((BRAVO,GULF,REFUSED), 4, TRUE)

Here is my channel: "(BRAVO/CHARLIE/ECHO/GOLFE/FOXTROT) refuses to ANSWER" "

From what I've read in the documentation, "a bouquet is the smallest group of words in which all the query terms occur." For me, this means that BRAVO, GULF and REFUSAL must all be in the 4 words of eachother. That means, GULF and REFUSED must both be in the 4 words of BRAVO
However, when I run NEAR ((BRAVO,GULF,REFUSED), 3, TRUE) against my string, it returns the document - yet there are 4 words between BRAVO and REFUSED. Huh? Can someone please explain?

Thank you
Mimi

Published by: Mimi Miami on March 21, 2012 14:48

The doc is not really clear. The search terms themselves are not part of the size of the clump. You can, if you wish, it seems the number of words without correspondence between the corresponding terms.

See the example:

drop table foo;
create table foo (bar varchar2(2000));
insert into foo values ('a b c d e f g h i');

create index fooindex on foo(bar) indextype is ctxsys.context
parameters('stoplist ctxsys.empty_stoplist');
-- otherwise a and i are stopwords

select * from foo where contains (bar, 'near((a, c), 1)') > 0;
select * from foo where contains (bar, 'near((a, c, e), 2)') > 0;
select * from foo where contains (bar, 'near((a, c, e, g), 3)') > 0;
select * from foo where contains (bar, 'near((a, c, e, h), 4)') > 0;

This research all use the minimum size of bouquet to take his foot on the document.

Edit: actually, it's still a little simplistic. If we change the 'document' to ' a, b c, c, d e f g h I ' (repeated note 'c') then most of the queries above won't work - need to add 1 to the size of each clump. "

Published by: Roger Ford on March 21, 2012 15:21

Tags: Database

Similar Questions

  • How to create drop down menus in Muse with more than two tabs

    The widget menu pullsown does only two tabs. How do you do this more than two tabs?

    By default, the tabs in the menu widget are generated in Muse based on the site map, that you define in outline view. This is configurable based on the Menu type setting you choose in the options Menu If you wish, only, upper level pages subpages too or manual. So in order to add a third menu tab, you simply add a third upper level page.

    I would like to know if it's not what you're looking for and what exactly you're trying to reach.

    Thank you

    Vinayak

  • Sharing a ROW with more than two VM for sharing of files only.

    Hi all

    I have a 10 GB LUNS (RDM) I formatted in VM - A as NTFS, I want to share this RDM with VM - B (same windows)

    but I'm not sure how to do it. This is a supported scenario?

    It's just for file sharing in the case of a virtual computer is DISABLED.

    Thank you

    Kind regards

    AWT

    This isn't a vmware limitiation... its a limitation of the Windows operating system, it will put locks on disks and corrupt...

    You will need the Services of Cluster Micrsooft...

  • Creation of Master DataBlcok with more than two Tables of diff

    Hi all

    I am new to oracle forms, I use the form 6i... I am designing a form to display the details of the employees and their related projects to do what I want to create master datablock. I have 3 tables

    Tables

    Employee (EMp details)
    -------------
    Number (primary key)
    EMPLOYEE_FIRST_NAME

    Project (Project Details)
    -------------
    Project (primary key)
    PROJECT NAME

    Employee_project (project Emp Relations)
    --------------------------
    EMP_ID (foriegnkey)
    Project (foriegnkey)

    Ex:

    EMP_id project
    101 301
    101 302
    102 303


    I want to create master Datablock using the tables for this scenario

    I want to search the details of the project according to the Employee_id (using the query time enter & run application when running in the form)

    If Employee_id 101 it shows the related Emp_id, EMPLOYEE_FIRST_NAME, project, project name



    I found the SQL query, but I don't know how to create a relationship of forms using Master data block

    SQL query is

    Select pe.emp_id, e.employee_first_name, p.* in project p, EP employee_project, employee
    where e.employee_id = 101
    and p.project_id = pe.project_id
    and pe.emp_id = e.employee_id
    /

    Help me

    Hello

    How to create a distinct LOOK UP Table & Look up form of table for the project table

    Sorry for unclarification what I mean is a separate form as I traced it with muti-records based on the project table

    Is it necessary to write the query in the trigger after request of the form like this?

    Yes, absolutely, it of a necessity because nothing could be found in your display settings, but with the code you have to write in the trigger after query

    am in the right way?

    Regarding your query, you must create as I said such a display with named project name element is the database must on > not then you need to write the following code in the post in the form:

    BEGIN
    
    SELECT project_name
    INTO :Project_name   -- The display item u have just created with db = no
    FROM  project
    WHERE project_id=:project_id; -- on ur db block form
    
    EXCEPTION
    
    WHEN NO_DATA_FOUND THEN NULL;
    
    WHEN OTHERS THEN MESSAGE(ERRMSG);
    
    END;
    

    your code can also work, but I think it's the most simple and direct way.

    Have a good luck :)

    I hope it's clear now...

    Kind regards

    Abdetu...

  • Lenovo u300s came with the crack in the case. Queued for more than two hours. Help, please!

    I received my phone Friday and noticed shortly after opening the package that there is a crack in the bottom right of the laptop cover. The bottom of the laptop is now separating it from the case.

    I spent more than two hours on hold trying to request a RMA. This is unacceptable.

    I want a full refund, that this failure to Lenovo may have been spotted before it was delivered to me.

    My customer information are below. Please contact me to correct this situation.

    Order number: 4288307601

    number of cases: 8000174706

    Note of the moderator; personal information under the protection of its own branch

    Hey elhortez,

    Working to get support for you to get the process of refund for you. I'll follow to the top as soon as I can with confirmation.

    Thank you

    Ty

  • When I click on the download button opens a page with three small boxes, and I think that this means a wait, but they lasted more than two hours, unfortunately and I tried many things and each time gets the same, I work now want photoshop required a

    When I click on on the download button opens a page with three small boxes, and I think that it means a wait, but they lasted more than two hours, unfortunately and I tried much and each time gets the same thingit's working now, I want photoshop necessary and reminders even when I tried to buy the same thing happened to me Please I want to a quick solution

    Make sure that you have enabled cookies and clear your cache.  If he continues to not try to use a different browser.

  • When you subscribe to creative Cloud(Photoshop and Lightroom), that come with more than one license, and is it possible to install it on Windows and Apple (if it comes with two licenses)? Thank you.

    When you subscribe to creative Cloud(Photoshop and Lightroom), it does it with more than one license, and if so, is it possible to install on Windows and Apple OX? Thank you.

    A Cloud subscription provides for the installation of facilities to work on both machines.  You can have (Windows and Apple OX) operating systems.

  • My 6s does not load.  The Apple store near is more than 2 hours away.  Apple other uses to repair?  Maybe ATT?

    My 6s does not load.  I'm sure it's a hardware problem with the phone for 6 s wife works very well using the same strings of Lightning.  The Apple store near is more than 2 hours away.  Apple uses ATT or Bestbuy as a service center?

    No, they have not. You have the possibility to contact the Apple Support and arrange for a letter if you do not want to travel to the Apple Store.

  • Cannot print more than two pages

    Hello here

    I have a rather strange problem today: one of my users cannot print more than two pages...

    Regardless of the printer, the application or document, this specific user will receive the first two pages printed on the right, then a windows error (cannot print, the likely reason is a failure of the network, not enough memory, etc.)

    Current config is

    -User logged on the Witch of Windows 2008R2 Server Citrix XenApp 6.5 (published desktop).

    -Print server Windows 2008R2 with something like 150 shared printers

    I tried with other printers and file formats, on separate servers, it's always the same.

    Of course, everything works perfectly fine for other users...

    I'm not sure if any parameter can block printing up to two pages only, or anything else. Before you delete and recreate the user profile, as everyone has an idea?

    Grey'

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • Photoshop Mix supports more than two layers

    Often when I composite that I find myself with three or more layers, as I often separate a base background and foreground elements image and add another cut in the ground, middle between. Are there plans to Mix support more than two layers, as I am currently limited to two making it useless for anything whether it is more cutting.

    Here are some features, I think that this application should be useful;

    • Add more changes to the version of the Tablet options to the phone version, they are useful and you give no reason do not include them.
    • As I asked here can we have more than two layers in favor.
    • Any chance of support for layer masks.
    • Can we have support for color curve adjustments.
    • Can I have more means to add and remove the smart tools from a selection of cutting is great, but sometimes I have a little precise painting inside and out around the edges.
    • Can we have the advantage of refine also included.

    OK so this all sounds rather negative but there are something does a very good Mix, that's why I'm so frustrated by his lack of other functions;

    • The intelligent cutting tool is the fastest way to get a reasonable cut I've never seen and is great, but as I say, I would like to be able to narrow down the selection by other means.
    • Moving and positioning of one single layer on the other is quick and simple and intuitive unlike photoshop Touch where the rotation of the image at the top has been slow and clumsy.

    This app could be great but at the moment it feels fully functional for work that it is apparently designed to do. Adobe do have plans to add features I ask here? Or other features, and in what time frame?

    Hello

    Your suggestions are really valuable for us and most of them are already on our roadmap.

    To answer your questions:

    1 Mix supports up to 5 layers since version 2.0 on iOS devices.

    2 flip layer is also supported for 2.0.

  • Can I enable CC on more than two computers at the same time?

    See what adobe is always allow two computers active simultaneously?

    This is a subscription service and, while we're technically downloading the software, we don't really "own" it as it can be 'locked' if we go over our activations.  From what I've seen in many forums both in and out of Adobe, three computers seems to be the standard of what I see if I beg the question...

    What is the problem with allowing only TWO computers active being allowed to run the software at any time?


    And then I imagine that, logically, there is a problem if I wanted to use CC on a mobile device, but also my computers?

    With a music subscription service, once the music unsubscribe disappears and everything is fine - and I can access from multiple devices.  So why is Adobe being so restrictive with PS and LR (and CC in General)?  It seems rather strange that if I want to access PS/LR on a single machine, LR on the other and the first on a third, then I cannot, although there is never more than two instances of any single software used is THREE subscriptions - but it is yet another issue.

    If it can't get it fixed, maybe I should just watch Pixelmator and without having to worry about this.

    Please... give an overview.

    the only possible limitations are:

    1. you can use more than one activation of cc at any moment.  That is to say, you can use one computer at a time.  (not much of a limitation, IMO.)

    2. you must disconnect (your other connected computers) before the signature of the component snap on a 3rd, 4th etc. computer.  Once again, no downside unless you didn't have internet access to important moments and for long periods of time for the computer or computers that you need to connect.

  • Presentation of master-detail Spry insert cannot get more than two columns?

    Ive been trying to get more than two columns only experiment with spry data sets and can not with the option to «insert master/detail layout» layout

    What I am doing wrong?

    ??????

    <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""
    "< html xmlns ="http://www.w3.org/1999/xhtml"" xmlns: spry = "http://ns.adobe.com/spry" > ""
    < head >
    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"
    < title > Untitled Document < /title >

    < script src = "SpryAssets/SpryData.js" type = "text/javascript" > < / script > "
    < script src = "SpryAssets/SpryHTMLDataSet.js" type = "text/javascript" > < / script > "
    < link href = "SpryAssets/SpryMasterDetail.css" rel = "stylesheet" type = "text/css" / > "
    < script type = "text/javascript" >
    DS1 var = new Spry.Data.HTMLDataSet ("benefitsdata.html", "bizben", {firstRowAsHeaders: false});
    < /script >
    < / head >

    < body >
    < div align = "center" >
    < div class = "MasterDetail" >
    < div spry: region = "ds1" class = "MasterContainer" >
    < div class = "MasterColumn" spry: repeat = "ds1" spry: setrow = "ds1" spry: hover = "MasterColumnHover" spry: select = "MasterColumnSelected" > {column0} < / div >
    < / div >
    < div spry: detailregion = "ds1" class = "DetailContainer" >
    < div class = "DetailColumn" > {column1} < / div >
    < div class = "DetailColumn" > {Column2} < / div >
    < div class = "DetailColumn" > {Column3} < / div >
    < / div >
    < br style = "" clear: both "/ >"
    < / div >
    < / div >
    < / body >
    < / html >

    ____________

    Spry framework all related examples are available here: http://adobe.github.com/Spry/samples/ you can take a look.

    On a sidenote, Spry has been deprecated and is no longer officially supported by Adobe: http://blogs.adobe.com/dreamweaver/2012/08/update-on-adobe-spry-framework-availability.htm l

    I would recommend that you switch to a jQuery library to your other needs.

  • VM with more than 4 cards (how about 14 NIC?)

    I'm interested to know if someone has built a virtual machine in ESX 3.5 with more than 4 vNIC.

    I have a specific application to which we want to build two VM.    A virtual machine would have ideally 7 vNIC and the other 14 (fourteen Yes) vNIC.    Has anyone edit the VMX file successfully to create such a configuration?

    (Note: I am aware that several IP may be related to a single network adapter.)  This type of configuration is not enough)

    The total number of virtual PCI devices that can have a virtual machine is 6. Assuming you need to at least a virtual scsi controller and a single virtual video card (no more no less), the number of virtual network adapters, you can currently have is 4.

    Sanjana-

  • Need help: column dimension a assoc with more than 1 level

    Hello

    I try to have several paths of forest for a single dimension. For example, the Date dimension should be navigable by the following hierarchies:

    DateDimension
    + - Calendar year
    ... - Calendar quarter
    ... - Calendar month
    ..................-- Day
    + - Calendar year
    ... - Day

    So, in other words, in the answers, I should be able to add 'Calendar year' to my report, view the results and then click down the calendar year-> Calendar Quarter trail-> month-> day OR calendar-> day.

    However, when I have this model in the administration tool, it allows him, but then I add the column in the answers and get a runtime error:
    + [nQSError: 14064] dimension [column name] column has associations with more than one level.

    This is possible to BO and other tools. If it is not possible in Oracle BI EE, then another alternative would be to have two separate versions of the "calendar year" added to the report in the responses, each with their own drill path.

    Any ideas?

    Thanks for any help you can provide.


    Matt Warden
    Balanced Insight, Inc.

    Hello

    I don't if it good or bad, but simply give a shot home

    In RPD create year--> quarter---> month--> day then right click on the year and select shared as child level and select level day in. Double click on the level of the year and in the path of favorite drilling choose quarter and the day in it.
    Results:
    In the report when I click on the year he takes me to the day and then again by clicking on the year I give quarter, month.

    Hope this helps and let me know if it does not work.

    Thank you.

  • The AirPod are compatible only with iphone 7? Or we can use it with more than 6 s... or any android device?

    The AirPod are compatible only with iphone 7? Or we can use it with more than 6 s... or any android device?

    Here are the tech specs: http://www.apple.com/shop/product/MMEF2AM/A/airpods

    They are bluetooth devices, so they work with the iPhone 5 or more.

    See you soon,.

    GB

Maybe you are looking for

  • Designjet 130nr: lines blue horizontal 130nr

    When I try to print a detailed plan of a PDF file, I get the blue horizontal lines or Cyan.

  • Satellite A300D PSAKCE - cannot find drivers for Win7

    Hello! Having Satellite A300D - 157 PSAKCE 00D00LG3 and Windows 7, but I can't find the drivers for.In the support page I can only find drivers for WLAN and Bluetooth... No driver video and display, no keys, no HDMI, no noise, no gonfigfree... just n

  • Impossible to make calls to the Norway with world mintues to Office 365

    Hi all I have a subscription to Office 365 home which inclludes 60 minutes of world each month. The subscription is activated using my account and appears in Skype and Outlook profiles. But when I try to make a call it says I have no credits and need

  • Cannot install Windows 8.1 x 64 whit external optical drive.

    Hello good apple distinguished community, I had problems when you try to install Windows 8.1 x 64 on my iMac using boot camp and drive optical drive. I have a 8.1 Windows x 64 iso and burn it to a blank DVD, iMac recognizes and bootcamp. Does boot ca

  • Help! Computer freezes, cannot transfer files.

    Hello, I just bought a 4 GB fuse.  I plug it into my computer and it happens that he is recolgnized, I can click to open the folder, but if I click to open the internal memory to add songs, the record freezes.  If I say that it open on rhapsody and t