Creating indexes in Trex

Dear Gurus
Where can I find a good guide - how to define indexes and business objects for TREX in SRM 5.5?
Thank you
Vladimir

Hello Deb,
There is no user interface or supported method to transport indexes from one portal system to another, this feature does not exist. You can export/import indexes directly on TREX using the python scripts however this will not be reflected in the application(portal).
There may however be a workaround you could try, but I wouldn't recommend doing it on a productive system in case of any problems.
In the portal all index configuration is stored in the KM Configuration, it stores all information about existing indexes. So on your QA(destination portal):
1. Navigate to System Administration -> System Configuration -> Knowledge Management -> Content Management.
2. From the Action menu, export the whole KM Configuration using the Export function.
3. Backup this config archive file, in case something goes wrong.
4. Open a copy of this file for editing, and navigate to Install -> data -> cm -> services -> indexes. You can see there the currently existing indexes, configured in KM. You can add a new one here.
5. There are two sub folders there:- "index_folders"  - The configuration for the data sources attached to the index is stored here - "taxonomies" - the configuration for the taxonomies attached to the index is stored here. You can add the needed configuration here, according to the newly added index.
6. Save the config archive file, import it in the portal, and restart the portal.
If for any reason this doesn't work then you can restore the config backup you created at the start.
Regards,
Lorcan.

Similar Messages

  • Error while creating index on  ep 6.0 9 sr1   (trex 6.1).

    Hell o all,
        I am getting following error while creating index on  ep 6.0 9 sr1   (trex 6.1).
    Index could not be created; creating index failed: general configuration error (Errorcode 2030)
    can any on ehelp.
    thanks and regards
    Rajendra

    Hi,
    We are running TREX 6.1.09.00 on EP6.0.9.0.0 and KMC6.0.9.0.0.
    We are experiencing the same problems, even after changing the value in the .ini file as specified in NOTE 766197.
    After doing changes, I restarted the server after doing the changes.
    Alessandro, have you got any ideas for fixing this?
    Message was edited by: Bjorn Bjornstad

  • How to create new INDEX for TREX

    Hello Experts,
    Iam new to this KM and TREX so need ur guidance for this...
    I need to create an INDEX for TREX, so after going through various messages i found that it can be created form the Index Administration iView portal----System Administration -> Syetm Configuration -> Knowledge Management -> Index Administration -> New Index
    But iam not getting the above path in SPRO OR how to run Index Administration iView OR from which portal i need to create an INDEX??can anyone provide steps on how to go to System Administration -> Syetm Configuration -> Knowledge Management -> Index Administration -> New Index
    path.....
    Regards.

    I'm not very familiar with CRM business partners, but the common way - to include the repository where the documents are stored to the KM using [CM Repository managers|http://help.sap.com/saphelp_nw04/helpdata/en/e3/923227b24e11d5993800508b6b8b11/frameset.htm].
    You need first to create a repository manager for you repository and only then you'll be able to create an index.
    Regards, Mikhail.

  • How to create a index in TREX

    Hi Experts.
    I am just a beginner in portals......
    Please float ur step by step approach on
    How to create a index in TREX?
    If anybody has document for this topic pls send it to [email protected]
    Thanks in Advance,
    Jasmine

    Hi Jasmine,
    1. Go to System Administration -> System Configuration -> Knowledge Management -> Index Administration
    2. Choose "Create".
    3. Read the SAP Help Documentation to see a description of the fields the you have to entry: http://help.sap.com/saphelp_nw2004s/helpdata/en/73/66c090acf611d5993700508b6b8b11/frameset.htm
    4. After the new index is assign a data source to the index as described here: http://help.sap.com/saphelp_nw2004s/helpdata/en/73/66c093acf611d5993700508b6b8b11/frameset.htm
    5. After saving the index the crawling should start and shortly you should be able to search for documents.
    Hope this helps,
    Robert

  • Missing queues for created indexes

    Hi,
    I'm trying to enable the search function for e-recruitment.
    TREX is installed and in the ERP 6 system, the customising to create the SSR has been performed, the document class to be indexed set up etc. and the settings have been checked in SKPR07.
    Having set up the indexing, I can see that I now have three indexes in TREX, one for each client in my ERP 6 system.  However, no queues have been created.  Shouldn't the queue be created when the index is created?  Any ideas?
    At the moment the system knows that there are documents to index but can't since I'm assuming there is no queue.
    In addition, when in SKPR07, a message is displayed saying that documents are to be indexed using the new API, SKPR_INDEXING1.  I've not found any help on this and that doesn't seem to work either.
    Any ideas welcome.
    Regards,
    Rob Forster

    Hi,
    Thanks but I've resolved the issue now.  We didn't have any queues at first to be able to flush but it was matter of turning on a parameter to use a queue server.
    There was a pre-processor authorisations problem too.
    Note 658052 and 650521 sorted us as far as indexing documents.
    Now onto why the searches through the portal return 0 hits whilst they work in the backend.  Still, a few more notes about that.
    Regards,
    Rob Forster

  • Couldn't create index errorcode 0

    Hi Expert,
    I would like to create index for web repository.
    1. create HTTP system
    2. create web site
    3. create web repository
    4. create crawler parameter
    and tried to create index by select TREX Search service and crawler in step4.
    but found this msg. " Index could not be created; creating index failed: no error (Errorcode 0) "
    (also TREX Search and Classification and TREX Classification service)
    before I tried to create web index, I created PCD content successfully!.
    I checked TREX monitor,HTTP Server and Name Server is Green.
    How can I check the crawler status, does it collect data successfully?
    Please kindly suggest me.
    Regards,
    Kanok-on K.

    The URL of the TREXWebServer wasn't correct

  • Cannot Create Index in EHP 4 System

    Hi there,
    We got an Enterprise Search 7.0 and some SAP Systems (ERP 6.0 and a NEW IDES ERP EHP4).
    In the ERP 6.0 I can create all Indexes I want to have.
    Starting SES_Admin, create Index and go.
    I the new EHP 4 System (IDES) it's not possible to create an new Index.
    The connection between ES 7.0 and the ERP is fine. The System User got the same Rights like the User in the ERP 6.0.
    In the SES_Admin it's possible to select the Business Objects I want to index, but after I have select them (all or some special) I see no Object in the Ses_admin. The message below is : indexes created: 4, indexes activated: 0 .
    Anyone an idea what I'm doing wrong?
    THX for your Help
    Edited by: Björn Leistikow on Mar 24, 2010 4:50 PM

    I've sold the Problem.
    After installing Trex 7.2 the indexes can be created.

  • Proxy error while creating index

    hi all
            i've configured Trex name server in j2ee visual admin,and ialso configure the prosy server in the following path
    System Administration  ® System Configuration  ® Service Configuration ® Applications (Content Catalog) ® com.sap.portal.ivs.httpservice  ® Services  ® Proxy
    by giving host name
    but while creating index the following error occured
    Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request POST /irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fadministrator!2fsuper_admin!2fsuper_admin_role!2fcom.sap.portal.system_administration!2fcom.sap.portal.system_configuration!2fcom.sap.km.AdminConfig!2fcom.sap.km.AdminSystemIndexes!2fcom.sap.km.IndexAdmin. Reason: Error reading from remote server -
    Apache/2.0.52 (Fedora) Server at www.entegs.com Port 80
    and in SysAdmin/SysComfig/Km/Trex Monitor the following error is displaying  
    Proxy Error
    The proxy server received an invalid response from an upstream server.
    The proxy server could not handle the request GET /irj/servlet/prt/portal/prtroot/com.sap.portal.pagebuilder.IviewModeProxy.
    Reason: Error reading from remote server
    Apache/2.0.52 (Fedora) Server at www.entegs.com Port 80
    can any one give me the appropriate solution for the above,its very urgent.
    awaiting for replies
    Regards
    Gnana
    Note:also tell me how to rate for replies coz through this forums i solved many problems

    Hi Gnana,
    as there seem to be no replies here and I do not have one either, please submit a support message to SAP and be prepared to grant system access.
    Regards,
    Karsten

  • Creating index ,im getting this error

    hi ,
    while  im creating index ,im getting this error:
    Index could not be created; creating index failed: Invalid entry in configuration: section nameserver, key address, value tcpip://<nameserverhost>:<nameserverport> is invalid (Errorcode 7213)
    can you pls help me ?
    Regard,
    prasad D.

    Hi Prasad,
       Please see the TREX Configuration doc  [TREX Configuration|http://help.sap.com/saphelp_nw70/helpdata/en/a9/4a6642161d0f53e10000000a155106/frameset.htm]
    you can check the all the TREX server status in System Administration ->Monitoring ->TREX Monitor .
    Naga

  • Errorcode 2030 while creating Index

    Hi,
    I am try to create an index for the first time and am not able to, because of the following error:
    Index could not be created; creating index failed: general configuration error (Errorcode 2030)
    Can you tell me if there is any place where I can lookup errorcodes and their descriptions?
    Thanks
    Raj Balakrishnan

    Error codes and messages of TREX 6.0
    OSS Note 649574 you can find a attach file in which explain you these message error.
    Patricio.
    List of TREX 6.0 Error Codes and Messages
    (including hints for solving some common problems)
    0000 no error No errors occurred. The process was completed successfully
    0001 multiple operations failed detail provided in a list This problem is mostly caused by HTTP problems when indexing or synchronizing. You must check whether the documents processed are actually available
    0004 Document to delete/update was not found The document that was prepared for deindexing or an incorrect document ID or document name. You must check whether there is a document in the index or on the harddisk (as URL) with the corresponding ID. For non Portal scenarios this error means: "document can not be found". If you use Content Server please check this document for consistency.
    0008 index is corrupted. Must be deleted/repaired by hand An error occurred when the system tried to delete the index. The corresponding entry was deleted from bartho.ini, but the index still exists. Solution: 1. Stop the TREXServices. 2. Delete the index directory and the entries in bartho.ini, TREXIndexServer.ini and TREXTcpipClient.ini manually. 3. Start the TREXServices 4. if necessary delete index in R/3 system (for non Portal scenarios) and clean tables. 
    0010 not enough space available for index creation There is no disk space available for creating a new index. You must chose another disk for the index. (The trace files might be occupying to much diskspace. If so, they have to be deleted.) 
    0011 specified language is unknown or not supported You must check whether the chosen language is supported by TREX and whether the language ID has been entered correctly. You must check also if these languages have been chosen correctly during the TREX installation. 
    0012 directory creation failed An index with the same name has already been created, and an error occurred when the index with the same ID was created again. The old index was not correct deleted :empty index directory still exists. Solution: 1. Stop the TREX Services. 2. Delete the index directory manually. 3. Start TREX Services again. 
    0013 directory removal failed The index directory could not be deleted correctly. This may be because there is a file missing from the index directory, or the index might be locked by another process. Solution: 1. Stop the TREX Services. 2. Delete the index directory and the entry in bartho.ini, in TREXIndexServer.ini and in TREXTcpipClient.ini manually. 3. Start the TREX Services 4. if necessary delete index in R/3 system (for non Portal scenarios) and clean tables. 
    0014 unknown or unsupported data type This may be because the document contains a data type that is not supported.
    0016 an operation has failed on a file (create, delete, copy, move...) This error occurs when the system tries to delete an index that is locked by another process. Solution: 1. Stop the TREX Services. 2. Delete the index directory and the entry in bartho.ini,TREXIndexServer.ini and in TREXTcpipClient.ini manually. 3. Start the TREX Services 
    0018 a received argument has an invalid value This problem can be occurred for example if Search Request is not correct.
    0020 unspecified win32/unix system error The error occurs when the system tries to index an index that has already been partially deleted. Solution: 1. Stop the TREX Services. 2. Delete the index directory and the entry in bartho.ini,TREXIndexServer.ini and in TREXTcpipClient.ini manually. 3. Start the TREX Services 
    0022 automatic index optimization failed This error can occur when another document is indexed by a URL in an index for an existing document. Afterwards the index is no longer available. Solution: 1. Stop the TREX Services. 2. Delete the index directory and the entry in bartho.ini,TREXIndexServer.ini and in TREXTcpipClient.ini manually. 3. Start the TREX Services 
    2001 Multiple operation failed, detail is provided in a list This problem is mostly caused by HTTP problems when indexing or synchronizing. You must check whether the documents processed are actually available. 
    2003  The error normally occurs when you try to create a new index with the same index ID as that of an existing index. If the index is not available in SAP_RETRIEVAL_PATH \Index, you must check whether there is an entry for a corresponding index in bartho.ini, TREXIndexServer.ini 
    2004 Document to delete/update was not found The document that was prepared for deindexing or an incorrect document ID or document name. You must check whether there is a document in the index or on the harddisk (as URL) with the corresponding ID. For non Portal scenarios this error means: "document can not be found". If you use Content Server please check this document for consistency.
    2007 index does not exist This error occurs when you try to delete an index that does not exist (or (de-) index some document in this index). The following points must be checked: Is the name of the index correct? Is there a subdirectory with the same name in SAP_RETRIEVAL_PATH\Index? Is there a matching entry in bartho.ini, TREXIndexserver.ini and in TREXTcpipClient.ini? 
    2011 Document language is unknown or not specified Check whether the chosen language is supported by TREX and whether the language ID has been entered correctly. (You also need to check that the language in question was selected when TREX was installed). 
    2503 Direct load, no queue server existing It should be checked , if the TREXIndexServer.ini has the proper entry for the Index Server, Queue Server and the IndexId. If it is necessary, this entries have to be added manually or from the backup version. 
    2960 The index server (for the specified indexes) cannot be determined check if TREXNameServer should be used, properly configured and run.
    2982 A communication error occured, with the TREX TcpIp Server Check if TREXIndexServer is running.
    2988 Missing argument Possible reason: search query is not correct
    2990 codepage error Possible reason: Codepage is not supported. 
    2998 dll can not be loaded Possible reason: in R/3 system check if in Transaction SRMO during the creation of SSR was selected DRFUZZY as searchengine. 
    6001 QS error: index not found Possible reasons: Index was deleted not complete (queue is still exist), or queue was created from TREXQueueClient. Solution: delete Queue through TREXQueueClient 
    6002 QS error: queue not found The queue has been deleted manually or was never created.
    6009 QS error: no connection to QueueServer The queue server did not start. Also check whether the TREXIndexServer.ini file has appropriate entries for the index server, queue server, and index id. If necessary, enhanced these entries manually or using the back-up version. 
    6017 QS error: queue not deleted The queue can not be deleted. The TREX index server, preprocessor, and queue server must be stopped and the queue index must then be deleted manually. 
    6021 QS error: queue exists The queue wasn't deleted when you deleted the index. This error occurred when you tried to create an index with the same ID. You have to delete the entries from this index from TREXTcpipClient.ini. 
    6401 HTTP Status Code 401 : Unauthorized Possible reason: TREX-user has no permissions for this document
    6403 HTTP Status Code 403 : Forbidden Possible reason: TREX-user has no permissions for this document
    6404 HTTP Status Code 404 : Not Found Possible reason: the document is not available
    6806 Preprocessor: filter error check if the document has correct mime-type and if necessary test with the filter.exe
    6906 Attribute engine index not found Subfolder attribute for index was not created with the index. Solution: 1. Stop the TREXServices. 2. Delete the index directory and the entries in bartho.ini, TREXIndexServer.ini and TREXTcpipClient.ini manually. 3. Start the TREXServices 4. if necessary delete index in R/3 system (for non Portal scenarios) and clean tables. 
    6915 UNKNOWN_ATTRIBUTE (AttributeEngine) check the search query. Requested attribute is not available in the index.
    Message was edited by: Patricio Garcia

  • Creating Index in KM

    Hi,
    I'm trying to create Index from Index Administration but its giving me the following error:
    Index could not be created; creating index failed: Invalid entry in configuration: section nameserver, key address, value tcpip://<nameserverhost>:<nameserverport> is invalid (Errorcode 7213)
    Where I should configure this setting?
    Thanks,
    Priya

    Hi Priya,
    you can configure this setting in the config tool under Global Serever Configuration --> services --> trex.service --> nameserver.address
    Best Regards
    Frank

  • Create Index to use Like Clause

    Hi All,
    I want one of my query to use a index which runs with a LIKE Clause. I have not done that before but i have heard and seen through forums that its possible to create indexes for a column with Like Clause using function based index.
    Function
    Request the forum users to achieve my objective. Let me list down what i have done.
    Function
    CREATE OR REPLACE FUNCTION RND_LIKE(P_NO IN VARCHAR2)
    RETURN VARCHAR2 IS
    RESULT VARCHAR2(240);
    BEGIN
    RETURN P_NO||'%';
    END RND_LIKE;
    SELECT ENAME FROM EMP WHERE ENAME LIKE RND_LIKE('A')
    Here based on this function i want to create a function based index and force the same to my query. Request the forum users to help me out in this.
    Thanks
    Edited by: ramarun on Dec 18, 2009 9:26 PM

    In the case you had there , Oracle would use an index on ename in a query if you were to type A% in the ename item on a Form. You wouldn't need a function index for that.
    Here's the link to the documentation to create a function based index http://download-uk.oracle.com/docs/cd/B28359_01/server.111/b28310/indexes003.htm#i1006674

  • What is the difference between creating index on cube and infopkg in PC

    Hi All
    I have process chain in which after executing infopkg(load data infopkg),creating index on cube i.e Object type is Cube ,for which execution time is 1 hour,then after (subsequent step ) again create index  at this time object type is "infopkg"
    execute infopkg for which time is 2 minnutes,what is the diffrence between these two,if i reome create index from cube i can save 1 hour time,I have to reveiew this
    chain for performance,plese post me your thoughts,it's argent,your help will be heighly appreciatable.Thanks in advance.
    regards
    EA

    By default once u use create index process type Object type has Infopackage - change it to Cube tech name.
    If its Cube - Indexes will be deleted or created for all the date in the cube.
    Message was edited by:
            Jr Roberto

  • REBUILD INDEX vs DROP/CREATE INDEX

    Hi there,
    Does anyone has already got some performance degradation after REBUILD INDEXes ? Would it be better to perform DROP/CREATE INDEX instead ?
    Thank you very much for anu reply.
    Best regards,
    Helena

    Hi,
    >>so is it then better to DROP/CREATE them ?
    Well, In fact I learned that when you rebuild an index, Oracle creates a new index from the old index and does not perform sorting while building the new index, which results in performance enhancement. In this case, depending of the size of your data it's necessary sufficient space on a tablespace for storing the old as well as the new index (while creating the new index). Other advantage, is that Oracle can use the old index for answering queries while it builds the new index too using [alter index <index_name> rebuild online].
    Cheers

  • H2 devide implicit and explicit created indexes by dictionary views?

    For migrating amounts of data it is useful to drop and recreate indexes and referencing constaints. A implicit created index by defining a primary/unique key constraint will be dropped implicitly by dropping the before mentioned constraint. Creating such a constraint after creating an equivalent index with the constraint name will result in an other behaviour. The explicit created index will not be dropped by dropping the referencing primary/unique key constraint.
    So far so good and well known. The question is: Which dictionary view columns will show me the difference between implicit and explict created indexes if I try to dynamically drop and recreate indexes and unique / primary key constraints?

    Oracle Version is always helpful in answering questions, but for 9i you can find the system generated by:
    dba_indexes.generated = 'Y'
    or
    'SYS_' naming convention for system generated indexes
    or
    dba_constraints.constraint_name = dba_constraints.index_name
    Hope this helps - JTommaney

Maybe you are looking for

  • How to check COPA Data in R/3

    Hi Experts, There are some entries of COPA posted in BW are incorrect. Business wants to know who has posted these entries in R/3 . Could you please suggest me some transactions codes of R/3 for COPA related data so that I can investigate it. The pro

  • How can i set a password when i open mozilla firefox homepage

    how can i set username and password to the homepage of mozilla firefox

  • I-Tunes for Windows - I-pod Sync

    HI, I have the new windows 8.1 and the new i-Tunes 64bit downloaded and installed. I cannot see my i-pod anywhere on my i-tunes and cannot sync my i-pod. Please help as I have uninstalled and installed 6 times in the past few months and not getting a

  • How to read historical alarms end events from client computer

    How Can I read historical data stored on server computer using Lookout client computer? After installing Lookout client I have not possibility to use NI MAX viewer. What is preferred way for display historical data on client computer? Does client ser

  • Missing Adobe PDF reader after Anna update

    I can't be certain that I lost the PDF reader because of the Anna update, but after the update I noticed that I no longer have the Adobe reader app and if I try to open a PDF file, it says it's an unknown file. Can someone help me re-install Adobe re