API search will only return the first 200 results????

It seems that I can only retrieve 200 results when using doOracleSimpleSearch api call.
    osr = oses.doOracleSimpleSearch(strSearch, 1, 1000, false, false, true);
    nCount = osr.docsReturned;
    nCount2 = osr.resultElements.Length;
    nCount3 = osr.estimatedHitCount;nCount and nCount2 are both 200.
nCount3 is 1332
Ok, no problem. Even though I asked for 1000 results, I figure it will only return 200 at a time, so I write a simple loop.
   while (nTotalResults < nCount3)
      osr = oses.doOracleSimpleSearch(strSearch, nTotalResults + 1, 200, false, false, true);
      nCount = osr.docsReturned;
      nTotalResults += nCount;
   }After executing the search the first time, nTotalResults is set to 200, so I'm now requesting that the search starts at index 201 and to return the next block of 200.
osr.docsReturned is now = 0
stuck in infinite loop because it's not returning all my results.
Update:
It seems this is not just an API issue. If I do the search through the web interface, and go to page 20 (it's displaying 10 results per page) I see results. But as soon as I go to page 21, the page is blank even though it says there are over 1000 results.
Edited by: JimG on Feb 15, 2012 5:17 PM

You need to change the "Maximum Number of Results" from the Admin GUI.
Go to Global Settings -> Query Configuration, and you'll find it there.

Similar Messages

  • Search function only returns the first entryinstead of 2600

    Hi all,
    I am using JDNI to search in a iPlanet LDAP. This is the code:
    String filter = "(objectclass=TDC-Empleado)";
    NamingEnumeration resultados;
    SearchControls limitacionesBusqueda=new SearchControls();
    limitacionesBusqueda.setSearchScope(SearchControls.SUBTREE_SCOPE);
    results = ctx.search("o=TDC",filter,limitacionesBusqueda);
    I know with another tool that this filter works but the search function only returns the first entry!!!
    Somebody can help me ?
    TIA
    Manuel

    humm.
    Sets ctx.setCountLimit(long), or else checks the "size limit" of your iplanet server (size limit: number of entries returned to the client application).
    A.V.

  • Helpppp! my flash array will only play the first frame

    my flash array will only play the first frame
    this is the code
    stop();
    var t:Timer=new Timer(100,0);
    t.addEventListener(TimerEvent.TIMER,preloadF);
    t.start();   
    var rdmFrame:Array = ["15","150","420","589","712","807","1135"];
    stage.addEventListener(MouseEvent.CLICK, fnClick)
    function fnClick(e:MouseEvent):void
    trace(rdmFrame[numberRange(0, rdmFrame.length)]);
    function preloadF(e:TimerEvent)
        if(this.framesLoaded>7)   
            t.stop();       
            t.removeEventListener(TimerEvent.TIMER,preloadF);       
            t=null;        
            this.gotoAndPlay(numberRange(0, rdmFrame.length - 1));    
    function numberRange(minNum:Number, maxNum:Number):Number
            return (Math.floor(Math.random() * (maxNum - minNum + 1)) + minNum);

    Ned Murphy wrote:
    Your timer function is not using the array, it is just using the random number.  Adapt what you have in the fnClick function.
    Hi Ned ,
    I am a little confused , sorry .. i am not sure what you mean...i am very new at AS3 ...
    I dont even need the click function .. another developer recommended it as a way to track the random action..
    stop();
    var t:Timer=new Timer(100,0);
    t.addEventListener(TimerEvent.TIMER,preloadF);
    t.start();   
    var rdmFrame:Array = [15,150,420,589,712,807,1135];
    function preloadF(e:TimerEvent)
        if(this.framesLoaded>7)   
            t.stop();       
            t.removeEventListener(TimerEvent.TIMER,preloadF);       
            t=null;        
            this.gotoAndPlay(numberRange(0, rdmFrame.length - 1));    
    function numberRange(minNum:Number, maxNum:Number):Number
            return (Math.floor(Math.random() * (maxNum - minNum + 1)) + minNum);

  • I am have problems loading a cd onto i-tunes. No matter how many times I try to load a particular cd it will only load the first 9 seconds of each track. Can anyone help?

    Can any one help? I have tried several times to import a particular cd onto i-tunes, but each time it will only load the first 9 seconds of each track.

    If it was a recent purchase you could take it back to the store and return it as "not fit for purpose", then buy a digital version. If it is too late for that I suppose you could try contacting the record company but I doubt they care at this point since they have the money. Can't really go into any possible workarounds without breaching the TOU.
    tt2

  • I bought a new album off of iTunes the wifi wasn't strong so I left my computer on as it was downloading and went to sleep. This morning I went to listen to the songs and some of the songs will only play the first 50 sec or the first minute? How do i fix?

    I bought a new album off of iTunes the wifi wasn't strong so I left my computer on as it was downloading and went to sleep. This morning I went to listen to the songs and some of the songs will only play the first 50 sec or the first minute? How do i fix it or refresh them so i can listen to them fully?
    How do I get the songs to fully play? Or can i refresh the songs and redownload them?

    See Repair security permissions for iTunes for Windows.
    tt2

  • Pages will only display the first page of text.

    Pages will only display the first page of text. New pages are created as usual but blank and pages are visible through quick views. Reinstalling does not fix the problem, I don't know if it is an issue with settings. Pages v 4.1 on OS 10.7.4. Running on new macbook with retina.
    This is apparently a retina issue. Update hopefully soon

    You have not said but it sounds like you are using a Macbook pro with retina display.
    Pages is exhibiting all sorts of problems with the Retina display which Apple is supposedly working on.
    Peter

  • When I press ALL in print options, my canon printer will only print the first page.  It is connected to wifi

    when I press ALL in print options, my canon printer will only print the first page.  It is connected to wifi

    when I press ALL in print options, my canon printer will only print the first page.  It is connected to wifi

  • ITunes 10 will only play the first track of a CD, including brand new CDs.

    I reinstalled my operating system and had to reinstall iTunes. Now I have version 10 and after I import a CD it will only play the first track then progressively go track by track skipping through the rest without playing. Does it even whether I try to play from the CD or from the music section I imported it to. Even have 3 brand new CDs that it is doign the same thing to, so I have a hard time believing it is a disc reading issue.

    Microsoft Windows Vista Ultimate Edition Service Pack 1 (Build 6001)
    Dell Inc. Inspiron 531s
    iTunes 10.3.1.55
    QuickTime 7.6.9
    FairPlay 1.11.17
    Apple Application Support 1.5.2
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 3.4.1.2
    Apple Mobile Device Driver 1.57.0.0
    Bonjour 2.0.5.0 (214.3)
    Gracenote SDK 1.8.2.457
    Gracenote MusicID 1.8.2.89
    Gracenote Submit 1.8.2.123
    Gracenote DSP 1.8.2.34
    iTunes Serial Number 00D2AD08030F0338
    Current user is an administrator.
    The current local date and time is 2011-07-10 13:45:32.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Core Media is supported.
    Video Display Information
    ATI Technologies Inc., Radeon X1300 Series (Microsoft Corporation - WDDM)        
    ATI Technologies Inc., Radeon X1300 Series Sec. (Microsoft Corporation - WDDM)
    **** External Plug-ins Information ****
    No external plug-ins installed.
    iPodService 10.3.1.55 is currently running.
    iTunesHelper 10.3.1.55 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    **** CD/DVD Drive Tests ****
    No drivers in LowerFilters.
    UpperFilters: GEARAspiWDM (2.2.0.1),
    E: HL-DT-ST DVD+-RW GSA-H31N, Rev B109
    Drive is empty.

  • HT3204 i bought and downloaded a song from itunes store and it said it was complete but will only play the first 14 seconds of the song then it cuts off. what should i do to retrieve the rest of the song?

    I bought a song from the itunes store and downloaded it and it said download was complete but when i go to play the song it will only play the first 14seconds of it then it cuts off. what should I do to retrieve the rest of the song?

    If you live in a Region that allows re-downloading Music...
    Delete the Song(s) and re-download...
    See Here  >  Download Past Purchases
    http://support.apple.com/kb/HT2519
    If not... Contact iTunes Customer Service
    Apple  Support  iTunes Store  Contact Us

  • Since syncing my Ipod classic three days ago, the songs will only play the first three minutes and five seconds. Then it just stops. After a little while, it moves on to the next song.

    I have an old iPod Classic, 5th generation with video 30 GB. I sync via a pc. Since syncing it three days ago, the songs will only play the first three minutes and five seconds. Then it moves on to the next song or if it's the last song, it goes back to the menu. I just synced again and it it still doing it.It also has a small group of dots near the middle of the screen that weren't there before.Has anyone else had this problem or know how to fix it?  Thanks.

    Please disregard this question. I have a better worded version coming up.

  • My Bionic will only show the first of a multiple upload of pictures on Facebook?

    My Bionic will only show the first of a multiple upload of pictures on Facebook. A friend that has a Razor on Verizon is able to swipe through all the pictures of a multiple picture upload and see them all one at a time. I also find no way to Share on Facebook from the Bionic.
    Thanks
    jek

    Hi Jek!
    I usually have a bunch of pics I want to upload at once too! Are you going to the Gallery>Select Multiple>Choose Pictures>Menu>Photo Share Facebook? Do you have your Facebook account set up through the application on the device? Are you using Facebook for Android? This needs to be setup in order to share. Let us know!
    Katie H
    VZW Support
    Follow us on Twitter @VZWSupport

  • I am trying to play a video I purchased and it will only play the first 20 minutes

    I purchase a video from iTunes and it will only play the first 20 mintues of the 56 minute video. Help?

    Yes, but that website was for correcting the problem through your iTunes in your computer. I downloaded it to my iPad and now  am trying to play it on m iPad and it stops after 20 minutes in..

  • HT1725 Hi, I'm pretty new to itunes. I bought a song and it downloaded, but will only play the first 3 seconds? Any idea how I get it to play the rest of the tune?

    Hi, I'm pretty new to itunes. I bought a song and it downloaded, but will only play the first 3 seconds? Any idea how I get it to play the rest of the tune?

    I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the item that is not playing properly. If you can't see "Report a Problem" next to the entry, click the "Report a problem" button. Now click the "Report a Problem" link next to the item.
    (Not entirely sure what happens after you click that link, but fingers crossed it should be relatively straightforward.)

  • I downloaded a song and now it will only plays the first 2 minutes of the song, how can I fix this?

    I downloaded two songs and they will only play the first 2 minutes of the songs, how do I fix this?

    I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the items that are not playing properly. If you can't see "Report a Problem" next to the entries, click the "Report a problem" button. Now click the "Report a Problem" links next to the items.
    (Not entirely sure what happens after you click that link, but fingers crossed it should be relatively straightforward.)

  • Printer will only print the first document then will do nothing.

    I am running a dell system with windows 7 pro 64 bit.
    I just got an HP LaserJet Pro 400 m401n printer.
    I downloaded the most current drivers for windows and updated the printer from the HP website.
    The printer will let me print the first document after the computer is restarted. Sometimes I can print a second document if I print it back to back with little to no time between printing the first document. If more than a few minutes passes and I try to
    print again the program im using to print enters a "not responding" state and goes into recovery mode. This happens with notepad, excel, word, or even printing directly from the internet.
    I can open the printer properties and see the document just sitting with "spooling" out beside it. I assumed it was a printer spooling problem and tried going to the Services.msc and checking the printer spooler. Ive started it and stopped it several
    times. Ive also gone into %WINDIR%\system32\spool\printers and deleted all files in this folder. This does not help. It still gets hung at spooling.
    Next I just went to printer property and turned the spooling off completely, by having it send the document directly to the printer. Again the exact same problem but instead of getting hung in "spooling" it now just hangs "printing".
    I have also gone to the printer properties on the ports tab to see if disabling the bidirectional support was enabled as per a google search result showing a potential solution. But im connecting the printer directly to the computer via a usb port so that
    option is not even available.
    The only thing that allows me to print again is doing a restart on my computer, then again I can only print the first document sent. Restarting the printer itself does nothing.

    Hi James,
    Did this printer work correctly before ?
    To verify whether it is related to the printer ,please plug it in another machine to have a check if it is possible.
    Considering it is a USB device ,plug in  with another port to have a check or try to update the USB controller driver or reinstall the USB controller driver to have a check.
    Please check whether the Event Viewer contains  errors or warnings related to this issue .
    I found a similar symptom in the HP forum ,the solution in it may be helpful:
    HP LaserJet Pro 400 M401dne print only one page (document)
    (720 Views)
    http://h30499.www3.hp.com/t5/Printers-LaserJet/HP-LaserJet-Pro-400-M401dne-print-only-one-page-document/td-p/6456104#.VK5gLHkfrwo
    You may need to look for help from the HP forum at the same time .
    Best regards

Maybe you are looking for

  • Previewing page in Firefox

    I downloaded Firefox 3.6 for Mac this morning and now when I try to Preview the html page in Firefox, the browser goes directly to the "landing page" I've set in my Firefox prefs instead of the Firefox page displaying my "local" file. Trashed the new

  • How to use the Compounding Key in BPC10NW like BW info objects?

    Hi experts. We are longing the suitable solution in BPC-NW 10.0 to deal with compounding key like BW info objects. We want to define the dimension with compounding key MATERIAL and PLANT, but BPC-NW 10.0 doesn't support it. Therefore we just defined

  • Saving fillable forms

    I have tried to create an electronic version of a paper manual that uses fillable forms for parents to keep track of their child's healthcare records.  I know how to create the forms as fillable forms, but I'm not sure how to get them to be "saveable

  • Cannot open help page

    I've upgraded from PSE 9 to PSE 13 (both German versions). I'm unable to launch the help system. No help-window opens, just a small window with the message that Adobe Help cannot be loaded because there is no internet connection (Original error text:

  • Can i use flash for ui and interact with c++ builder for the rest

    i know flash can be used in c# in visual studio but i dont remember a thing of this interaction. is it possible to interact with c++ builder and how? the scenario is simple use flash for UI (showing-viewing data) maybe for a kiosk or something withou