Is it possible to search ArrayCollection by index?

Hi all,
As I know, we can loop and compare each item of ArrayCollection to get correct item we want. Obveriously, the performance will get bad and it's not a wise method to search. Can we create a index for the key field of each item? Or is there any other class providing such functionality?
Thanks,

When you say "an index" are you talking as a in a database table index?  I.e. something that can quicken a search?
I am trying to understand your desire and I think what I am hearing is that you have an ArrayCollection contain a number of Objects.   When you want to find a particular Object, you have found that one way to locate the desired instance is to walk through each element of the ArrayCollection and ask "does this element equal the key of the object I am looking for?".   I think you are concerned by the amount of time that this may take.
Going back decades to my computing science knowledge, this would be an O(n) algorithm where n is the number of elements in the array.
Now, if there were an "index" (ala databases) on the data, then if this index were Sorted, you would be able to find your match in O(log n)
You may pay an O(n log n) cost to sort the index when the data structure is created but if you have a large number of searches then it may pay for itself.
I am not aware of any function that will support you on this out of the box (but that doesn't mean there isn't, only that I don't know about it.
I would also truthly ask yourself "is it worth the cost?".   How many elements will you have in a typical array?  How often do you anticipate locating an entry in that array?
Neil

Similar Messages

  • Possible to have both an index and TOC open by default?

    I'm using RH7 (I have RH 8 but don't use it since it buggers up formatting from previous versions) and I publish wbhelp.
    Is it possible to set BOTH the Index and TOC to display as open when the project is posted. When I generate a primary layout, I can only slect one as default in the second screen (Wbhelp navigation).
    Thanks!

    We feel your pain. How about making the topic that links to the movie the default topic of your help file. That way they'd get to see it every time they open the help. Failing that, try a sledgehammer over their cranium
    Read the RoboColum(n) for a tips, tricks and musings on the Technical Communication Suite products.
    Follow the RoboColum(n) on Twitter

  • Is it possible to search for multiple folders with the same name and...

    Is it possible to search for multiple folders with the same name and then select them all and change the permissions on just those folders .i.e. Search for the budget folders in all client folders and lock them down to just the project managers. Without having to go to each folder and apply the permissions.

    user11919409 wrote:
    Is it possible to create a Clone database with the same name of source db using RMAN ...
    yes
    >
    DB version is 11.2.0.2
    Is it possible to clone a 11.2.0.2 database to 11.2.0.3 home location directly on a new server . If it starts in a upgrade mode , it is ok ....yes
    Handle:     user11919409
    Status Level:     Newbie (10)
    Registered:     Dec 7, 2009
    Total Posts:     102
    Total Questions:     28 (22 unresolved)
    why do you waste time here when you rarely get any answers to your questions?

  • Is it possible to set the child index of items in the design view?

    Is it possible to set the child index of items in the design view? I have a large png that is on top of everything in design view which is really annoying

    Yes it is possible to do so. Goto View>>Tools Pallete. This will open up a tools pallete which you can use to modify the colours and other viewing options of graphs and anything else on the front panel.
    For your purpose u select the background of the graph and  click on the "set colour squares" present in the lower bottom corner of the pallete. This will open up a whole range of colors you can select for the purpose. There in the black and white strip of colours, there is a box titled "T" on the right most corner. Select that "T" and your background color will go transparent.
    Have a nice day. Happy codings.
    Regards
    Asad Tirmizi
    Design Engineer
    Institute of Avionics and Aeronautics
    " Its never too late to be, what u want to be"
    Using LabVIEW 8.2

  • Possible to Search for a Calendar

    Somehow I ended up with Calendars named "Untitled", "Untitled 2" and "Untitled 3". I don't know how these showed up and don't know what events could be associated with them. Don't want to just delete these Calendars without knowing what they have in them.
    Is it possible to search for all events within a particular Calendar? Or maybe organize/sort events by Calendar?

    smilingdog,
    Enter the " character in the iCal Search field which is located in the upper right hand corner of the iCal window. When you do that you will be presented with a results pane in the bottom of the iCal window. The results pane will have four columns at the top (Calendar/Date/Type/Title). Click on the "Calendar" column to see the results organized by specific calendars.
    Alternately, you can (⌘ + click) on any calendar in the "CALENDARS" source pane to deselect all calendars, then the calendar that you want to display, and enter the " character in the search field. That will display only the entries associated with that particular calendar.
    As a side note, the search field has a magnifying glass icon with a small down arrow which can be used to specify what items to search in.
    ;~)

  • Is it possible to create a spatial index on a view?

    Hi
    Is it possible to create a spatial index on a view?
    We would like to link our spatial tables to each other (using only one of the SDO_GEOMETRY fields) in a view & make it very easy so that anybody can work with the data.
    Thanks Caroline.

    Simon,
    In order for autoregistration to work, you first need to make sure that all entries in mdsys.sdo_geom_metadata_table are registered with SDE. All tables not just one schema. None of our spatial tables or views exist in the SDE schema.
    Also make sure all Oracle Spatial tables in sde.table_registry are held in mdsys.sdo_geom_metadata_table.
    When a user makes a database connection in ArcCatalog, all Oracle Spatial tables will be registered with SDE automatically. Also, entries will be inserted into mdsys.sdo_geom_metadata_table and indexes will be created. If you do not have primary key fields, you will have to Register with Geodatabase and it will create the OBJECTID field.
    This did not work for us originally. but after cleaning up metadata and installing SP1, it is working now and it is very convenient.
    VIEWS:
    You have to create the view thru SDE. You cannot register foreign views. There are bugs in support of views containing SDO_GEOMETRY objects. I have been told some problems will be fixed in SP2 and there may be a patch out to address some others.
    Here are the incidents I have filed in reference to views:
    1.
    I created a view consisting of a geometry column from a "foreign" Oracle
    Spatial table (SDO_GEOMETRY) and corresponding attribution in another table.
    I used the following command to create the view through SDE:
    C:\arcgis\arcexe81\BIN>sdetable -o create_view -T gis_v_traffic -t
    "trims_traffi c_geom,traffic" -c
    "trims_traffic_geom.geometry,trims_traffic_geom.fid,traffic.i
    d_number,traffic.aadt" -w "trims_traffic_geom.mslink = traffic.mslink" -u
    gis -p spatial -i esri_sde -s JJ0DN10
    ArcSDE 8.1 Build 832 Thu Mar 22 14:08:07 PST 2001 Attribute Administration
    Utility ----------------------------------------------------- Successfully
    created view gis_v_traffic.
    I can preview the geometries in ArcCatalog without error.
    However, when I try to select a feature in ArcMap I get the following error:
    The instruction at "0x125222dd" referenced memory at "0x00000000". The
    memory could not be "read".
    I click ok.
    Then I get this error:
    The insruction at "0x5f8012d3" referenced memory at "0x00000004". the memory
    could not be "read".
    I click ok and ArcMap terminates.
    I can select features from the spatial table the view is pointing to, but
    not from the view itself.
    2.
    I need to create views utilizing database links to tie attribution in other
    databases to geometries created for that data in a spatial database.
    I issued the following command from command prompt and got this error:
    C:\arcgis\arcexe81\BIN>sdetable -o create_view -T link_v_traffic -t
    "trims_traff ic_geom,[email protected]" -c
    "trims_traffic_geom.geometry,trims_traffic_ge
    om.fid,[email protected],[email protected]" -w
    "trims_t raffic_geom.mslink = [email protected]" -u gis -p
    spatial -i esri_sd e -s JJ0DN10
    ArcSDE 8.1 Build 832 Thu Mar 22 14:08:07 PST 2001 Attribute Administration
    Utility ----------------------------------------------------- Error:
    Underlying DBMS error (-51). Error: Unable to create view link_v_traffic
    ORA-00957: duplicate column name (link_v_traffic)
    3.
    Spatial Views created on Oracle Spatial LRS layers containing SDO_GEOMETRY
    objects are not recognized as feature classes unless they are created with
    the sdetable -o create_view command.
    Here is typical SQL for the view creation:
    create or replace view trims_v_traffic as select a.geometry,
    b.nbr_tenn_cnty, b.nbr_rte, b.spcl_cse, b.cnty_seq, b.tr_beg_log_mle,
    b.tr_end_log_mle, b.yr_trfc, b.aadt, b.pct_peak_hr, b.dhv_pct, b.drct_distr,
    b.vhcl_pass_pickups, b.vhcl_su_trk, b.vhcl_mu_trk, b.actl_cnt, b.updt_by,
    b.updt_on, b.mslink, b.mapid, b.id_number, b.sta_nbr from
    gis.trims_traffic_geom a, gis.traffic b where a.mslink = b.mslink;
    The table containing the SDO_GEOMETRY object is registered with SDE in the
    following manner:
    C:\arcgis\arcexe81\BIN>sdelayer -o register -l trims_traffic_geom,geometry
    -e slM -k SDO_GEOME
    TRY -s JJ0DN10 -i esri_sde -u gis -p spatial -c fid -C SDE
    A feature class is successfully created for this layer and the data can be
    added successfully to a map.
    However, there is no way of adding data to a map from a spatial database
    view containing an SDO_GEOMETRY object which was created externally from
    SDE.
    We are using Oracle Spatial 8.1.7 on NT 4.0. We are also using ArcGIS 8.1
    and ArcSDE 8.1.1.
    4.
    SDE does not support spatial database views which reference snapshot
    objects.
    I was unable to create a view using sdetable -o create_view which referenced
    a snapshot object.
    The snapshot was created using the following sql syntax:
    CREATE SNAPSHOT SNP_TEST
    BUILD IMMEDIATE
    REFRESH FAST
    ON DEMAND
    AS
    SELECT * FROM [email protected]
    We are using ArcSDE 8.1.1 with Oracle 8.1.7 on NT 4.0.
    Here are the permissions I granted, they need to be the same for every schema:
    for sde (these are all the permissions that might be needed for any type of
    activity - new install or upgrade)..lets just step through and go ahead and
    grant them all...
    grant create session to sde;
    grant create table to sde;
    grant create procedure to sde;
    grant create sequence to sde;
    grant create trigger to sde;
    grant unlimited tablespace to sde;
    grant select any table to sde;
    grant create any sequence to sde;
    grant create any procedure to sde;
    grant execute any procedure to sde;
    grant drop any procedure to sde;
    grant select any sequence to sde;
    grant create any view to sde;
    grant drop any view to sde;
    grant create any trigger to sde;
    grant drop any sequence to sde;
    each Oracle user will also need the following privileges...
    grant create session to gis;
    grant create table to gis;
    grant create procedure to gis;
    grant create sequence to gis;
    grant create trigger to gis;
    grant unlimited tablespace to gis;
    Viewer
    The viewer is allowed to connect to an ArcSDE database. Other users grant
    select privileges on their tables and feature classes to the viewer or to
    the public role. The DBA can create a role that can be granted select
    privileges on data objects owned by other users. The role can be granted to
    the viewer.
    create session
    select on other user's data objects
    Editor
    The editor is allowed to connect to an ArcSDE database. Other users grant
    select and insert, update, or delete on data objects they own to editor. The
    DBA may create a role that can be granted select, insert, update, and delete
    privileges on data objects owned by other users. The role can be granted to
    the editor.
    create session
    select, insert, update, or delete on other user's data objects
    Creator
    The creator is allowed to connect to an ArcSDE database and create data
    objects. The creator may grant privileges on their
    objects to other users or roles. Other users can grant select and insert,
    update, or delete on data objects they own to creator. The DBA may create a
    role that can be granted select, insert, update, and delete privileges on
    data objects
    owned by other users. The role can be granted to the creator:
    create session
    create table
    create procedure
    create sequence
    create trigger
    unlimited tablespace
    select, insert, update, or delete on other user's objects
    It might be worthwhile to rebuild your SDE metadata. I can walk you thru that if you need help.
    Hope this helps.
    Dave
    null

  • Is it possible to search for special releasedates in the iTunesStore

    Hello,
    i'm a german musician and i want to create a song formed by a mix out of other songs released on the same day. Is it possible to search for a special releasedate, like 10.04.2012, in the iTunes Store?
    Thanks for help,
    best regards

    CrazyEyes955 wrote:
    I plan on creating a data structure of ArrayLists and would like to be able to check if I have come upon another ArrayList in the ArrayList. Perhaps the idea is illogical but this is for fun. Please offer some advice as to do so or otherwise suggest something else. Thank you.This suggests that your ArrayList will hold different types of objects. If so, I strongly urge you to reconsider this as it is fraught with dangers. Instead have your ArrayList hold only one Type of object. This type may be represented by a class, interface, enum, etc.

  • Third-party search engines for indexing BI data

    Has anyone had experience using third-party search engines for indexing data in BI7? We are looking into a product by QuePlix that uses a Google search appliance to index data in BI as well as other OLAP tools, and we'd be interested in hearing anyone else who is using QuePlix or any other search tool.
    SAP is working on its own TREX-based search tool, but it looks like it's still a ways off.
    Our goal is near-instant response for search queries - for example, if a user enters a cost center into the search engine, it would bring back financials, headcount, etc. for that cost center.
    Thanks,
    Jason

    The BI Accelerator has been renamed to BW Accelerator (BWA)...
    BWA does index the data - the data is indexed and stored in a proprietary file system on a high speed SAN. This is done because the BWA does not have a database of its own and is designed as an appliance.
    The index file is loaded onto main memory while querying and then TREX searched the indices and the data is returned by the BWA to the OLAP processor.
    The BWA main memory is a FIFO system where the index files are loaded into.
    I have seen TREX being used for metadata but sparingly ... the only place I have seen TREX being used for data is in the BWA. will read through the links on netweaver search technology and see if I can find anything more. thanks for the links...
    Edited by: Arun Varadarajan on Jun 17, 2009 2:07 AM

  • 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'.

  • Search is not indexed

    Hi.
    Checking my Logs files i found a lot of Warnings messages that make reference to unindexed search. What commands i have to use to reindex all the database or what comands i have to run in order to reindex only the attributes and what attributes i have to reindex????
    this are the log messages...
    thanx for all Ramses
    errors log
    [16/Feb/2006:00:44:26 -0600] - WARNING<20805> - Backend Database - conn=4355 op=
    18 msgId=19 - search is not indexed
    [16/Feb/2006:00:44:33 -0600] - WARNING<20805> - Backend Database - conn=4273 op=
    193 msgId=194 - search is not indexed
    [16/Feb/2006:00:44:49 -0600] - WARNING<20805> - Backend Database - conn=4275 op=
    164 msgId=165 - search is not indexed
    access log
    [16/Feb/2006:00:44:26 -0600] conn=4355 op=17 msgId=18 - SRCH base="dc=mydomain,dc
    =gob,dc=mx,o=internet" scope=0 filter="(|(objectClass=inetDomain)(objectClass=in
    etdomainalias))" attrs=ALL
    [16/Feb/2006:00:44:26 -0600] conn=4355 op=17 msgId=18 - RESULT err=0 tag=101 nen
    tries=1 etime=0
    [16/Feb/2006:00:44:26 -0600] conn=4275 op=163 msgId=164 - SRCH base="o=mydomain.g
    ob.mx,o=isp" scope=0 filter="(objectClass=*)" attrs=ALL
    [16/Feb/2006:00:44:26 -0600] conn=4275 op=163 msgId=164 - RESULT err=0 tag=101 n
    entries=1 etime=0
    [16/Feb/2006:00:44:26 -0600] conn=4355 op=18 msgId=19 - SRCH base="o=mydomain.gob
    .mx,o=isp" scope=2 filter="(|([email protected])(mailAlternateAddress=ram@
    mydomain.gob. mx)([email protected]))" attrs="preferredLang
    uage mail mailEquivalentAddress"
    [16/Feb/2006:00:44:33 -0600] conn=4273 op=192 msgId=193 - RESULT err=0 tag=101 n
    entries=1 etime=36 notes=U
    [16/Feb/2006:00:44:33 -0600] conn=4273 op=193 msgId=194 - SRCH base="o=mydomain.g
    ob.mx,o=isp" scope=2 filter="(|([email protected])(mailAlternateAddress=ra
    [email protected]. mx)([email protected]))" attrs="objectClass
    inetUserStatus mailUserStatus inetMailGroupStatus uid preferredLanguage mailRou
    tingAddress mailDeliveryOption mail mailAlternateAddress mailEquivalentAddress v
    acationStartDate vacationEndDate mailConversionTag mailMsgMaxBlocks mailHost mai
    lQuota mailMsgQuota mailProgramDeliveryInfo mailDeliveryFileURL maildeliveryfile
    mailAutoReplyMode mailAutoReplySubject mailAutoReplyText mailAutoReplyTextInter
    nal mailAutoReplyTimeout mailSieveRuleSource mailForwardingAddress mailDeferProc
    essing mgrpMsgRejectAction mgrprejecttext mgrpMsgRejectText mgrpBroadcasterPolic
    y mgrpDisallowedBroadcaster mgrpAllowedBroadcaster mgrpDisallowedDomain mgrpAllo
    wedDomain mgrpMsgMaxsize mgrpAuthPassword mgrpModerator mgrpDeliverTo memberURL
    uniqueMember mgrpRFC822MailMember rfc822mailmember mgrpErrorsTo mgrpAddHeader mg
    rpRemoveHeader mgrpMsgPrefixText mgrpMsgSuffixText mgmanMemberVisibility expanda
    ble"
    [16/Feb/2006:00:44:49 -0600] conn=4355 op=18 msgId=19 - RESULT err=0 tag=101 nen
    tries=1 etime=23 notes=U
    [16/Feb/2006:00:44:49 -0600] conn=4275 op=164 msgId=165 - SRCH base="o=mydomain.g
    ob.mx,o=isp" scope=2 filter="(|([email protected])(mailAlternateAddress=ra
    [email protected]. mx)([email protected]))" attrs="objectClass
    inetUserStatus mailUserStatus inetMailGroupStatus uid preferredLanguage mailRou
    tingAddress mailDeliveryOption mail mailAlternateAddress mailEquivalentAddress v
    acationStartDate vacationEndDate mailConversionTag mailMsgMaxBlocks mailHost mai
    lQuota mailMsgQuota mailProgramDeliveryInfo mailDeliveryFileURL maildeliveryfile
    mailAutoReplyMode mailAutoReplySubject mailAutoReplyText mailAutoReplyTextInter
    nal mailAutoReplyTimeout mailSieveRuleSource mailForwardingAddress mailDeferProc
    essing mgrpMsgRejectAction mgrprejecttext mgrpMsgRejectText mgrpBroadcasterPolic
    y mgrpDisallowedBroadcaster mgrpAllowedBroadcaster mgrpDisallowedDomain mgrpAllo
    wedDomain mgrpMsgMaxsize mgrpAuthPassword mgrpModerator mgrpDeliverTo memberURL
    uniqueMember mgrpRFC822MailMember rfc822mailmember mgrpErrorsTo mgrpAddHeader mg
    rpRemoveHeader mgrpMsgPrefixText mgrpMsgSuffixText mgmanMemberVisibility expanda
    ble"
    [16/Feb/2006:00:44:56 -0600] conn=4273 op=193 msgId=194 - RESULT err=0 tag=101 n
    entries=1 etime=23 notes=U
    [16/Feb/2006:00:44:56 -0600] conn=4273 op=194 msgId=195 - SRCH base="dc=ims-ms-d
    aemon,o=internet" scope=0 filter="(|(objectClass=inetDomain)(objectClass=inetdom
    ainalias))" attrs=ALL
    [16/Feb/2006:00:44:56 -0600] conn=4273 op=194 msgId=195 - RESULT err=32 tag=101
    nentries=0 etime=0
    [16/Feb/2006:00:45:06 -0600] conn=4275 op=164 msgId=165 - RESULT err=0 tag=101 nentries=1 etime=17 notes=U

    Make use db2index.pl.
    Refer to http://docs.sun.com/source/816-6698-10/indexing.html
    HTH,
    Chetan

  • Searching Through My Index

    I am a NEW user of RH HTML 7. I've looked through the Help
    and the book I took my class with and can't find this answer.
    I want RH HTML 7 to search my index and come back with answer
    because the word is NOT in my topics. Can it search both places
    (topic and index) at the same time? Example: I work in HR. We asked
    departments to give us their top 10 repetitive questions with
    "simple" answers. In the answers we also link to our HR Intranet
    site that gives more explanation if needed. I have a topic called
    "Leaves". It gives a simple answer on what Leaves are and how you
    go about requesting one. You can also link to the Leaves booklet
    for more info. But maybe an employee wants to find out about a
    particualr leave like "funeral". So they go to the search icon and
    type "funeral". It will not find it because that word is NOT in my
    topic. I did put it in my index along with a link to the page in
    the Leaves booklet on Funeral Leave but it looks like search DOES
    NOT search the index when looking for at word. Does this make
    sense? I want Search to search through my Index too then return
    with the answer.

    Thanks for the tip!! It' didn't help me for the search, but
    it sure will help me when I am ready to get words from my focus
    group. New employees especially have different terms that we don't
    use at our company. I will use their terms in my synonyms to help
    them reach the page they need. Thanks so much!!!

  • What the correct URL for searching on KM Index

    I have an application that supposed to mimics a KM search over TREX Index.
    When Pressing the button "search" I operate the following url:
    <i>"/irj/servlet/prt/portal/prtroot/com.sap.km.cm.basicsearch?layoutSetMode=exclusive&ResourceListType=com.sapportals.wcm.SearchResultList&SearchType=ctrlpers&QueryString="str"&SelectedSearchIndices="+ Index</i>
    The var "str" stands for the input field (the search Item)
    The var "Index" stands for the Index.
    It doesn't work!
    What am I doing wrong?
    Thanks,
    Meytal.

    Hi,
    If you need a search in TREX index you can try use a portal API  for search.
    See this example <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/library/nw/netweaver-developers-guide-2004s/NetWeaverDevelopersGuide2004s_Documents/KM_articles_new/examples/com.sap.netweaver.kmc.search_servlet.zip">https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/library/nw/netweaver-developers-guide-2004s/NetWeaverDevelopersGuide2004s_Documents/KM_articles_new/examples/com.sap.netweaver.kmc.search_servlet.zip</a>
    It is an example of search in exact index:
                             // get an instance of the indexmanagement service
                             IIndexService indexService = (IIndexService) ResourceFactory.getInstance().getServiceFactory().getService(IServiceTypesConst.INDEX_SERVICE);
                             // build a query object, using the SearchQueryBuilder
                             SearchQueryListBuilder sqb = new SearchQueryListBuilder();
                             sqb.setSearchTerm(query);
                             IQueryEntryList qel = sqb.buildSearchQueryList();
                             // get an instance of federated search
                             IFederatedSearch federatedSearch = (IFederatedSearch) indexService.getObjectInstance(IWcmIndexConst.FEDERATED_SEARCH_INSTANCE);
                             List indexList = new ArrayList();
                             if (index!=null && index.length()>0) {
                                  // take a specified index from index= parameter
                                  indexList.add(indexService.getIndex(index));
                             } else {
                                  // take all available indexes
                                  indexList = indexService.getActiveIndexes();     
                             // it is recommended to use a search session object
                             // for searching execution
                             ISearchSession session = null;
                             if (session==null)
                                  session = federatedSearch.searchWithSession(qel, indexList, c);
                             this.renderResultHeader(response, session, indexList);
                             // get all results from the search session
                             ISearchResultList results = session.getSearchResults(1, session.getTotalNumberResultKeys());
                             this.renderResultList(response, results);
    You can use this code when you press you "search" button and render the result.
    Regards,
    Andrei

  • Backend Database - conn=34870993 op=1 msgId=2 -  search is not indexed

    1. Here is the warning message in my error log, is this kind warning message can be ignored ?
    [09/Dec/2005:09:02:00 -0600] - WARNING<20805> - Backend Database - conn=34870990 op=1 msgId=2 - search is not indexed
    [09/Dec/2005:09:02:05 -0600] - WARNING<20805> - Backend Database - conn=34870992 op=1 msgId=2 - search is not indexed
    [09/Dec/2005:09:02:13 -0600] - WARNING<20805> - Backend Database - conn=34870993 op=1 msgId=2 - search is not indexed
    2. this thread has same error message like above but I don't have a stalled DS server.
    http://swforum.sun.com/jive/thread.jspa?threadID=56035&tstart=240
    thanks for your pointer
    tj

    It means that you are doing unindexed search, which may impact your performance.
    It usually has two reasons:
    a. the attribute is not indexed
    b. attribute is indexed, but you reach your nsslapd-allidthreshold.
    I have this repeated warning message in my server, but that doesn't affect my application a lot so far. I am just keeping my eye on it. However, it's better to fix it.

  • 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

  • Is it possible to search the client for a file in WebDynpro?

    Hi,
    I need to check inside a WebDynpro application wether a
    file exists on a client or not, befor showing or listing it.
    I have a UNC-Name for the location (e.g.
    servername\dirname\filename.extension).
    Another task would be to browse this directory for all other existing files and dirs and list them.
    Is this at all possible with WebDynpro?
    Or would this only be possible by using the filesystem of
    the applicationserver (e.g. mount the dir on the filesys)?
    Is it possible to launch a client-located script (like VB-Script or such) in WebDynpro?
    (e.g. to search the dir, create a text-file and read this text-file).
    Or are these concepts totally against the security-policies
    of web-based applications?
    Thanks in advance.
    Alf

    Hi Alfred,
    generally web applications run in a sandbox on the client.
    That means that they have no access to the file system.
    To get access you need to install a certificate on the client:
    You create a key with the Java-Tool "Keytool" and sign the application (or the applet) with the Java-Tool "Jarsigner".
    That generates a *.cert file wich you now have to export from the parent system and import onto the client (with Keytool).
    You will find many detilled instructions for this procedure in the internet.
    Unfortunately I don`t know how it works with Web Dynpro.
    Karsten

Maybe you are looking for

  • Can not view picture on Facebook and EBay app

    Please,can somebody help to understand,why do I have problems of viewing pictures in such apps like Facebook and Ebay. Both apps are updated to the latest version.I am using IPad 4 retina display.Thanx

  • What is better than WAP 200

    HI, I have a small business, i use to have an Access Point from another brand, I had a lot of problems using it like every time it looks like it freeze, I can see the wireless but I don't get internet access from it, and I need to reboot it to fix th

  • Web upload error message:  the resource does not exist

    Hi - I am trying to build a few Flash-based web galleries from within LR using selections of images made as 'Quick collections'. I have entered my FTP settings and saved as a selection - including testing that LR can get access to this by selecting t

  • Import / Export Financial Statement Version

    My customer wishes to edit the Financial Statement Version, particularly the Account Group Hierarchies, in the Production environment.  This can be accomplished by implementing OSS Note 200674. However, our issue is, how do we get those changes to th

  • F4 Help on Dynpro

    Hi experts, how can I implement f4 help on a dynpro. I created 3 screens, and I want to create F4 help on screen 200. As I know I have to create f4 help like the following: AT SELECTION-SCREEN ON VALUE-REQUEST FOR <field-name>. But I don't have selec