Context Search through TREX : Index Monitoring

Hi,
If you are using PI 7.1 with EHP1, then you can following threads to search the messages using Trex:
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d05c14c3-34af-2b10-a1b1-fa2a39e0d2ae
/people/niki.scaglione2/blog/2010/02/22/payload-searching-without-trex
It should be there, sicne Trex server is installed.
Else, you have to write the ABAP code for search:
/people/sravya.talanki2/blog/2006/02/21/abap-based-trex-in-xi-proto
Regards,
Sushama

Hi ,
   The global settings is valid for all components u have selected for indexing. You can use the default value itself.
ther are parameters like
    1)     Maximum number of messages per package to be transferred to the TREX server
    2)     Maximum size in KB of message packages transferred to the TREX server
    3)    Time interval in minutes for the periodic transfer of message packages to the TREX server for indexing
    4)    Time interval in hours for the periodic reorganization of the index of a component on the TREX server
    5)    Time period in days for the retention period of messages in the index
    6)    Time interval in minutes for the periodic processing of the TREX queue
    7)     Maximum number of entries for processing in the TREX queue
Also ther are filters  available. if the filter is empty then all the messages will get indexed and will be available in search,
if u enter any details in filter option, then  that particular interface only be indexed and only indexed messages will be available for content base search. The use of filter will improve the performance in case of large message flow and also it will save your hardware resources. but make sure that all required interfaces will be available in filter or other wise will searching you will get confused.
Regards
Pradeep P N

Similar Messages

  • 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!!!

  • Searching Through TREX--

    Hi
    My Index service manager running fine without any error ,also validated the Monitors which seems to be OK.all documents is indexed without error,But while seraching it gives me following error
    Error during search occurred - com.sapportals.wcm.WcmException: A received argument has an invalid value (Errorcode 18)
    An unexpected severe error occurred during the search call. If the situation persists, inform your system administrator.
    Any body Pls help on this regard
    Regds
    Shovan

    Hi,
    We have the same problem.
    How did you fix this issue?
    Thanks,
    Samantha.

  • 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

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

  • Search on classfication using Trex-index

    Hi all,
    In the IMG for DMS, there is a setting to configure an index for searching on classification data.
    Where is it possible to search on that index? Only through portal or is there a way to search in GUI?
    I dont think it is used in CV04N, but please prove me wrong if so.
    Regards,
    Espen Leknes

    Hello,
    is it possible to index TREX  for searching on classification data in DMS?
    Is it possible to use this index in SAP GUI?
    Regards
    Andreas

  • TREX Monitor / Index Monitor are hanging

    Hi Experts ,
    We are running on EP 2004s SP 12 and TREX 7.0 rev 34.
    Our issue is TREX Monitor (System Admin -> Monitoring -> KM -> TREX Monitor) is hanging and not able to display anything.
    Same thing is happening with Index Monitor also .
    We have checked both TREX and EP are running fine , I can see other iViews in monitor view eg. - Crawler Monitor .
    Can anybody help ..
    Thaks & Regards,
    Amit

    Hi Amit,
    I have had this issue before as well but unfortunately wasn't able to find out what exactly the problem is. I believe it is some type of communication problem between TREX and your portal. Try restarting both TREX and the portal and see if it helps.
    -Esther

  • 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

  • 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

  • Searching through index

    Hello,
    In a PDF JavaScript I am using "search.query(cSearchTxt, "Index", cIdxPath)" to do the search using index with the option of "All Words", "Any Word" and "Exact Pharase". I do not need the popup window to be opened and showing me file names and number of hits, I want to copy the file names that would have been displayed on the pop up window to be copied to a new folder...
    I am wiling to pay if somebody develops that script to me or show me an example.
    Regards,
    Jeff P.

    I want that to be done without human intervention and it is not only one text string that I search for at this time, there are multiple text string... I have the action script that I only start, it runs by itself but it takes a while to finish...
           From: try67 <[email protected]>
    To: Jeff Paarsa <[email protected]>
    Sent: Tuesday, April 14, 2015 1:16 PM
    Subject:  Searching through index
    Searching through index
    created by try67 in JavaScript - View the full discussionUsing an index is the fastest way, but your control over it using a script is very limited.One possible thing that can be done is to save the search results as a CSV file and then use a script to process that file, which can provide a list of all the files where matches were found. If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7438490#7438490 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7438490#7438490 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following" 
    Start a new discussion in JavaScript by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Using Oracle Text to search through WORD, EXCEL and PDF documents

    Hello again,
    What I would like to know is if I have a WORD or PDF document stored in a table. Is it possible to use Oracle Text to search through the actual WORD or PDF document?
    Thanks
    Doug

    Yes you can do context sensitive searches on both PDF and Word docs. With the PDF you need to make sure they are text and not images. Some scanners will create PDFs that are nothing more than images of document.
    Below is code sample that I made some time back to demonstrate the searching capabilities of Oracle Text. Note that the example makes use of the inso_filter that is no longer shipped with Oracle begging with Patch set 10.1.0.4. See metalink note 298017.1 for the changes. See the following link for more information on developing with Oracle Text.
    http://download-west.oracle.com/docs/cd/B14117_01/text.101/b10729/toc.htm
    begin example.
    -- The following needs to be executed
    -- as sys.
    DROP DIRECTORY docs_dir;
    CREATE OR REPLACE DIRECTORY docs_dir
    AS 'C:\sql\oracle_text\documents';
    GRANT READ ON DIRECTORY docs_dir TO text;
    -- End sys ran SQL
    DROP TABLE db_docs CASCADE CONSTRAINTS PURGE;
    CREATE TABLE db_docs (
    id NUMBER,
    format VARCHAR2(10),
    location VARCHAR2(50),
    document BLOB,
    CONSTRAINT i_db_docs_p PRIMARY KEY(id)
    -- Several notes need to be made about this anonymous block.
    -- First the 'DOCS_DIR' parameter is a directory object name.
    -- This directory object name must be in upper case.
    DECLARE
    f_lob BFILE;
    b_lob BLOB;
    document_name VARCHAR2(50);
    BEGIN
    document_name := 'externaltables.doc';
    INSERT INTO db_docs
    VALUES (1, 'binary', 'C:\sql\oracle_text\documents\externaltables.doc', empty_blob())
    RETURN document INTO b_lob;
    f_lob := BFILENAME('DOCS_DIR', document_name);
    DBMS_LOB.FILEOPEN(f_lob, DBMS_LOB.FILE_READONLY);
    DBMS_LOB.LOADFROMFILE(b_lob, f_lob, DBMS_LOB.GETLENGTH(f_lob));
    DBMS_LOB.FILECLOSE(f_lob);
    COMMIT;
    END;
    -- build the index
    -- Note that this index differs than the file system stored file
    -- in that paramter datastore is ctxsys.defautl_datastore and not
    -- ctxsys.file_datastore. FILE_DATASTORE is for documents that
    -- exist on the file system. DEFAULT_DATASTORE is for documents
    -- that are stored in the column.
    create index db_docs_ctx on db_docs(document)
    indextype is ctxsys.context
    parameters (
    'datastore ctxsys.default_datastore
    filter ctxsys.inso_filter
    format column format');
    --search for something that is known to not be in the document.
    SELECT SCORE(1), id, location
    FROM db_docs
    WHERE CONTAINS(document, 'Jenkinson', 1) > 0;
    --search for something that is known to be in the document.  
    SELECT SCORE(1), id, location
    FROM db_docs
    WHERE CONTAINS(document, 'Albright', 1) > 0;

  • Payload search without TREX

    We have around thousand messages thru PI and need to search a particular field in the xml payload in PI like name, city etc, is there a way to get that message without using TREX, thanks

    Hi,
    Without trex you can use this weblog and can able to search the messages:
    /people/alessandro.guarneri/blog/2006/02/14/super-message-monitor-for-sap-xi
    else you can use suggestion 3 from michal in this thread:
    search material in payload
    else you can come up with this report:
    /people/paolo.romano2/blog/2007/09/07/xi-search-through-the-payload-of-a-messagewithout-trex
    Regards,
    ---Satish

  • 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

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

  • Can we make TREX index only for online content

    Is it possible to have a meta tag online/offline through which we can tell Trex to search only to index the online content.

    Hi swetha,
    Trex will index whatever is under the datasource of the index.
    This means you can't restrict it to <b>index</b> only a part of the sub-tree according to meta-data.
    You can, however, include meta-data in your queries, and <b>search</b> for only "online" documents.
    For that, you need to mark your predefined property (online/offline) as "Indexable".
    Hope that helps,
    Yoav.

Maybe you are looking for

  • HELP! My ringtones won't show up under the "Ringtones" tab

    Hi there, I just got my iPhone a few weeks ago and recently made some custom ringtones using the Myxer app. The finished ringtones were emailed to me in m4r format, which I then downloaded and dragged into iTunes. I enabled the "Ringtones" folder to

  • SQL MP Job Last Run Status Monitor doesn't alert

    Hi Guys, Last run Status Monitor in SQL MP that checks the last run status of agent jobs and generates alerts is not generating any alerts in SCOM. Although we had overrided the monitor to trigger the alerts. Jobs are discovered under SQL agent Job s

  • HT201272 Updating without losing material from iPad??

    My mother has bought several books directly onto her iPad, but they don't show up when connecting to iTunes via laptop.  Her books list is blank, but has 17 titles on her iPad list.  Why aren't they in her iTunes account? We want to upgrade her iPad,

  • On launch of HP Solution Centre:- "Program cant start because ATL90.DLL is missing..."

    I would be very grateful for advice regarding the following message that I have only recently started to experience I have had the HP All-In-One C6380 printer for a few years. When I launch the "HP Solution Centre" and other associated software I rec

  • How to tranfer photos from iPhoto/Finder to external hard drive?

    I read that in order to enable Mac to write to, erase or reformat NTFS devices (my external hard drive), I need to get NTFS-3G. Besides NTFS-3G, I also need Macfuse, which is problematic with Lion. Can anyone please comment, advice or share their exp