Max results returned by a search

Hi there,
I have been struggling in the Content DB Api to find out about the max results returned when performing a search.
Let's say for instance, I am doing a search on attribute NAME = * on a library that potentially contains more than 100 000 documents. I don't mind if the operation is time consuming or not, my main concern is the actual limit. I suppose this is certainly related
to the SOAP message limit. Does anyone know about this ?
I forgot to mention that the search won't request any attribute but only the defaults (id, name, type and so forth ...).
Cheers,

Hi
i came across the below reply for a thread with the similar query as above.
<<
Justin Cave
Posts: 10,696
From: Michigan, USA
Registered: 10/11/99
Re: sort data in ref cursor
Posted: Feb 3, 2005 10:30 AM in response to: [email protected] Reply
No. You could sort the data in the SQL statement from which the REF CURSOR was created, but once you have a REF CURSOR, you cannot do anything but fetch from it.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC
>>
So, the results from a ref cursor cant be sorted?? There is no way out?
Kindly advise.

Similar Messages

  • Message tracking max results returned

    Hi All,
    On message tracking page the predefined max rsults returned value only have 3 options 250, 500 and 1000. May i know how can i increase query setting more than 1000 results return.
    Regards,
    Rock

    Hi Rock,
    You cannot increase the query to more than 1000, but you can change your other parameters.  For example, you could change the date scope until you get down to under 1000 results. 
    You will have to run multiple queries to pull all the data you're looking for, but unless/until they change the maximum results this will give you a workaround.
    Thanks,
    Rachel

  • Reduce max. results in SRM F4-search

    Dear SRM gurus,
    in SRM 5.0 in tab "Cost assignment". Is there a possibility to set a value for the max. results in F4 help "Find Account Assignment Data" and in "G/L Account"
    By standard it is set to 500. Because we're facing performance issues is there a possibility to reduce it to a maximum of 200 results?
    Thanks for your help in advance.
    Kind regards,
    Henning

    Hi Hennig,
    I feel for this case you need to make template change as value of 500 is populated into Web template.
    Just right click on SRM webtemplete and do a view source and this will open code in notepad and make changes where you are getting this search help and look for "Maximum No. of Hits" . You will get this value over there...
    Ask someone technical in team to make changes in template and again publish the files..
    It will solve your issue.
    Regards,Nishant

  • When I click on a result of a Google search and then go that web site, the Back button on the toolbar is grayed out and I cannot return to the search results.

    When using FF3.6 and making a Google search, when I click on a result and then go that web site, the Back button on the toolbar is grayed out and I cannot return to the search results without going to History. This does not happen all the time; about 1/2 of the time.
    This problem is not limited to Google, but occurs with other sites as well.

    If you are talking about searches from - http://www.google.com/ - are you logged into a Google account all the time? If so, check your "Search Settings" from the "gear" in the upper-right corner of that Google search page and see if you have '''Open search results in a new browser window.''' check-marked, at the bottom of that preferences page. When that is check-marked and you have Tab options in Firefox set to '''Open new windows in a new tab instead''', you will get search results always opening in a new tab instead of the same tab. As to why that works different for "sponsored links" I don't know, I haven't seen the "sponsored links" for years now, I have a GM script that blocks those advertisements.

  • RoboHelp HTML 9 Search Pane Max results controls

    RoboHelp HTML 9 with WebHelp as output...
    I have a two part question. By default when our users do a search in compile dhelp, they see 10 search results per page. Is there a place in my RoboHelp interface where I can change that to larger number? I have found a line of code in a *.js file where it looks like I could manually change it, but would prefer not to have to do it that route in case that causes unintended hiccups elsewhere.
    var nMaxResult = 10 ; 
    Second part of my question is related to statement in release notes/new features notes for RoboHelp 9 that state users can control the max search results per page on-the-fly as they use the Search pane. This feature only applies to WebHelp or WebHelp Pro and my output is WebHelp. I can see a line of code for that feature in the whfform.htm file but nothing shows up like that in the Search pane within compiled help. Is this a bug or is there a control somewhere in RoboHelp project settings that allows me to enable that option for users? The last 2 lines below would seem to control this area. The Search pane items referenced in first 4 lines do show up ok in my Search pane.
    gsTitle = "Type in the word(s) to search for:";
    gsTitle = "Type in the word(s) to search for:";
    gsHiliteSearchTitle = "Highlight search results";
    gsHiliteSearchTitle = "Highlight search results";
    gsMaxSearchTitle = "Search results per page" ;
    gsMaxSearchTitle = "Search results per page";
    Thanks for any insight you can provide,
    KF

    I know this is an old topic, but I was trying to figure this out myself today and finally found it. In case others have been looking for this, it's in in this file:
    whform.js
    find this variable:
    var gnMaxRslt = 10;
    and then change the 10 to the number you want.
    If you do that in the generated help, the number will change in the Search pane, but it will still display only 10 results. To get it to actually display more than 10 results, I had to edit the RoboHelp file, not the generated help. I made a copy of C:\Program Files (x86)\Adobe\Adobe RoboHelp 10\RoboHTML\WebHelp5Ext\template_stock\whform.js before I edited it. (Right-click the file, click Copy, then right-click in the folder and click Paste. Edit the one that doesn't say Copy in the filename. Then if you want to back it out, delete the one you edited and remove Copy from the original.) If you have your project open in RoboHelp, close it, then reopen it so it can "grab" the new info.
    This ought to be in the WebHelp Setting dialog box on the Search pane.
    --Karla--

  • Returning Different Results for the  Same Search Value

    I'm creating a word list and I'm using Lookup to find text entries in column D and return values from column A. I can manage one result based on the search criteria however I'm wondering if it's possible to return multiple entries from column A if multiple matches are found in column D:
    As you can see I'm trying to use the formula =LOOKUP("Aggression",D,A) to find all the instances of "Aggression" in column D and return all the corresponding results from column A (audacious, barefaced, and depredation). Lookup however only returns the last match (depredation).

    I wish you'd shown where your LOOKUP function is located and what you're trying to do with it. Are you going to be using these results in another function? Or are you simply wanting to display the results of your search?
    If the latter, there's an elegant way to make this happen. Let's create a single-cell table on the same page, holding the word you're searching for. (Ideally, this could be a drop-down list -- and that can be made to dynamicly hold all the discrete values in column D -- but that's another discussion.) Let's call this table "Search".
    Add a column (which can be hidden) to your original table. Let's insert this next to your column D, making it column E. Cell E2 contains =IF($D2=Search :: $A$1,TRUE,FALSE). Drag/copy that down the column. You'll now have a value of TRUE in this column for all the words you're looking for. Now click on the top of this column E and click "Show More Options".... and click on "Show rows that match the following". Set it to show where Column E is true. You now show only the words in which the "category" matches the search word.
    Change the word in your Search table, and the display of your original table automatically adjusts.
    The nice part is that the entire line is displayed so you can see definitions and contexts as well.
    Vince

  • Optimize query results(timing) returned from custom search query

    Casey can you send the following to Oracle Support as soon as you can, we need their input on optimizing returning search results.
    To Oracle:
    We have noticed in the IdocScript reference guide that there is a way to optimize the query results returning to the user.
    Here is the scenario: We have created a custom web query where we send a query to the UCM and return a result using a custom template via url like so
    http://dnrucm.dnr.state.la.us/ucm/idcplg?IdcService=GET_SEARCH_RESULTS&QueryText=dDocTitle <matches> `AGREEMENT` <AND> xStateLeaseNum<matches>`00340`&ResultCount=30&SortOrder=Desc&SortField=dInDate&urlTemplate=/ucm/groups/public/documents/oos/hcst-search.hcst
    This works fine. The problem is that when a query is broader like
    http://dnrucm.dnr.state.la.us/ucm/idcplg?IdcService=GET_SEARCH_RESULTS&QueryText= xStateLeaseNum<matches>`00340`&ResultCount=30&SortOrder=Desc&SortField=dInDate&urlTemplate=/ucm/groups/public/documents/oos/hcst-search.hcst
    The query takes an extremely long time to execute and the results template sometimes never comes back, which seems like a timeout.
    Is there something else that we can do to optimize the query results?

    Hi John,
    What version of xMII are you using?
    Some things I would try:
    1. Clear the Java Web Start Cache - see if that makes any difference.
    2. If not, what happens if you save the query under a different name, and then try using it in a new transaction?
    3. Please feel free to enter you case into xMII Support via the SAP Support Portal if you are unable to make this work.
    Kind Regards,
    Diana Hoppe

  • How to limit the number of search results returned by oracle text

    Hello All,
    I am running an oracle text search which returned the following error to my java program.
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    #### ORA-29902: Fehler bei der Ausführung von Routine ODCIIndexStart()
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    java.sql.SQLException: ORA-29902: Fehler bei der Ausführung von Routine ODCIIndexStart()
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:169)
    When i looked up the net, one suggestion that was given is to narrow the wildcard query, which i cannot in my search page. Hence I am left with the only alternative of limiting the number of results returned by oracle text search query.
    Please let me know how to limit the number of search results returned by oracle text so that this error can be avoided.
    Thanks in advance
    krk

    Hi,
    If not set explicitly, the default value for WILDCARD_MAXTERMS is 5000. This is set as a wordlist preference. This means that if your wildcard query matches more than 5000 terms the message is returned. Exceeding that would give the user a lot to sift through.
    My suggestion: trap the error and return a meaningful message to the user indicating that the search needs to be refined. Although it is possible to increase the number of terms before hitting maxterms (increase wildcard_maxterms preference value for your wordlist), 5000 records is generally too much for a user to deal with anyway. The search is not a good one since it is not restricting rows adequately. If it happens frequently, get the query log and see the terms that are being searched that generate this message. It may be necessary to add one or more words to a stoplist if they are too generic.
    Example: The word mortgage might be a great search term for a local business directory. It might be a terrible search term for a national directory of mortgage lenders though (since 99% of them have the term in their name). In the case of the national directory, that term would be a candidate for inclusion in the stoplist.
    Also remember that full terms do not need a wildcard. Search for "car %" is not necessary and will give you the error you mentioned. A search for "car" will yield the results you need even if it is only part of a bigger sentence because everything is based on the token. You may already know all of this, but without an example query I figured I'd mention it to be sure.
    As for limiting the results - the best way to do that is to allow the user to limit the results through their query. This will ensure accurate and more meaningful results for them.
    -Ron

  • I have one problem and I think it is a settings issue. When I google the web I get results. Now, when I visit some website and I return to my search results I don't have any markers (diffrent link colour for visited sites in IE).

    Question
    I have one problem and I think it is a settings issue. When I google the web I get results. Now, I visited some website and then I want to return to my search results and pick another search result. And there is a problem: I don't have any markers (diffrent link colour for visited sites in IE) that would help me to distinguish visited and not visited sites.

    Why start a new and very similar thread to your other one which you have not responded to (have you read the replies?)
    I suggest that no response is made to this duplicate thread. 

  • Verity search results return application.cfm

    We've got a couple of sites using verity collections to
    search cfml, html, and some mime documents. This is generally
    successful. However, we do see coldfusion script-only pages
    returning in the search results, including application.cfm, and
    other cfm pages that do not display content to the end-user. Since
    there is no HTML renderable content in these pages, why do they get
    included in the results?
    How can I control this behavior? I've looked at the verity
    documentation, and am trying to use the mkvdk utility to delete
    application.cfm from the collection documents, but am getting an
    error. If I can get the syntax down correctly, is this the proper
    way of addressing the problem?
    For instance, I am using the command string:
    mkvdk -delete -collection
    C:\CFusionMX\verity\collections\intranet\file application.cfm
    on my local development machine to try and test this, but get
    an error BadKeys: application.cfm
    I don't understand why these types of files get included in
    the collection in the first place. Oh, we are running CFMX6.1.
    Thanks for any help.
    Kris

    The issue is not how to remove all CFM files from the
    collection. We just want CFM files that do not output anything to
    the user to be excluded from the search index. Most of the files in
    this site are CFM files. Most importantly would be application.cfm,
    form action pages, and other included files.
    Certainly we could parse the results for a filename in a
    predefined list, but we are trying to avoid defining this
    programmatically; thinking that it is odd that these files get
    included in the results at all. In the past we have segmented sites
    using .cfm and .cfml as a way of excluding specific files from the
    index (in the collection definition, we would not include the
    specific extension as required). But this site has been in
    production for some time, and is just now adding a search feature.
    We don't want to rename files, and have to recheck every single
    page and link in the entire site.
    Does that explain what we're trying to do better?
    Cheers,
    Kris

  • Hide / Remove Content Search Webpart when no results returned

    Hi SharePoint friends
    I'm looking to find a way to hide the whole Content Search webpart (including the webpart title and border area) if there are no results coming back from the query.
    What I tried
    1. There is this property: "ShouldHideControlWhenEmpty" but it doesn't do anything when there are no results. The webpart is still visible. Webpart has a the Title and the Border around it so when
    there are no results the title and the border show up with no results. Like I said I want to hide the whole thing in that case.
    2. Wrote a jQuery script that searches for the text "There are no results" message (which comes from the webpart when there are no results) and hides the webpart. However, there is a short flicker once the page loads because the webpart first gets
    rendered for a split second and then disappears by virtue of my jQuery script - which is not great UI experience.
    3. So I thought I could extend the OOTB ContentBySearchWebPart and get a hold of some kind property that would get me the result count. If the results count is 0 simply I would hide the webpart server side. I looked
    at the documentation online - nothing I could find that I could leverage.
    Help? Thanks!

    Hi,
    To hide the whole Content Search Web Part when there is no result returned, a workaround can be like this:
    In the “Web Part Properties” panel, set checked the “Don't show anything when there are no results”, set the Chrome Type as “None”:
    By doing this, the whole web part will disappear when there is no result returned.
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Patrick Liang
    TechNet Community Support

  • "Your Search Had No Results" returned when clicking on download arrow

    In the Salt Lake Community College iTunes U "private" side of iTunes U, whenever someone clicks on the download arrow to download a podcast (the arrow that is to the right of the podcast name and to the left of the time), they get the following error:
    "Your Search Had No Results. Use Power Search to Refine your Search or use Browse to browse the entire iTunes store. Request anything you cannot find."
    This happens in every section we have, and it does not matter if the podcast is uploaded to the iTunes U site and living on their servers, or if it is on our servers and is populated to the iTunes U site via RSS feed.
    When we click on the podcast name we can play it on the computer, but cannot download it to an iPod for play.
    Has anyone seen this before? Any help or suggestions?
    Thanks!
    Donna Mirabile
    Distance Education
    Assistant Applications Administrator
    Salt Lake Community College
    TB 216C, Mailstop DE
    4600 South Redwood Road
    Salt Lake City, UT 84130
    801-957-2641
    [email protected]

    Lauri wrote:
    Actually, try it now. "kfi am 640 handel on the law" now has an entry. Seems like the trick is, you have to make sure you don't have that set of top tabs that say Video Audio All set to video before you do a search. If it's set to Audio or All, you'll get what you are looking for. That's not very good gui design. At the least, All should be the default tab or the tab set should be on the search screen.
    I just searched again and came up empty. Not sure what you mean about the tabs. It goes....
    Internet > Podcasts > Search "kfi" > "kfi am 640 handel on the law." > "Your search had no results"; and there are no tabs visible at any stage in that process. It is an active podcast and works fine within iTunes itself. This is not the only podcast I can't access; it is happening quite a bit with podcasts not in the Top, Favorites, or Providers.

  • Is there a way to have the calender results in a global search on an iPhone to appear in reverse cronological order?

    Is there a way to have the calender results in a global search on an iPhone to appear in reverse cronological order?

    I guess not... (at least not on 5.x!!). I would just like the calendar search to return results in chronological order of any sort. With iCloud calendars and OS 5.1.1 it lists all the results (by date order) for one calendar, and then does all the results for the other one, which is a bit tiresome. Strangely it all works fine with Google calendars... But maybe I will just use spotlight search to get round this problem for now.

  • Why does the location bar only perform searches, even typing about:config just returns a google search for "about:config"

    My location bar will only perform web searches and no longer takes the browser directly to web address entered manually. for example typing "about:config" returns the results of a google search for "about:config", typing "http://www.gawker.com" does not take me to gawkers website but rather returns google search results for "http://www.gawker.com".

    ''You might want to disable or remove that Yahoo! activeX Plug-in Bridge that shows in your Installed Plugins. Firefox doesn't do ActiveX and a plugin like that might leave you open to being exploited.''
    First you need to figure out if an extension you have installed is causing that.
    Do you have that problem when running in the Firefox SafeMode? <br />
    [http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this: <br />
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]
    Or, it could be caused by Malware.
    Install, update, and run these programs in this order. '''''(Not all programs detect the same Malware.)''''' They are all free for personal use, but some have limited functionality in the "free mode" - but those are features you really don't need to find and remove the problem that you have.<br />
    ''Note: If your Malware infection is bad enough and you are mis-directed to URL's other than what is posted, you may have to use a different PC to download these programs and use a USB stick to transfer them to the afflicted PC.''
    Malwarebytes' Anti-Malware - [http://www.malwarebytes.org/mbam.php] <br />
    SuperAntispyware - [http://www.superantispyware.com/] <br />
    AdAware - [http://www.lavasoftusa.com/software/adaware/] <br />
    Spybot Search & Destroy - [http://www.safer-networking.org/en/index.html]
    Or maybe your ISP is doing the redirect, but that is doubtful since you're getting two different redirect addresses (unless you are using two different ISP's).
    There are two extensions that can prevent redirects: <br />
    NoRedirect: <br />
    https://addons.mozilla.org/en-US/firefox/addon/11787/
    Redirect Remover: <br />
    https://addons.mozilla.org/en-US/firefox/addon/537/

  • Sun forums migration: sun forum links returned with google searches

    Old forums.sun.com posts returned in google searches don't dump you into the thread anymore. Instead you get the forums.oracle.com home page. I was able to find the actual thread by using Google's cache to get the title of the post, then searching for it within the forums. However I figure once the google cache is refreshed, that won't work anymore.
    Any idea on workarounds, or will the old sun forums threads ever properly point to forums.oracle.com? I understand that the info has been migrated, but it still needs to be searchable/findable.

    Ok, I just talked to our technical person, and the reason that threads do not redirecting is because (...) So anytime you need to fins something specific in a thread, you will need to do a search.Has the migration team considered adding an automatically generated post such as "this topic was migrated from the Sun forums, topicid=xyz"?
    At least this suggestion would enable to search the lost topic by its ID!
    The problem with manual searching is that often we have not much more info about the topic than the id in the link.
    The Google cache is just a temporary epipehnomenon, at some point such search results will not be returned. But there remains a lot of (now dangling) pointers to Sun forum topics everywhere across the Internet.
    You wouldn't have to search very far: in the very content that was migrated from Sun forums to OTN forums, there are tons of intra-forum links ("This question is answered in [url http://nowLostInAether]this topic", or "Please consider the shortcomings of thsi approach as described in [url http://nowLostInAether]that thread"). There is no clue as to which keyword search coold lead to the lost target, and even if it were returned by an educated guess search, there would be no way to make sure it's the correct target ("Please sure to use [url http://nowLostInAether]this apporach, because [url http://nowLoastInSPace.com]that other approach is completely flawed!").

Maybe you are looking for

  • Date - Java

    Hello All, while inserting a record into the database...i have a requirement to insert today's date in one of the column ... and I'm doing something like this : stmt.setDate(1, new java.sql.Date(Calendar.getInstance().getTime().getTime())); but getti

  • Group by only one column

    Hi friends, I have a create table script as below: CREATE TABLE GROUPBY_TEST ( NAME VARCHAR2(5), HIREDATE DATE, DEPARTMENT VARCHAR2(5), SALARY NUMBER(5) Insert script : INSERT INTO GROUPBY_TEST VALUES ('A','1-JAN-2000','XYZ',1000); INSERT INTO GROUPB

  • TS3694 How can i fix error 1015?

    My brother has given me his old iphone 3G.  I want to restore it to its original settings but every time i try to restore it i get the error code 1015

  • Ipod update icon deosnt pop up

    I have problem with updating my ipod after restore it, it shows a folder icon, and try to format the ipod, it didnt work. everytime i try to update it, the updated folder pop up but the restore button only show up, the update button went blank, so i

  • Compressor in unversal version

    I've been told for a while about the "Artifacts" that compressor creates and was wondering if this might not be a problem with the universal version run on a Macbook Pro Thanks Jeff Dual G4 1 GIG, G4 1.25 Laptop Macbook Pro 2.0   Mac OS X (10.4.7)