Google like search

Hi,
i'm trying to do a google like search in a J2EE application using Oracle 8.1.7 with Intermedia Text. Thus, I want to query
database and return a set with first the 'AND results' and then the 'OR
result'.
The result set must be distinct.
I came up with a query using the SCORE mechanism of Intermedia Text to do
the AND- and OR-sorting.
The query works, however he looks inefficient to me, and the execute time is
54secs. This is not acceptable.
Can anybody provide me with some tips on how to build a 'google-like' search
in oracle with Text. Or how to optimize my query, or oracle for executing my query.
query:
select DISTINCT
/*+ FIRST_ROWS */
p.uuid, a.stringvalue, g.score1, g.score2
from
product p, attributevalue a, (select ownerid, SCORE(10) AS score1,
SCORE(20) AS score2
from attributevalue
where contains(stringValue,'(sociaal AND recht)', 10)>0 OR
contains(stringValue,'(sociaal OR recht)', 20)>0)
g
where
p.uuid IN
select ownerID
from attributevalue
where name IN ('name') and
contains(stringValue,'(sociaal OR recht)')>0 and
(localizedFlag=0 or localeID='nl_NL')
and
p.typeCode IN (2,4,10,16) and
p.onlineFlag=1 and
p.uuid=a.ownerID(+) and
a.name(+)='name' and
a.localeID(+)='nl_NL' and
p.uuid = g.ownerid
ORDER BY NVL(g.score1,0) desc, NVL(g.score2,0) desc
Thanks in advance.
Yvo Swillens
[email protected]

Please post your question in the Oracle Text forum where it will be given a quicker, more expert reply.

Similar Messages

  • Has anyone implemented Google Blog Search into BC (like Wordpress has)?

    Hi:
    I have a "potential" client interested in an automated way to show a list of other blogs and websites where they were mentioned.  I am imagining this to work like the Google Blog Search that Wordpress Admin Dashboard has, where it searches for who has linked to your site and shows you a list.  Can this be done in BC?  Has anyone implemented something like this?
    Thanks in advance.

    If you are referring to 'Trackbacks' then yes it can.

  • Is there a google voice search for imac like for iphone?

    is there a google voice search for imac like there is for iphone?

    Yea, I think this is a difficult situation.  I am trying to really understand the advanced actions she (the person whose project I took over) created, but I cannot find the elements that are mentioned within them.  For example, one part of her advanced action is Show Text_Caption_1762, and this text caption is definitely not on the same slide.  It might not even be in the project anymore. Who knows.  But it would be nice is there was a search box, and I could type in "text_caption_1762", and it could tell me on what slide this was located, if it is still in the project somewhere.

  • Regarding Google Advanced Search, Firefox no longer saves my settings, such as 'number of results,' which I like to set to 100. The Google default is 10 and Firefox no longer saves my setting of 100.

    In Google Advanced Search, when I click on Search Settings, I go to the drop down box labelled 'Number of Results' and select 100, then click Save Preferences. Until recently Firefox saved my changed settings, but it no longer does so.

    This is caused by the new Google instant search feature. If you disable instant search and use the old style search Google should remember the preferences. The option to turn off instant search is to the right of the search box.

  • Google advanced search page no longer looks like in did in versions of Firefox before 8.0 for the Mac

    With version 8.0, the Google advanced search page is different than it looks (and has always looked) with Safari.

    Here are three files.
    #1: If the text is larger, items in the right hand column appear below each corresponding text box, necessitating scrolling down the page. See next image.
    #2: Part of search page with larger font (the size I usually use). This is a screenshot of a pdf showing what I see (GOOGLE logo at top of page missing).
    Ugh!
    #3: How the advanced Google search page looked BEFORE the update to Firefox 8.0. This is how it still looks in Safari 5.1.1.

  • About 50% of the time Firefox is extremely slow loading any google scripts/search, all other scripts/search load quickly. Been happening for about a month now.

    A month or so ago FF starting taking forever to load any page using Google scripts, also Google search. Not always, about half the time, the other half the time FF works fine. Can go on and off like this three or four times a day. No discernible pattern. Pages without Google scripts and other search engines (Bing, Yahoo) always load fine with FF, only Google doesn't. Even while FF is slooowwwly loading Google scripts/searches, Chrome and IE load the same scripts and searches quickly with no problems. WTF?

    I had this problem, I checked my add-ons one by one as suggested and it was the Avast online security add-on slowing me down on Google. Disabled it and FF works ok.
    No idea why the avast add-on would do that? Still using the full version of avast but not the add-on.

  • How do I enable The Google Quick Search Box feature?

    The Google Quick Search Box on the toolbar no longer will search when entered. The search request registers but won't search. I have to go to Google.com in order to use the Google search engine. The quick search was handy and I'd like to have it back. Per Google I need to enable it by clicking on the "wrench", search and enable... but it's not there to enable. HELP!

    You can also access the Google Toolbar Options thru Tools > Addons > Extensions - Google Toolbar for Firefox & then right-click that extension and click on Options.
    See this for support information about the Google Toolbar. <br />
    [http://www.google.com/support/toolbar/?hl=en]
    Or visit the Google Toolbar forum. <br />
    [http://www.google.com/support/forum/p/Toolbar?hl=en]

  • I don't have access to Google Images Search since I installed the latest update for https everywhere (today)

    I have installed the https everywhere add-on a while ago.
    Since I've done this I've never been able to click on images each time I was doing a Google search from their first page of results ("search everything"), but I could still find images by going directly to Google Images search.
    Since I installed the latest update for https everywhere this morning, I simply cannot search a single image with Google, which is a problem as I'm a professional art historian.
    I get the message"Your search - rembrandt - could not be completed with the requested search options. Reset search tools".
    But resetting the search tools don't change anything. I'm working on a Mac, if it helps.

    I had the same problem although it was a previous update rather than this one that caused the problem. Just hadn't got round to doing something about it - was using Bing images instead.
    I searched for some answers this morning and seemed like most suggestions were a nuisance to try. Couldn't find 'Preferences button of HTTPS-Everywhere' as suggested above. Decided to check if No Script was blocking it. Sure enough. So problem is solved.
    Thought I'd put it out there in case it helps someone else. Appreciate that people are so helpful on here.

  • Replace Nuance Voice Commands with Google Voice Search

    I would like to replace the Nuance Voice Commands with Google Voice Search when i press the call button on my bluetooth stereo headset.
    I do not see a way to uninstall the Nuance Voice Commands...
    I do not see a way to configure the phoe so that it uses Google Voice Search instead of Nuance Voice Commands...
    Factory reset defaults the phone to Nuance Voice Commands...
    I would like to press the call button on my stereo headset and have more voice commands than the Nuance app provides. Has anybody found a way to change this behavior without special access?
    Sorry my phone is stock and no special access...

    Hi and welcome to the community! Since you're new please be sure that you have checked out our Discussion guidelines.
    I just tested it here and i get the same result as you but i'm swedish as well.
    Not sure if this has to do with how Google Maps behaves in different countries but a Google search is made when you say a voice command that's not recognized by any of the apps you have for the watch. There's a discussion about the "Navigate to" not working here and it seems Google is looking into it.
    What i've also noticed myself is that some apps actually give wrong information about which voice command you should use so sometimes you have to try another phrase than the exact one the app is telling you to use.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • What happened to the scrolling picture google image search in iOS 7 Safari?

    When I used google image search before I updated to iOS 7, I could just scroll through the pictures. Now it's more like a regular computer, and I have to click on a picture one at a time to enlarge, and then go back and view the others. Am I missing something? How do I get the easy scrolling image search back - or did Apple remove this feature for iOS 7?

    Google's working on the Safari iOS 7 incompatibility with Google Images:
    https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved=0CCw QFjAA&url=http%3A%2F%2Fproductforums.google.com%2Fd%2Ftopic%2Fwebsearch%2FYrXCM Z s5cH8&ei=qLVHUpGcJvXI4AOG0YCADg&usg=AFQjCNG_vnpEpMbKLhMYQoGWB-lHFC0fpA&sig2=NCF 3 TBoN4z4PTi2cgIV4yw

  • Google image search liked navigation script

    Hi!
    I'm looking for navigation script that would do something like in Google image search, that you can either use side scroll bar to scroll down the thumbnail page, or use mouse wheel for scroll up down.
    The part that open up extended menu with enlarged thumbnail after clicking on a thumbnail isn't really necessary at this point, but if script come with it that be really amazing.
    Is there script like that out there?
    Thanks in advanced.

    This is a script I found, it's a scroll bar script. What I'm thinking is somehow to use mouse wheel to move ScrollDragger and trigger scrollDraggerPress.
    I wonder if there is a listener that detect scrollDragger move to a new position and so it call scrollDraggerPress.
    Or if there better option for me, please let me know too. thank you
    // Scroll My Content function - AS3
    function scrollMyContent () {
        // Cache the TextField as a bitmap to improve performance.
        content_mc.cacheAsBitmap = true;
        // Event Listeners
        scrollDragger.addEventListener(MouseEvent.MOUSE_DOWN, scrollDraggerPress);
        stage.addEventListener(MouseEvent.MOUSE_UP, mouseUpOnStage);
        // Set variables
        var scrollbarHeight:Number = scrollbarBG.height;
        var contentHeight:Number = content_mc.height;
        var scrollDraggerHeight:Number = scrollDragger.height;
        var maskHeight:Number = contentMask.height;
        var scrollAmout:Number = (contentHeight-maskHeight)/(scrollbarHeight-scrollDraggerHeight);
        var topBound:Number = scrollbarBG.y;
        var bottomBound:Number = scrollbarBG.height-scrollDraggerHeight+scrollbarBG.y;   
        var startPos:Number = content_mc.y;
        var leftBound:Number = scrollbarBG.x;
        var absNumSet:Number = 0;
        // When scrollDragger gets pressed we do this
        function scrollDraggerPress(event:MouseEvent):void {
            // Set bounds using some of the scroller BG properties claimed above
            var bounds:Rectangle = new Rectangle(leftBound, topBound, 0, bottomBound);
            scrollDragger.startDrag(false, bounds);
            stage.addEventListener(MouseEvent.MOUSE_MOVE, reportStageMouse);
            function reportStageMouse(event:MouseEvent):void {
                absNumSet = Math.abs(scrollbarBG.y - scrollDragger.y);
                content_mc.y = Math.round(absNumSet * - 1 * scrollAmout + startPos);
        // When mouse is released while dragging we do this
        function mouseUpOnStage(event:MouseEvent):void {
            stopDrag();
    scrollMyContent();

  • What happened to google site search plugin on Mycroft

    I have searched Mycroft (and every other place I could find including opensearchplugins) but I can't find a plugin for Google site search anymore. I also have not found any announcements about it either.
    What gives?
    FYI: Using "site:{input url here}" on both the https and http google sites works fine. Pasting the current website's url in is an annoying extra step though. I have lost the plugin I once had.
    There used to be an addon to make your own plugins (thought it was Add To Search Bar) but none I find now allow me to edit my plugins.
    I don't want to use Google custom search because I don't like being logged into Google when I browse and search.
    Anyone know a place to download the plugin? Or can you post the code so I can save the xml file in my searchplugins folder?
    Also, I know this is not the mycroft site but I get a "forbidden" error when I try to go their forum.
    Thanks in advance.

    I don't recall that plugin. What did it do exactly? You probably could emulate it with a bookmarklet if it doesn't turn up anywhere. For example, this bookmarklet opens a new tab/window with a site search of the current page's hostname (it's all one line, please ignore the fact that the forum hyperlinks it):
    javascript:var%20u='https://www.google.com/search?q=site%3A'+window.location.hostname;%20window.open(u,'_blank');%20void%200;
    This variation displays an input box to request any keywords you might want to run against the site. Simply enter to get all results, or type 0 and Enter to cancel your search.
    javascript:var%20kw=""+prompt('Enter%20keywords%20or%200%20to%20cancel');if(kw!='0'){var%20u='https://www.google.com/search?q=site%3A'+window.location.hostname;if(kw.length>0)u+='+'+encodeURIComponent(kw);%20window.open(u,'_blank');}%20void%200;
    I think I might get some use out of this. :-)
    To save a bookmarklet to your Bookmarks Toolbar: copy the script to the clipboard, right-click the Bookmarks Toolbar and choose New Bookmark, paste the script as the location, create the name of your choice, and click Add.

  • Google Smart Search

    <p>Hello everyone,</p><p> </p><p> </p><p>i would like to know, if someone already did the intalation of<b>Google Smart Search</b>, case yes, please tell me where I canget the <b>Google&rsquo;s Administrator Guides</b>, i need of thismanual to finish the install the application.</p><p> </p><p> </p><p>Thanks in advance,</p><p><br>Guilherme Lima</p>

    You mean I've spent all my time looking what I did and Apple blasted away the google search toolbar?  I feel used and dirty.

  • Make google defauld search engine

    default search is Yahoo & I like google

    In about:config, check these settings:
    keyword.URL - should be http://www.google.com/search?num=100&q=
    browser.search.defaultenginename - should be Google

  • How can I remove google custom search bar from about:newtab page

    When I open Firefox or a new tab I have it set to about:newtab which is great and all. Just recently I noticed a Google search bar on the new tab page though, that it immediately sets my cursor to. I prefer typing in the normal address bar at top. If I don't think to take that extra tedious step to click on the address bar before typing it opens to Google Custom Search Engine. Which does not have the images, maps, etc tabs along top. Making a simple task of researching something or other purpose just that much more annoying to do, because I'll have to type into the address bar anyways.
    So I was hoping there is a way to remove this annoying Google Custom Search Bar from my about:newtab?
    Or at the least make my cursor start in the address bar, not the Google Custom Search Bar.
    This is a screen-cap of the Search Bar. http://gyazo.com/d75ccdea9b9d0bb4a3d347664be73771

    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://general-changelog-team.fr/downloads/viewdownload/20-outils-de-xplode/2-adwcleaner ADWCleaner]
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

Maybe you are looking for