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.

Similar Messages

  • 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

  • Local Portal instance in branch office

    Are there any solutions for speeding up Portal for remote/branch office users?
    We have a lot of users who will be accessing the corporate network & Portal over relatively slow lines or satellite links; buying more bandwidth is physically not an option in some places we operate.
    Has anyone looked at installing a local Portal instances in the field, and replicating PCD content to still allow central administration?
    Does SAP have any offerings in this space? Global/Federated Portal does not address the speed issue - users still go across the WAN to render their content. Portal Lite is still too slow.
    Any and all ideas appreciated.
    RBL

    Well spoken - you can't speed up the speed of light.
    Luckily, many of our content sources CAN be replicated to the branch offices. We use Lotus Notes/Domino for many web apps & web content; DFS (Microsoft replicated file system) for distributing files; and Exchange Public Folders for replicating commonly accessed email-type postings.
    Have you (or anyone out there) found any solutions for keeping PCD updates in sync between a head office Portal and a branch office Portal?

  • 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

  • Question about load balancing between Portal and ABAP

    Hi,
    I have the problem whit load balancing between Portal and ECC (ERC) ABAP
    Exist two system:
    1) ECC (ERP) ABAP = Backend     Module = HR
    2) EP (JAVA) = Frontend
    The users (9000 users) logon in the EP and run query (data personal) in the ECC.  The problem to all user connect in Central Instance and not in the Dialog Instance.
    How can balancing the conecction HTTP (EP) to ECC (ABAP)??
    I need balancing in the ECC to Dialog Instance

    Jco -> right. Another possibility is that you use iviews that point to the backend in this case you will need to use a load balanced entry for the backend system in the [system landscape|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/8c1e438d7017fce10000000a42189c/frameset.htm] -> SAP_R3_LoadBalancing
    If you have ESS deployed on your portal, you will most probably need to do both.
    Cheers Michael

  • Question about Multiple Portal Instances

    WE HAVE iAS 1.0.2.2 ON W2000 SERVER AND
    DB 8.1.7 ON ANOTHER W2000 SERVER.
    WE HAVE A COUPLE OF PORTAL INSTANCES AND WE PLAN TO HAVE MORE IN THE FUTURE.
    EACH PORTAL INSTANCE HAS ITS OWN LOGIN SERVER DAD.
    EACH PORTAL INSTANCE REPRESENTS A DIFFERENT COMPANY.
    WE ARE STILL IN DEVELOPMENT PHASE, TO ACCESS A PARTICULAR PORTAL INSTANCE WE USE
    FOR EXAMPLE:
    http://hostname/pls/DAD_INSTANCE1 http://hostname/pls/DAD_INSTANCE2
    I WOULD LIKE TO KNOW WHAT IS THE BEST SOLUTION TO ACCESS EACH PORTAL INSTANCE LIKE
    http://company1.com http://company2.com
    I WILL APPRECIATE ANY ADVICE.
    TKS!!
    null

    You can set up those names, company1.com and company2.com in internal DNS server, if you have one. Or, get an official domain name. Once you get them, you need to modify httpd.conf accordingly. What we do next is modify index.html so an request for company1.com is redirected to /pls/DAD, which is portal home, using onload() javascript function. Then, you can get to portal home by typing http://company1.com as url.

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

  • 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

  • TREX: indexing problem

    Hi,
    I'm trying to configure TREX in our portal. I've created an index (search index) and I've assigned data to index (html files and pdf files).
    When I test the indexing process in the TREX Monitor, I always see that some pdf files aren't indexed. I assign them to index again and again, but they aren't indexed. I get "Preparation Failed" for these documents and the indexing process doesn't continue (it seems that it stops).
    What can it be the cause?
    Thanks in advance,
    Samantha.

    Hi,
    There is no need to create new repository. You can add that folder as "Data Source" to Index. Then all files and folders under that folder will automatically indexed.
    Please follow the below steps.
    1. Create a new Index.
    2. Add folder (Whatever you created) as "Data Source" to index.
    3. Save data source.
    Now you can get all your documents indexed.
    Here note one points. You will not get all the documents indexed immidiately. This will depend on your TREX load.
    Other wise if you want it immediately flush the particular index.
    1. Logon to portal as Administrator
    2. Navigate to 'System Administrator' -> Monitoring -> Knowledge Management -> Cache Monitor
    3. Note the System ID of you local system from combo box under System ID
    4. Navigate to System Administration -> System Configuration -> Knowledge Management -> Content Management -> Global Service -> System Landscape Definations -> Systems -> Content Management System
    5. Check that the same System ID Should be there. If not there please add it by clicking on button 'New'
    6. Navigate to System Administration -> System Configuration -> Knowledge Management -> Content Management -> Global Service ->Scheduler Tasks -> Index Management Task Queue Reader
    7. Open "IndexServiceTaskQueueReader" for editing
    8. Add the same system ID under "System ID"
    I think this will solve your problem
    Regards,
    Senthil kumar K.

  • Using a ABAP SES TREX Index in KM

    Dear Experts i have created a TREX index with transaction SES_ADMIN for data from the ABAP stack. Is it possible to use this index in EP with KM? The index is created in ABAP Stack and is available in TREX Administration tool.
    I am hoping it is possible to manage this index with KM please tell me how this is possible.
    Regards.
    Martijn

    Hi Martijn,
           No, you must create index in KM Portal. Then if you have integrated stack ABAP with TREX, you can see and manage all created indexes.
          Using TREX you also index ABAP, SAP PI or BI. It's very easy to do.
    Regards,
    Patricio.

  • How do select on 6 digit varchar field yymmdd index between 960530 & 120630

    I've been told that when you have a 6 digit date in the form of varchar2(6) yymmdd as an index for a table that you can't use a function on it or else it will mess up the index. For instance, you can do
    SELECT cust_date
    FROM customer
    WHERE to_date(cust_date,'RRMMDD') BETWEEN '01-MAY-1995' AND '31-JUL-2012'
    ....but it will mess up the index and it will search through the whole table.
    So, I'm looking for a way to formulate my SELECT statement to search on a date range on cust_date without messing up the index which is a varchar2(6) field containing yymmdd. The actual info that the user is entering is in the form of yymmdd so we can use that instead of the formatted '01-MAY-1995' AND '31-JUL-2012' if you like. And yes, this is in a pl/sql procedure so you can use variables if you like.
    p.s. I didn't design the table nor am I allowed to alter it.

    Hi,
    if you work yet on this terrific date design, why not being consistent then?
    create table customers as (select ename, hiredate from emp)
    alter table customers add (cust_date varchar(6))
    insert into customers (select ename||'20', add_months(hiredate, 360), null from emp)
    14 row(s) inserted.
    update customers
    set cust_date = to_char(hiredate,'YYMMDD')
    28 row(s) updated.
    create index idx_cust_custdate on customers (cust_date)
    Index created.
    select cust_date, hiredate from customers
    where
    cust_date > '950501'
    or
    cust_date &lt; '120731'
    order by hiredate
    CUST_DATE     HIREDATE
    101217     12/17/2010
    110220     02/20/2011
    110222     02/22/2011
    110402     04/02/2011
    110501     05/01/2011
    110609     06/09/2011
    110908     09/08/2011
    110928     09/28/2011
    111117     11/17/2011
    111203     12/03/2011
    111203     12/03/2011
    120123     01/23/2012
    Operation     Options     Object     Rows     Time     Cost     Bytes     Filter
    Predicates *     Access
    Predicates
    SELECT STATEMENT
                     13     1     5     182           
    SORT
         ORDER BY           13     1     5     182           
    CONCATENATION
    TABLE ACCESS
         BY INDEX ROWID     CUSTOMERS     12     1     2     168           
    INDEX
         RANGE SCAN     IDX_CUST_CUSTDATE     3     1     1                 "CUST_DATE"&lt;'120731'
    TABLE ACCESS
         BY INDEX ROWID     CUSTOMERS     1     1     2     14           
    INDEX
         RANGE SCAN     IDX_CUST_CUSTDATE     3     1     1           LNNVL("CUST_DATE"<'120731')     "CUST_DATE">'950501'Just to be complete: you didnt ask for emulating the RR-date-format, did you?
    regards
    Edited by: chris227 on 17.07.2012 16:09

  • TREX integration with Portal

    Hello,
    We have installed TREX in one of the portal instance. Wanted to know how to integrate it on Portal so that we can perform the Search across the Portal page developed like Wep Page Com[poser, URL iView pages etc.
    regards,
    Jaish

    Hi! Jaish!
    First you need to check that Httpserver have been installed on the TREX server, this service its the anchor beetween Portal, Java Applications, and Trex Server, one proof is  check this URL
    http://<YOUR SERVER>:30005/TREXHttpServer/TREXISAPIExt.dll?CMD=PING
    if this doesnt work, check this thread https://www.sdn.sap.com/irj/sdn/thread?threadID=53149 to configure HttpServer... or search more information about Trex HttpServer
    Then you need what others has said to you... set the nameserver on portal machine, using visual administration.
    Hope its help.
    Edited by: José Francisco Maldonado Vargas on Jun 23, 2008 12:02 PM

  • KM and Trex index

    Hi
    I have a requirement to create a small search application that would have to search in TREX which already has the indices related to CRM catalogs. I am aware that TREX does not have APIs exposed directly, but can be indirectly accessed through KM. Although I have the code to search and display search results from the existing active indexes, I dont know how to create or connect the KM to the Trex index.
    What configuration do I have to do in KM to get hold of these indexes in TREX?
    Thanks
    OJ

    Maybe
    this:
    How-To create an index:
    http://help.sap.com/saphelp_nw70/helpdata/EN/46/9d1405fa743ef0e10000000a1553f7/content.htm
    How-To search an index:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9237e490-0201-0010-f3a1-9a322ccbd8b1
    will help you ?
    Best regards
    Khaled

  • Difference between Database, instance and schema

    Hi
    I don't know the clear difference between database, instance and schema.. In the broad sense, everything seems to be the same. If anyone can differentiate between them with some example, that will be of great help.
    Thank you.

    Hi,
    In Oracle, people often do use "database" and "instance" interchangeably, or together as one term: "database instance".
    A "schema" is quite different. A schema is a collection of objects (such as tables, indexes or procedures). Every object belongs to exactly one schema, and every schema is a part of exactly one database. (Names may not be unique, however. For example, your database may have one schema named SCOTT, and another schema named USER1. Each of those schemas may have a table named EMP. The EMP table in the SCOTT schema, or SCOTT.EMP, is not the same as the EMP table in the USER1 schema, or USER1.EMP. A different database, my database for example, may also have schemas called SCOTT and USER1, which are completely independent of the SCOTT and USER1 in your database.)

Maybe you are looking for