Search threshold and index strange thinks..

Hi,
I have a directory server 6.2 server with 60000 entries, the DS is used by lot of applications running in our environment. I have half of query that return in the access/error Logs that the search was unindexed. At the moment I have all the DB in cache and the threshold is set to 30000(very high).To understand better the problem, I have set the error log level to err-function-calls, so I have all the information we need for trouble shutting.
Problem:
If I perform an ldapsearch like this:
ldapsearch -h 10.248.156.52 -p 20389 -D "cn=dmanager" -w - -b "ou=people,dc=unicredito,dc=it" '(&(sn=pippo*)(givenname=*))'
the search is done in the correct way(the search was indexed)
but if I try to do this search(the one used by our application):
ldapsearch -h 10.248.156.52 -p 20389 -D "cn=dmanager" -w - -b "ou=people,dc=unicredito,dc=it" '(&(givenname=*)(sn=pippo*)(usorganizationcode=US))
the search return notes=U in the access Log, and in the error I saw that the DS first try to mach :
usorganizationcode=US and givenname
the result was all identries need to be scanned ,the DS seems to ignore the (sn=pippo*), the threshold limit was exceed and the search consume lot of CPU and RAM.
So I want to know, how can I perform a search with this kind of filter:
(&(givenname=*)(sn=pippo*)(usorganizationcode=US))
by using indexes and cache ? It is possible ?
Regards Fabrizio

Hi Fabrizio,
we had a similar issue, searches with 3 filter elements were unindexed when the first 2 filter elements could not be used for the search. We have a hotfix for it, if you have a valid support contract you should be able to get it (if it's the same issue). The bug ID is 6527909.
Regards,
Holger

Similar Messages

  • CS 4 vs CS 3 - Quick Search and Indexing Improvements???

    Our firm is currently using CS3 Bridge and Spotlight for image archiving and retrieval.  The indexing time is horrendous
    given the volume and size of images.  The Spotlight interface is not that intuitive and looking at solutions
    that include upgrading to CS4.  I would greatly appreciate any feedback regarding CS4 and potential
    improvements with search and indexing of images.

    As a big fan of Bridge I sure would advice you to upgrade to CS4 because it
    is a far more stable version. However I use it not for Digital Asset
    Management and I also think Bridge is still not ready for this job because
    they still have no good cache management system for it.
    It is an exclelent application for ingestion files, sorting, rating adding
    metadata renaming and start to develop in ACR. For this I use it daily to
    great satisfaction.
    However I have an archive with over 40.000 files in it and I have tried to
    use Bridge to index it. Not very succesful I have to confess.
    I recently switched from Media Expression (before Microsoft took over it was
    called iView Media Pro) to the single user version of Canto Cumulus.
    Although both mentioned DAM applications are not free they are well worth
    the money (Canto is a little more expensive but again worth the money)
    You can get a trial version for both DAM, just try them to see which will
    suit you the best.
    Also download the CS4 trial, this is certainly a good investment as you will
    discover after you have tried it
    Over 30,000 photos.

  • Reading (and searching, use of TOC and index) Acrobat files offline

    OK - I have tried several things in effort to read PDFs offline.
    The 'tools' that allow me to access these files PDFReader Pro and GoDocs are incapable of doing searches, use TOC, and index.. It is basically a picture of a PDF. They also present it in the linear form where I need to actually scroll the 343 PAGES to get to the information I want to read mid-way into the document.
    Is there a realistic tool that actually properly presents PDF files offline and allows it to be used as it was intended? OOPS - correction Safari cant display this right either.... never mind ....
    Thanks
    Message was edited by: EmbeddedGeek
    I removed an erroneous statement that safari can properly display PDFs - it can't provide search, index/toc accesses. Bogus!

    On a possibly related note, see http://reviews.cnet.com/8301-13727_7-20004258-263.html?tag=mncol;txt for a way to ADD stuff to the TOC. I'm just passing this along, I haven't tried it.
    Doug

  • Search and index functions don't work with merged projects

    Until this morning, the search and index functions in my RoboHelp project worked okay; I have one Main project into which I have merged more than three dozen sub-projects.  About an hour ago, I created a new sub-project and merged it into the Main project; now, it's as if the topics in my merged projects don't exist.
    Any suggestions?
    thanks,
    Lon

    So when you open the merge you see all the content, it is just the search and index not working. This must be merged CHMs as you are talking about a Favourites tab so maybe your other comment is relevant. My understanding of merged CHMs is that you do not want spaces in file names, that could be the problem.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Spacing in Search and Index panes

    Please could someone advise me how to add padding to the Search and Index panes? I've edited the whthost.js file to apply spacing to the Table of Contents and that worked fine. However, I've tried editing the whfhost.js and whihost.js files in the same place for the Search and Index panes respectively, but changes to these files don't affect the output.
    PS. I'm using RH8 and outputting to WebHelp.
    Many thanks
    Jonathan

    In the Navigation Pane > Index > Setting a different color or background for the Index Input heading area topic, see the reference to image and color. However, the font stuff is there, too. Copy the skin somewhere, first, then try adding stuff like margin-bottom:5px inside the <font> tag and see what you get.
      <subpane name="Index">
       <image></image>
       <color>background:White alink:#d9e4da hover-color:#173a81</color>
       <font>font-family:Tahoma font-size:8pt font-weight:Normal font-style:Normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal font-color:Black</font>
       <inputbox>
        <image></image>
        <color>background:White</color>
        <textbox width="0"/>
        <title>
         <text>::??DefaultWebSkinText??::</text>
         <font>font-family:Tahoma font-size:8pt font-weight:Normal font-style:Normal text-decoration:none font-sizeadjust:none font-stretch:normal font-variant:normal font-color:Navy</font>
        </title>
        <button mode="none">
        </button>
       </inputbox>
      </subpane>
    Good luck,
    Leon

  • SOON: Advisor Webcast - WebCenter Content: Database Searching and Indexing

    Learn how to improve search performance by attending the 1 hour Advisor Webcast: WebCenter Content: Database Searching and Indexing on March 15, 2012 at 16:00 UK / 167:00 CET / 08:00 am Pacific / 9:00 am Mountain / 11:00 am Eastern. For details, go here https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=1399682.1.
    TOPICS WILL INCLUDE:
    * Optimize the database index for faster searching
    * Locate WebCenter Content problematic queries
    * Use SQL Developer to find explain plans and profile SQL statements
    * Configure WebCenter Content to tweak search settings
    Edited by: user754652 on Jan 30, 2012 7:44 AM
    Edited by: user754652 on Mar 7, 2012 7:09 AM

    Hi All,
    Not sure if this is the right forum however I am not able to find the installation for Release 11gR1: 11.1.1.7.0 at http://www.oracle.com/technetwork/middleware/webcenter/content/downloads/index.html
    Any pointers where can I download from?
    Thanks

  • Search row and column for return value

    Dear Sir/Madam,
                               I have a problem for searching spreadsheet and hope you can help me out a bit.  Im pretty new to Labview and Im currently using Labview 8.0.  My task is to search the spreadsheet I have attached in row and column-wise, then return the corresponding value out.  I had an attempt in doing this as you can see from the vi that i have attached.  I try inputting the 'read from measurement file' into an array and using delete, index and search array I will be able to find the index value for the relevant row and column that i searched for by inputting them into an index array with the orginal array from the 'read from measurement file'.
                              So ultimately, when i enter a row value of 0.5 and a column value of 0.3, my output will be 1.688.
                              I can't see any mistakes in my logic but I getting really strange results, like I can read my data has been entered into an array but when i try deleting the first column and put it into another array, the orginal array with nothing deleted is outputted hence making my search to give out -1 value. So could you take a look please and give me any suggestion that can solve my problem or enhance the code a bit.  Thank you for your time.
    Best Regards,
    Coato
    P.s for some reason i can't attached the .lvm file of my data hence i have attached the excel version but i think you need to convert it back to .lvm for the 'read from measurement file' function to work.
    Attachments:
    Backswing compensation.csv ‏10 KB
    Backswing comnpensation2.vi ‏109 KB

    Your VI makes absolutely no sense to me, but maybe I don't understand what you are trying to do.
    You seem to have dynamic data with 6 signals and 48 points/channel. Now you reshape this into an array of dynamic data with 4x13 elements from which you slice out one row or column, resp. "delete from array" is NOT the correct tool to do this, use "Index array" with one index unwired to get a row or column as 1D array.
    So you end up with two 1D arrays of dynamic data that you search for DBL. It is difficult to understand how you want to search for an array element that corresponds to a scalar DBL value of 0.1. Your array elements are NOT DBLs but dynamic data, each containing many signals!
    There are two elements on all your data that are "3", the rest are zero. You will never find anything that is 0.1.
    Maybe you can convert your original dynamic data to a 2D array with "rows are signals" using "convert from dynamic data", then operate on the 2D array.
    Coato wrote:
                              So ultimately, when i enter a row value of 0.5 and a column value of 0.3, my output will be 1.688.
    Sorry, Please explain.
    Please make a VI containing a simple 2D aray as diagram constant that contains e.g. 5x5 typical values. Let us know what kind of result you expect from your algorithm..
    LabVIEW Champion . Do more with less code and in less time .

  • Choose an entry in Search help and not in its input field

    Hi to all,
    In my application I have a field with a search help.
    I want that this field only can be modified using a search help and this field can't be modified directly writing in this field.
    Is similar to transaction se63 - Translation - Abap objects - Short texts - OTR - Source language
    I have created an example with the field SCARR-CARRID but this field can be modified with search help and directly, or this field can't be modified.
    In my application I have done the following:
    -> Screen painter (layout):
    Name: SCARR-CARRID
    Input Field: not marked
    Output Field: marked
    Possible entries: marked
    Possible entries keys: 2
    -> Flow logic:
    PROCESS BEFORE OUTPUT.
    MODULE IMPORT_DATA_0001.
    PROCESS AFTER INPUT.
    MODULE EXPORT_DATA_0001.
    PROCESS ON VALUE-REQUEST.
    FIELD SCARR-CARRID MODULE listbox.
    PROCESS ON HELP-REQUEST.
    MODULE listbox INPUT.
    TYPES:
    BEGIN OF VRM_VALUE,
    KEY(40) TYPE C,
    TEXT(80) TYPE C,
    END OF VRM_VALUE,
    VRM_VALUES TYPE VRM_VALUE OCCURS 0,
    VRM_ID TYPE VRM_VALUE-TEXT,
    VRM_IDS TYPE VRM_ID OCCURS 0.
    DATA: name TYPE vrm_id,
    list TYPE vrm_values,
    value LIKE LINE OF list.
    CHECK list[] IS INITIAL.
    name = 'SCARR-CARRID'.
    SELECT carrid CARRNAME FROM SCARR
    INTO (value-key,value-text).
    APPEND value TO list.
    ENDSELECT.
    SORT list BY text.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
    id = name
    values = list.
    ENDMODULE. " LISTBOX INPUT
    How can i solve this problem?
    Thanks a lot.

    Hi Jey:
    I have tried this:
    MODULE listbox INPUT.
      TYPES: BEGIN OF vrm_value,
               key(40)  TYPE c,
               text(80) TYPE c,
             END OF vrm_value,
      vrm_values TYPE TABLE OF vrm_value,
      vrm_id     TYPE vrm_value-text,
      vrm_ids    TYPE TABLE OF vrm_id.
      DATA: name       TYPE vrm_id,
            list       TYPE TABLE OF vrm_value WITH HEADER LINE,
            poplist    TYPE TABLE OF spopli WITH HEADER LINE,
            popanswer  TYPE c,
            popindex   TYPE i,
            value      TYPE vrm_value,
            lt_dyntab  TYPE TABLE OF dynpread  WITH HEADER LINE,
            dynpprog   TYPE syrepid VALUE 'SAPMZxxxx',           "Enter your dynpro here
            dynpnr     TYPE sydynnr VALUE '0100',          "Enter your screen number here
            dynpfield  TYPE help_info-dynprofld VALUE 'SCARR-CARRID'.
      IF list[] IS INITIAL.
        name = 'SCARR-CARRID'.
        SELECT carrid carrname FROM scarr
        INTO (value-key,value-text).
          APPEND value TO list.
          poplist-varoption = value-text.
          APPEND poplist.
        ENDSELECT.
      ENDIF.
    Use some method to display a list for selection
    Here is a simplified way of doing it but there are
    much more sofisiticated methods.
      CALL FUNCTION 'POPUP_TO_DECIDE_LIST'
           EXPORTING
                textline1          = 'Select an entry'
                titel              = 'Selection'
           IMPORTING
                answer             = popanswer
           TABLES
                t_spopli           = poplist
           EXCEPTIONS
                not_enough_answers = 1
                too_much_answers   = 2
                too_much_marks     = 3
                OTHERS             = 4.
      CHECK sy-subrc = 0.
      CHECK popanswer NE 'A'.
      popindex = popanswer.
      READ TABLE list INDEX popindex.
      IF sy-subrc = 0.
        lt_dyntab-fieldvalue = list-key.
      ENDIF.
    Update the screen field with the selected value
      lt_dyntab-fieldname  = dynpfield.
      APPEND lt_dyntab.
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
           EXPORTING
                dyname               = dynpprog
                dynumb               = dynpnr
           TABLES
                dynpfields           = lt_dyntab
           EXCEPTIONS
                invalid_abapworkarea = 1
                invalid_dynprofield  = 2
                invalid_dynproname   = 3
                invalid_dynpronummer = 4
                invalid_request      = 5
                no_fielddescription  = 6
                undefind_error       = 7
                OTHERS               = 8.
    ENDMODULE. " LISTBOX INPUT
    I think that there is a error that I have not seen because I put a breakpoint at the beginning of your code and the execution doesn`t stop.
    Now I execute the dynpro and appears my field 'SCARR-CARRID' and I can't choose a value and I can write in input field.
    Can you help me?
    Thanks a lot.

  • Search is not indexed error when starting nsslapd

    Hello there,
    I'm running DS 11g version and every time i restart the slapd instance , i see the following in error log. Any reason why?
    [23/Jan/2013:14:42:24 -0500] - WARNING<20805> - Backend Database - conn=-1 op=0 msgId=-1 - search is not indexed base='o=domain.com' filter='(|(objectclass=groupOfName
    s)(objectclass=groupOfUniqueNames))' scope='sub'
    Thanks!

    ok, we did not turn ON, I think it is by default turned ON and does this unindexed search since we have more than 30million entries. if we turn it off will that affect any since we don't use 'isMemberOf'.

  • Display statistics history of tables and indexes

    hi,
    in display statistics history of tables and indexes i can see only one year old table history, how we can check the table history for more than one year?
    Thanks,
    Nithin

    Welcome to SDN,
    Please search on help.sap.com or SDN before you post your query to avoid duplicate thread.
    I think below link will clear your doubt. help.sap.com/saphelp_nw70ehp1/helpdata/en/a6/8c933bf687e85de10000000a11402f/frameset.htm

  • Search for and edit single record in database

    I am creating a few forms that access an Access database that will be used to enter data into the database.  I am able to open records from the database and scroll through records one at a time and have added features to be able to search for and display a single record.  The problem that I am having  is when I load a single record and then edit that record, I am unable to save any changes made to the record, in other words, the record doesn't update on the database.
    I can add new records and edit records as long as I scroll to them using .next(), .last(), .first(), and .previous() commands; however, when I load a single record I can't figure out how to save changes to that record in the database.

    Ok...so I think i can get it to work by doing something like:
    xfa.sourceSet.DataConnection.open();
    xfa.sourceSet.DataConnection.first();
    var oRecordList = ???????????
    var nCount = oRecordList.length;
    for (var i = 0; i < nCount; i++){
        if (CurrentRecord.rawValue != SearchField.rawValue){
            xfa.sourceSet.DataConnection.next();
    where CurrentRecord is a text field that shows the index of the current record and SearchField is the field where a user enters the record that they are searching for.
    I think I just need to figure out how to count the number of records in the database.  Any ideas?

  • File search - files and projects all over the place

    I have not developed a standard set of scratch locations for all of my files, projects, autosaves, etc. As a result, I have media and project files all over the place on my computer and I now spend most of my time searching. I thought Bridge might help me search for and consolidate all relevant CS3 and CS4 files on all of my drives so that I can then place them into some standard scheme.
    When I do a search from the file menu "find" by criteria I drop down a list of various files, but no project files from After Effects, Premiere, Audition, etc. Does Bridge have a feature that will find and move all my files? 

    I don't think bridge will search across different drives although have read Lightroom will.  Bridge searches from where you start your search and then goes down the  directory from there.  Since I have all my pictures on one drive can't say how that would work it other programs are below it in the directory tree.
    If you have Vista is it very fast at searching.  It searchs across drives if they are all indexed.  The advanced seearch will find keywords "tags" in MS talk.

  • Who Decided to Combine the Search Box and Address Bar?

    A very wise person once said:
    "Make everything as simple as possible, but no simpler!"
    That fundamental rule of design has been volated with Internet Explorer 9.
    I've been using IE9 for about a month now, trying to get used to all the new things.  Performance-wise it's nice, and the changes to security are welcome.  Okay, so the color-management is half baked, and it still has its problems, but I guess
    it's an improvement.
    But what idiot decided to make the search box and the address field one and the same?
    You think I'm being petty?  Go try to research what a particular file is - for example, go see if you can find info on "bib.dll".
    It wants to make it into a URL.  It's not a URL.  It may LOOK like one, but it's a name, honest! 
    Putting quotes around it doesn't help.  Maybe I'm missing the advanced syntax it takes to get such a thing to be a search term instead of a URL. Even if so, how is this an improvement or simplification?  It's certainly not intuitively obvious how
    to force a search, short of dredging up a link to Google and typing info in there directly.
    Doing a search and typing in an address are two FUNDAMENTALLY DIFFERENT THINGS.
    And hey, it's not a big deal that you can no longer see what it was you searched for, and maybe even edit it and search again.  No, because now the search engine pages have to waste space to put up a box showing what you just searched for, since it's
    now GONE out of the address field.
    How does stuff like this pass a design review?
    And to think the Microsoft Engineers worked extra hard to take it out.
    You Engineers at Microsoft need to take the product back from your moronic marketing people and make it actually work right.
    -Noel

    Ed, with 36 years software engineering experience, I know the difference between the difficulty of adapting to change and when something just isn't right.
    This isn't right.  Ever hear the phrase "apples and oranges" to describe two things that don't go together?  That concept fits well here.
    You say that thinking along the lines of "you no longer had to think about which box you want to type into" helped justify the change. 
    Is there something wrong with thinking?  This is akin to saying, "you no longer had to think about which nozzle at the gas station to fill your tank from". 
    Diesel doesn't work in a gas engine.  Nor does the water from the garden hose.
    You say "both methods of typing work in the one box".  But they don't, logically!  Did you actually read this thread? 
    Is there something wrong with logic?
    Alas, what the simple users of the general public want and what experienced computer users need are clearly two different things, and it's clear looking back that this move simply marked another step in Microsoft's clear intent
    to walk away from making serious computer operating systems that actually
    work.  Windows 8 is testament to that (and don't tell me you haven't noticed all the negative response).  Other such things include Windows Search - which is designed to be unable to actually do an exhaustive search...  Even going
    back as far as hiding file extensions by default.  And don't get me started on the use of telemetry to justify deprecating such things as Windows Backup.
    Do you understand the difference between leading and following?  Which, as a concept, would you say is better?  You need to stay the hell away from trying to emulate what Google does.  You can do better!  If you want a different
    example, follow Firefox - it still has a search box.  Even Apple - known for dumbing things down to the level of the family dog - stil puts a search box in Safari.
    I don't mean to be critical of your response, Ed, but this is a good example of "the operation was a success but the patient died".
    Thank goodness there are 3rd party developers who are struggling to put back functionality Microsoft keeps removing.  But then Microsoft removes the APIs they use.  That's not going to keep!
    P.S., Watch the film "Idiocracy" some time.
    -Noel
    Detailed how-to in my eBooks:  
    Configure The Windows 7 "To Work" Options
    Configure The Windows 8 "To Work" Options

  • When I am using the browser for a while and try to use ANY search bar and hit the "search" button it does a whopping NOTHING is there anyway of keeping this from happening?

    Whenever I am using Firefox mobile - either regular, beta or aurora and go to search for something like through the Google search page and attempt to search for something the search bar does nothing and hitting the enter button instead doesn't do anything either. Is there a way to keep this from happening?

    Hi and thanks to not leaving the firefox user alone.
    Cor-el your answer is right as the madperson is and I already knew all these
    answer and I said that before I don’t use any antivirus and I always turn off my firewall from the moment I installed my Windows.
    I even turn off any automatic update for any of my software and I never let any unknown plugins or any thing like that be install without informing me. And if you know some things like Offline Storage and cookies must be to much more than usual and you have to clear them and delete them and I know so much more
    And if you want to know it fixed now. But I don’t know how?
    For understanding my problem read and research about Ixplorer.exe virus it is the same problem about the speed but the different is it doesn’t show any process in task manager like Ixplorer.exe virus
    Bt I have done some things but still I don’t know that’s why it is fixed or not
    First: I searched my system and removed any files have been crated on my system from two days ago since the problem happened.
    And then I used to go about the article in this page and did like this:
    http://answers.yahoo.com/question/index?qid=20080910101846AAazxN5
    but still I don’t know any thing about the problem.
    I can do so many things to fix but I am just curios if that is a virus why it just cut the speed when I am using the browser.
    Please if any one found the reason send me your information I like to know it will improve my knowledge however my problem is solved fro now.

  • Windows 8.1 x64 Smart Search Outlook and OneNote 2013(x32) not returning results

    Is the 8.1 Smart Search([windows-key]-type)  supposed to return results from Outlook and/or OneNote?
    I am using Exchange Cached mode for Outlook if that matters.
    I have done the following to try and get results to show up:
    control panel...Indexing Options...Advanced...File Types...Index Properties and File Contents
    used indexing troubleshooter which found no problems
    control panel...Indexing Options...Advanced...Rebuild...
    used scanpst to scan my ost and make repairs.
    checked and unchecked Outlook and OneNote within index properties
    tried to go to C:\Users\[username]\AppData\Local\Microsoft\Outlook\username.ost properties...advanced...checked allow this file to have contents indexed. Except the next time i start outlook the check mark goes away.
    verified .pst , .ost and .pst files are all in the index service...file types... list
    Search within Outlook itself works just fine and quickly, but i would like to be able to search from the "Smart Search".  File name search is flawless. 
    If it isn't supported, why is it in the indexing options that clearly work for smart search settings because I also added a location for searching where file names search works just fine(although it does seem the contents of excel/word files are
    not being indexed, but the index might still be rebuilding)
    Any help would keep some hair on my head. 
    Thanks

    Hi,
    It seems that the smart search can't search the content in outlook and OneNote.
    blogs.technet.com/b/daanish/archive/2014/03/19/windows-8-101-smart-search.aspx
    The reason why Outlook and OneNote appears in the Index option tab is that Outlook and OneNote need the Windows search to help index the content in Outlook and OneNote, if we remote the outlook and onenote from Index Option tab, the search function in the
    Outlook and OneNote may not works.
    Also, smart search main focus on Settings , files, web Images, web Videos which we can select above the search box.  Another reason we suspect the design for this is the consideration for security, if we can search the emails in the smart search, that
    maybe some programs can access the content in Outlook and OneNote without authentication .
    Hope the information above help.
    Best Regards,
    Jason Zeng

Maybe you are looking for