Updating a TREX index synchronously

Hi,
Is it possible to synchronously update an Index after a change in a document (Portal-KM) or a record (Backend System)?
The requested change needs to be on the values at hand only and not to trigger a reindex or incremental update process.
Thanks,
Haguy

Hi Haguy,
System Administration - Monitoring - KM - TREX Monitor - Edit Queue Parameters - "Schedule Max Docs: 1" and "Schedule Type: Count". TAKE CARE, this is not adviced for production systems!
See http://help.sap.com/saphelp_ep60sp0/helpdata/en/cb/3fa73bfa3dc87be10000000a11402f/frameset.htm and below for details.
Hope it helps
Detlev

Similar Messages

  • TREX Indexing

    Hi everyone!
    Does anyone ever experienced problems with TREX indexing after installing SES?
    In my project i've just setup SES and strangly Attached files are still being indexed on the old index queues and when i search for the content of the files using the TRM search it doesn't return the expected results.
    Many thanks.

    Hi Reddy,
    TREX Queue maintains both index and deindex call entires.
    Since you have deleted the ABC folder with 10 documents, it also has the deindex count of 10 .
    This is the reason why you have 22 indexed documents plus the previous 10 deindexed documents.
    You can check this by display queue entries and check for all synchronized documents.
    Regards,
    Srini

  • Sharing TREX indexes between portal instances

    Hi people,
    We created several TREX search indexes in our development portal and we need to reuse them in our productive environment.
    As I read in Migrating Content, changing namespace I understand that the indexes cannot be transported between portal instances.
    My question is: Is there any way to access existing TREX indexes in new portal instances ?
    Thanks

    Hi Daniel,
    of course you can use the same TREX server from two different portals.
    I assume though, that the issue will be, that the resource IDs and subsequently access URLs will not be the same on the two portals. Or that, for other reasons, you will not be able to ensure abolute synchronicity of KM content in the two portals.
    => Cannot use same index for not exactly same content...
    Regards, Karsten
    PS: In this rough context, please also have a look at the linked thread and at the text below, concerning TREX use by totally different apps.
    TRex index_service
    When running several solutions against one TREX, currently you, in the project, have to ensure the following:
    - availability of a TREX Server release that is compatible to all the respective solution releases (check the PPMS or PAM entries of DMS, EP, SRM, etc.)
    - adequate sizing (see above link to distributed systems)
    - maintenance of the proper TREX address in all solutions
    AND MOST IMPORTATNTLY:
    Although TREX does offer index namespaces, most solutions do not address that yet and create indexes in one common directory on the TREX Server.
    Thus, if more than one of the solutions creates technical index names on the TREX Server that are likely to reoccur (e.g. "Test" is created on TREX Server with that directory name, rather than with some techID as directory name), you have to educate the future administrators/powerusers of the project to create only indexes that follow a naming conventiont to avoid index name conflicts (e.g. start all index names with solution prefix "DMS_...", "xRPM_...")
    Note:
    Using one TREX instance instead of several only provides "IT-side integration". It does not produce an information integration. Each solution will only search in its own indexes.
    An enterprise search over KM, ERP, BI and more will be offered with the SAP NetWeaver release <b>after</b> 2004s.

  • CCM TREX indexing error

    To CCM gurus,
    Once in a while, I'd get indexing errors while trying to publish a procurement catalog. The errors would say something like:
    1. Error when deleting TREX metadata for catalog ABC...
    2. Error when creating the index for catalog XYZ...
    3. Error in search index update; discarding existing changes
    And then the catalog update is terminated. What we normally do is restarting the TREX server and then we can publish again.
    My question is...can we resolve this without having to restart TREX each time? Is there a way to re-index TREX without restarting it?
    Regards,
    SN

    Hi SN,
    You can check the 'health' of the TREX indexes specific to CCM by use of report /CCM/CHECK_TREX (you need at least CCM 2.0 SP4 for this). In this report, if the index is either orange or red, it is not usable, if it is green it is fine. If the index is coloured red or orange, drill into this index and there will be some short text indicating what the problem with the index is. Once inside this index it can be deleted using the delete (trashcan) icon - in this case, a full publication is required to regenerate the index from fresh.
    It may also be possible to use report /CCM/RECREATE_INDEX providing the index is still valid on the trex server.
    Regards,
    Jason

  • Error in updating R-tree index

    Hi,
    I want to update a geometry column with a R-tree index on it with a statement like:
    update xxx set xxx.geometry = (select yyy.geometry...
    All geometries in the updated table are NULL before. I get the following error:
    ORA-29877: failed in the execution of the ODCIINDEXUPDATE routine
    ORA-13237: internal error during R-tree concurrent updates: [empty-node
    encountered; rebuild index]
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD", line 7
    ORA-06512: at "MDSYS.SDO_IDX", line 86
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD", line 83
    ORA-06512: at line 1
    What's wrong?
    Joerg

    Joerg,
    This is a known bug in R-tree indexing.
    When you create an R-tree index
    on a table with no geometries, it gives
    this error.
    This is fixed in 8.1.7.
    To get around this problem, make sure
    that atleast one geometry is non-null
    when you create the index.
    For a performance reason, it is not
    recommended that you create
    index on spatial table with NULL
    geometries.
    Updates on such indexed table will
    be very expensive compared to
    creating the index on a fully
    populated table.
    null

  • TREX indexing from content server(maxdb)

    Hello.
    I've installed standalone TREX on Linux, configured the connection to R3 system and to Portal as well. On the R3 I have configured connection to the SAP Content serve(via archive link) where we save some documents(pdf, doc. files). The part which I don't understand is how can I configure the repository of the content server as a source for the Trex index?
    Any hint would be useful. Thanks in advance.
    Vit

    Hi,
    the question is what exactly do you wanna do?
    Integrating a archivelink in the Portal or indexing the documents via ERP?
    In the first case you must create a web repository and define an index.
    In the other case it depends on the SAP Solution but mostly you have to customize the SM59, SRMO, SKPR06.
    Best reagrds
    Frank

  • Transporting KM documents and TREX indexes

    Hi,
    We are planning to transport KM contents with folder permissions and their asscoiated TREX indexes to a new set of EP-KMC and TREX system.
    Can KM migration tool be used for transporting contents from one server to another with permissions.. Or shud we use ICE? Is there any recommended way ?
    How do we transport serach indexes from one server TREx installion to another of the same version..
    Any help ?
    Regards
    Bharathwaj

    Hi Bharathwaj,
    At the moment, the normal way to transport KM content (including ACL) is the ICE way. There are some known restrictions, see http://help.sap.com/saphelp_nw04/helpdata/en/e2/61701deb253242bea2ebeafa190e83/frameset.htm , but if you can live with that, it's the most straight forward way.
    I'm unsure if the migration tool can do that / how easy that would be; never used it.
    A real KM transport tool will be part of the next major release...
    TREX indexes are not transportable at the moment. You have to re-create them on the target system.
    Hope it helps
    Detlev

  • Where to update Corruption Perception Index for Customer/Vendor (3rd Party)

    Hi all,
    Please guide me where (tcode/function) to update Corruption Perception Index (CPI) for Customer/Vendor (3rd Party) according to his Country.
    Thanks
    Chan Phuong

    The reason is due to the schedule line category (t.code VOV6) type CS. In the configuration, Req/assembly is switched off, so requirements will not be passed to MD04. The process itself is clear, the third party goods will not influence the plant stock, hence no need to pass the requirement.
    To fulfill your requirement, you may turn on the field Req/assembly and test.
    Regards,

  • Extending TREX indexes

    Hi Experts,
    may I request, can anyone suggest whether it is possible to extend TREX indexes, how it is done, if it possible to extend the search interfaces for TREX in ABAP?
    With unfeigned regards,
    Ramana Malladi

    Hi,
    It seems that you have not the actual TREX version and there is some database incompatibilities.
    Download the actual version from service.sap.com:
    TREX 6.1 for Search and Classif. (TREX) (From SP000 To SP025 or higher (Recommendation: SP027))
    Greetings,
    Praveen Gudapati
    [Points are always welcome for helpful answers]

  • Portal Search Not Working - Only Returns Portal Content, Not TREX Indexes

    I have configured two indexes using the portal.  One is for documents that reside on the portal, and the other one is for a website that we have configured in TREX using Cruiser.  The TREX Admin console shows that the website information has been indexed.  However, when I search on a word in Portal, only the portal contents are displayed.  Is there a different search field for looking up TREX/indexed files?  I'm using the search field that's on the front page of the portal.  Also, both indexes belong to the same index group.  I did use the serach feature built-in to TREX Admin to verify that there were documents stored in the index.

    Please check Below Link
    http://help.sap.com/saphelp_nw04/helpdata/en/46/5d5040b48a6913e10000000a1550b0/frameset.htm
    And Edit Crawler Parameter's field Follow Redirects on Web-Sites to YES

  • Where are TREX index stored? TREX server File system? or KM repository?

    hi, friends:
    can  someone tell me where are TREX index stored ?
    in TREX server file system?
    or in portal KM repository? file system or DB?
    thank you
    Carol

    Carol,
    TREX is a separate product. During installation and configuration of TREX you connect it to the portal. The search iViews of the portal will use the configured TREX server to do the actual search:
    SAP Help: http://help.sap.com/saphelp_nw70/helpdata/EN/a4/929d4206b70931e10000000a1550b0/content.htm
    The index is stored on the TREX server: TREX/IndexServer/basepath/index=%(SAP_RETRIEVAL_PATH)/index
    SAP Help: http://help.sap.com/saphelp_nw70/helpdata/EN/4c/d91e40777cdd5fe10000000a155106/content.htm
    br,
    Tobias

  • Searching TREX Index through Web Dynpro

    Hi experts,
    I'm trying to search through my TREX indexes with Web Dynpro. I have found some sources on this website and they seem to work, but when I test my Application, the table I want to fill stays empty.
    The strange thing is that the "getNumberResultKeys()" variable is returning a correct value, but that the "ISearchResultList" stays empty.
    I'm a newbie in Web Dynpro, so any help will be appreciated!
    I wrote the following code:
         try{
              com.sap.security.api.IUser nwUser = UMFactory.getAuthenticator().getLoggedInUser();
              com.sapportals.portal.security.usermanagement.IUser user;
              user = WPUMFactory.getUserFactory().getEP5User(nwUser);
              ResourceContext resourseContext = new ResourceContext(user);
              IIndexService indexService = (IIndexService)ResourceFactory.getInstance().getServiceFactory().getService ( "IndexmanagementService");
              IFederatedSearch federatedSearch = (IFederatedSearch)indexService.getObjectInstance("federatedSearchInstance");
              List indexlist=indexService.getActiveIndexes();
              SearchQueryListBuilder sqb = new SearchQueryListBuilder();
              sqb.setSearchTerm("SomeSearchTerm");
              IQueryEntryList qel = sqb.buildSearchQueryList();
              ISearchSession session = federatedSearch.searchWithSession(qel, indexlist,resourseContext);
              ISearchResultList results = session.getSearchResults(1, session.getTotalNumberResultKeys());
              ISearchResultListIterator iter = results.listIterator();
              while (iter.hasNext())
              ISearchResult result = iter.next();
              IPrivateDetailView.IPracticeDataElement PracticeData = wdContext.createPracticeDataElement();
                                            PracticeData.setContentSnippet(result.getContentSnippet());
                                            PracticeData.setResource(result.getResource().toString());
                                            wdContext.nodePracticeData().addElement(PracticeData);
         } catch (ResourceException e1) {
                        throw new WDRuntimeException(e1);
         } catch (UserManagementException e2) {
                          throw new WDRuntimeException(e2);
         } catch (WcmException e3) {
                        throw new WDRuntimeException(e3);
    Thanks in advance for you help,
    Edwin
    null

    My context:
    value node - PracticeData
    value attribute - Resource
    value attribute - ContentSnippet
    The results are written to the context here (inside the while - statement):
    IPrivateDetailView.IPracticeDataElement PracticeData = wdContext.createPracticeDataElement();
                                            PracticeData.setContentSnippet(result.getContentSnippet());
                                            PracticeData.setResource(result.getResource().toString());
                                            wdContext.nodePracticeData().addElement(PracticeData);
    I created a table with databinding to the value node (and value attributes).

  • Webinar: Understanding TREX Indexing and Search Options

    <b>SAP NetWeaver Know-How Network Webinar: 
    Understanding TREX Indexing and Search Options
    Wednesday 25 August 2004
    11 a.m. EDT</b>
    On Wednesday 25 August, Larry Brambrut, an EP RIG Consultant, hosts the webinar titled  <b>Understanding TREX Indexing and Search Options</b> as part of the ongoing SAP NetWeaver Know-How Network Webinar Series.
    Here’s how Larry describes his webinar presentation:
    “This session will describe the enhancements to "Search and Classification"(TREX) in NetWeaver '04 and EP 6.0 SP2 Patch 6. The session will include a discussion of the CM enhancements such as new crawlers, new search UI options and plug-ins, and TREX enhancements such as the new TREX architecture, delta indexing, and new TREX Admin Tool.”
    SDN invites you to post your questions to the presenter prior to the webinar and continue the online discussion afterward.
    <b>How to Participate</b>
    (Please go to the SDN webinar schedule page to find more information)
    Dial-in Information:
    Date: Wednesday 25 August 2004
    Time: 11 a.m. EDT
    Within the U.S., call: +1.888.428.4473
    Outside the U.S., call: +1.651.291.0618
    Password: NetWeaver04
    WebEx Information:
    Topic: SAP NetWeaver Know-How Network
    Date: Wednesday 25 August 2004
    Time: 11 a.m. EDT
    Meeting Number: 742391500
    Meeting Password: netweaver04 (lowercase)
    WebEx Link: sap.webex.com
    Replay Information:
    A recorded replay of this call will be available for approximately three months after the webinar. Access this recording by dialing the appropriate number and using the replay access code 720155.
    Toll-free: +1.800.475.6701
    International: +1.320.365.3844
    <b>
    About the SAP NetWeaver Know-How Webinar Series</b>
    The SAP NetWeaver Know-How Webinar Series is driven by the SAP NetWeaver Regional Implementation Group (RIG), part of the SAP Development organization. The mission of the SAP NetWeaver RIG is to enable customers, employees, and partners to successfully implement the SAP NetWeaver solution. This SAP RIG has expertise in BI, EP, XI, and WebAS. They contribute their implementation expertise to the SDN implementation forums as well as to the SAP NetWeaver Know-How Webinar Series.
    <b>Disclaimer</b>
    SDN is not responsible for any changes to the webinar schedule. The webinar schedule may be changed or cancelled without prior notice.

    Hi there,
    I just read this thread, and maybe someone here can answer my current trex question:
    I have created an ordinary CM repository, and created an index with this repository as source. Now the problem: I would like to exclude files in the repository with specific mimetypes from the TREX indexing process.
    I have verified that the TrexValidMimetypes.ini does not contain any reference to the Mimetypes I'm creating, but never the less, the document titles are searchable and are returned when searching.
    How do I get around this issue?
    Is it possible in NW04 or EP6.0 SP3 PXXX??
    Regards,
    Hco

  • How does BDB update its secondary index?

    I am asking how does Berkeley DB update its secondary index?
    For example, in a BDB table with key value pair ``<k,v1>``, the index database would have reversed pair like ``<v1,k>``. Upon an insert (or essentially an update) ``<k,v2>``, base table record ``<k,v1>`` should be overwritten to ``<k,v2>``.
    But how would BDB deal with ``<v1,k>`` in the index table? Will it delete it immediately?

    Hi,
    As long as you correctly open the primary database and secondary index database, and associate the secondary index database with the primary, any update on the primary database will be reflected in the secondary index.
    For more information, please refer to Reference Guide for Berkeley DB -> Chapter 3.  Access Method Operations -> Secondary Indexes section.
    Regards,
    Cindy Zeng

  • The location of the TREX index file?

    Experts:
    Would you please help tell us where is the TREX index file located and is it a TEXT file?
    Thanks!

    Hello Ashley,
    on our System (Unix server, trex only) the index files can be found at \usr\sap\ET0\TRX00\...   Numbers dependet on the actual instance number. And itu00B4s probably a little more complicated than "one" Text file...
    maybe this helps,
    regards, Bastian

Maybe you are looking for

  • Secure Zone login form logs user in who isn't registered for it?!

    I have a client who runs an eCommerce site through BC.  We have a secure zone setup for his site and he wants to review and approve users before they are given access.  There is good reason for this so please don't bring up counter-points as it is no

  • SEM-CPM  Execute a new Cockpit

    Hi Gurus, Im new one in SEM-CPM, i have created a new cockpit without any issue, but after i released and assigned into the hierarchie , How can i Execute it ? Regards

  • Is it possible to make a morph between loaded 3d-models?

    I want to load obj-models and then make a morph between them. It's seems like it is not possible in Java3D. Or am I wrong? A morph is made from GeometryArrays which come from shape3d-object. It is possible to get a scene from the loaded model with th

  • "You cant run adobe flash cs4 because it is not supported on this architecture" HELP!

    I just installed adobe cs4 design premium, and everything works fine except for the program I wanted most, which is Flash. It has a little circle with a line through the icon and whenever I try to run it, it tells me that it cant run because it is no

  • Force user to register when attempting to reset password

    Hello,  I've searched but didn't see anything with this exact question. What I'd like to do (if possible) is create a custom error page on the password reset portal, so that if a user enters their username to reset their password and hasn't registere