MaxField Rankings for Product Search

I'm currently tweaking our default search relranking for my company. I'm fairly happy with the modules in place right now, but there are some issues I'm having trouble with. Here is the RelRank strategy I'm working with:
Static (Stock Status)
NTerms
MaxField
Glom
Exact
While overall this is working well, there are odd searches that seem to throw it off. A search for "Graphics Card" for instance, I'm getting results from Desktops and other categories due to "Graphics Card" being present in the Product Name, which is our highest ranked field for MaxField. So my real question is this, should Product Name always be the highest ranked field in MaxField? Or is there an argument to make it something like category name to assist searches like this one? I have a feeling this may be an area where changing the MaxField rankings will throw off our search in unforeseen ways.
For those out there running a product based search, what are your thoughts?

I found a part of the solution so I share it to save you some time:
We have made following steps
1/ delete indexes on TREX server with
XC1\i$\usr\sap\XC1\TRX18
\Trexadmin.bat
2/ Stop TREX
3/ Modify file
XC1\i$\usr\sap\XC1\TRX18\<server>\topology.ini
Replace this two lines:
token_separator=\/;,.:-_()[]<>!?*@+{}=
number_separator=\/;:-_()[]<>!?*#$&@+{}=
by
token_separator=*
number_separator=*
4/ Restart Trex
5/ Create new indexes
It's now working as expected. But the space is still seen as a word separator (even if there is no space behind the * in the line token_separator=*)
Any idea for this part ?
Regards

Similar Messages

  • "MAXIMUM NO OF HITS" field in selection screen for Product Search

    Hi all,
       We are  running on SRM 4.0.I have a query regarding the Selection screen which appears for the Product Search when we click on the "inetrnal Goods/Servcies" link...
        I have developed a Z-serch help for the Product search wherein i have control of  all the other fields lik "Product ID"," Product description " etc..But not "Maximum no of hits" (since it is  a part of the std functionality)...In the selection sceen field " Maximum  no of hits" ,whatever value i enter  that value is not considered...So is there any way that this field is not diplayed on screen/can be disabled(made an O/p field)...
      All suggestions are  welcome....Please  help...
    Thanks & Regards,
    Disha.

    Well,
    You're talking about COLLECTIVE search help. You won't definie Max No of hit at this level.
    Define an elementary search help and assign to this one a dialog mode (retriction or set of values).
    Regards,
    Bertrand
    PS : Don't forget reward points

  • Product Search in IC WebClient

    Hi,
    I am new to WebClient and now my client has an enhancement for Product Search in WebClient. Any help in this is greatly appreciated.
    Backend system: SAP ECC
    CRM System: SAP CRM 4.0
    Sales Order Creation: in SAP CRM Web Client
    1). Client products come in many different versions (ECC has products globally).
    2). Client need a functionality in such a way that, during sales order entry the interaction center agent should search the product based on the country and product description(sometimes customer group).
    Example: A typical distinction between the different products is the language on the packaging. Products sold to customers in Canada can have multiple language versions: an English only variant, and an English/French variant. Some of the client products can have up to 8, 9 different language versions.
    Therefore an enhancement is needed to select the appropriate version of a product depending on the county of the ordering customer (in some situations also the customer group of the customer is taken into account).
    How we handle this enhancement in Web Client?? Please reply to this as quickly as possible.
    Thanks a bunch!
    -Supraja

    Hi,
    A better solution is to edit your own copy of the navigational XML as per the <a href="http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000647973&_SCENARIO=01100035870000000112&_OBJECT=011000358700003057372006E">Web IC Cookbook.</a> The section you want is around page 60.
    Regards,
    Patrick.

  • Product Search Using Oracle Text or By Any Other Methods using PL/SQL

    Hi All,
    I have requirement for product search using the product table which has around 5 million products. I Need to show top 100 disitnct products searched  in the following order
    1. = ProductDescription
    2. ProductDescription_%
    3. %_ProductDescription_%
    4. %_ProductDescription
    5. ProductDescription%
    6. %ProductDescription
    Where '_' is space.  If first two/three/or any criteria itslef gives me 100 records then i need not search for another patterns
    Table Structure Is as follows
    Create Table Tbl_Product_Lookup
        Barcode_number                Varchar2(9),
        Product_Description Varchar2(200),
        Product_Start_Date Date,
        Product_End_Date Date,
        Product_Price Number(12,4)
    Could you please help me implementing this one ? SLA for the search result is 2 seconds
    Thanks,
    Varun

    You could use an Oracle Text context index with a wordlist to speed up substring searches and return all rows that match any of your criteria, combined with a case statement to provide a ranking that can be ordered by within an inner query, then use rownum to limit the rows in an outer query.  You could also use the first_rows(n) hint to speed up the return of limited rows.  Please see the demonstration below.  If you decide to use Oracle Text, you may want to ask further questions in the Oracle Text sub-forum on this forum or space or whatever they call it now.
    SCOTT@orcl_11gR2> -- table:
    SCOTT@orcl_11gR2> Create Table Tbl_Product_Lookup
      2    (
      3       Barcode_number       Varchar2(9),
      4       Product_Description  Varchar2(200),
      5       Product_Start_Date   Date,
      6       Product_End_Date     Date,
      7       Product_Price          Number(12,4)
      8    )
      9  /
    Table created.
    SCOTT@orcl_11gR2> -- sample data:
    SCOTT@orcl_11gR2> insert all
      2  into tbl_product_lookup (product_description) values ('test product')
      3  into tbl_product_lookup (product_description) values ('test product and more')
      4  into tbl_product_lookup (product_description) values ('another test product and more')
      5  into tbl_product_lookup (product_description) values ('another test product')
      6  into tbl_product_lookup (product_description) values ('test products')
      7  into tbl_product_lookup (product_description) values ('selftest product')
      8  select * from dual
      9  /
    6 rows created.
    SCOTT@orcl_11gR2> insert into tbl_product_lookup (product_description) select object_name from all_objects
      2  /
    75046 rows created.
    SCOTT@orcl_11gR2> -- wordlist:
    SCOTT@orcl_11gR2> begin
      2    ctx_ddl.create_preference('mywordlist', 'BASIC_WORDLIST');
      3    ctx_ddl.set_attribute('mywordlist','PREFIX_INDEX','TRUE');
      4    ctx_ddl.set_attribute('mywordlist','PREFIX_MIN_LENGTH', '3');
      5    ctx_ddl.set_attribute('mywordlist','PREFIX_MAX_LENGTH', '4');
      6    ctx_ddl.set_attribute('mywordlist','SUBSTRING_INDEX', 'YES');
      7    ctx_ddl.set_attribute('mywordlist', 'wildcard_maxterms', 0) ;
      8  end;
      9  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> -- context index that uses wordlist:
    SCOTT@orcl_11gR2> create index prod_desc_text_idx
      2  on tbl_product_lookup (product_description)
      3  indextype is ctxsys.context
      4  parameters ('wordlist mywordlist')
      5  /
    Index created.
    SCOTT@orcl_11gR2> -- gather statistics:
    SCOTT@orcl_11gR2> exec dbms_stats.gather_table_stats (user, 'TBL_PRODUCT_LOOKUP')
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> -- query:
    SCOTT@orcl_11gR2> variable productdescription varchar2(100)
    SCOTT@orcl_11gR2> exec :productdescription := 'test product'
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> column product_description format a45
    SCOTT@orcl_11gR2> set autotrace on explain
    SCOTT@orcl_11gR2> set timing on
    SCOTT@orcl_11gR2> select /*+ FIRST_ROWS(100) */ *
      2  from   (select /*+ FIRST_ROWS(100) */ distinct
      3              case when product_description = :productdescription            then 1
      4               when product_description like :productdescription || ' %'       then 2
      5               when product_description like '% ' || :productdescription || ' %' then 3
      6               when product_description like '% ' || :productdescription       then 4
      7               when product_description like :productdescription || '%'       then 5
      8               when product_description like '%' || :productdescription       then 6
      9              end as ranking,
    10              product_description
    11           from   tbl_product_lookup
    12           where  contains (product_description, '%' || :productdescription || '%') > 0
    13           order  by ranking)
    14  where  rownum <= 100
    15  /
       RANKING PRODUCT_DESCRIPTION
             1 test product
             2 test product and more
             3 another test product and more
             4 another test product
             5 test products
             6 selftest product
    6 rows selected.
    Elapsed: 00:00:00.10
    Execution Plan
    Plan hash value: 459057338
    | Id  | Operation                      | Name               | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT               |                    |    38 |  3990 |    13  (16)| 00:00:01 |
    |*  1 |  COUNT STOPKEY                 |                    |       |       |            |          |
    |   2 |   VIEW                         |                    |    38 |  3990 |    13  (16)| 00:00:01 |
    |*  3 |    SORT UNIQUE STOPKEY         |                    |    38 |   988 |    12   (9)| 00:00:01 |
    |   4 |     TABLE ACCESS BY INDEX ROWID| TBL_PRODUCT_LOOKUP |    38 |   988 |    11   (0)| 00:00:01 |
    |*  5 |      DOMAIN INDEX              | PROD_DESC_TEXT_IDX |       |       |     4   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter(ROWNUM<=100)
       3 - filter(ROWNUM<=100)
       5 - access("CTXSYS"."CONTAINS"("PRODUCT_DESCRIPTION",'%'||:PRODUCTDESCRIPTION||'%')>0)
    SCOTT@orcl_11gR2>

  • Search help for Product category in table level

    Hi Gurus,
    My requirement is to create a Z-table with fields Plant and Product category.
    For this Product category I need to create a table level search help. So I need to know the SRM table used for Product category.
    Could any suggest me any table name or search help or FM that will display the list Product Category .
    Regards
    Paul

    Hi Paul,
    Use the FM 'BBP_GET_ALL_CATEGORIES_F4' for getting all the list of Product Category .
    Thanks
    Bidyut

  • How to Enhance search help for product groups. Currently no ability to add multiple lines from result list

    Hi All,
    In CRM Web UI,  there is no multi selection option for product group id f4 help for Custmer event creation or edit screen under  “Product” tab=> Product Group ID field.
    Web UI Component Details -
    UI component : TPMOE
    View : TPMOE/ProductEOL 
    Context: PRODUCT  Attribute : -PRODUCT_GRUOP
    Click on Product Group ID field then below F4 Help screen appears.
    In the product group results list, user can select only one row and Then all the product will be queried for selected product group, transferred to product list tab.
    Current technical design for Product Group F4:
    a) SE11 Data Dictionary search help “CRM_MKTPL_PGRP1”  is used and data is fetched displayed based it( Refer method GET_V_PRODUCT_GROUP of context node class CL_TPMOE_PRODUCTEOL_CN00)
    b) In UI, F4 pop up is handled by UI Framework in SAP generic manner so no multi selection is allowed.
    c) A round trip event is triggered after selection of row from results which reload view with queried product result based group selected.
    Requirement :-
    In the product group F4 results list View, user should be able to select multiple row .As SAP GUI has the option of multiple entry selection from search help window with the help of field called MULTISEL.
    System should query for products  with all selected product group, transferred to product list tab.
    Note: - The multi select options works fine for GUI, but for UI standard SAP code ignores this or never is this structure taken into consideration. Standard class to display F4 help on UI is CL_THTMLB_F4HELP.
    Can we enforce same behavior like DDIC search help in Web UI too  Or suggest how we can achieve this requirement?
    Thanks in advance
    Regards,
    Arjun

    Hello All,
    We have achieved this requirement by Custom development and approach followed as  -
    Define UI object model zprgrp & zprgrpquery and object relationship in table ZCRM_OBJTAB
    Query Strcuture : ZCRMST_PRGRP_SEARCH & Result List structure : ZCRMST_PRGRP_RESULT      
    Created Custom component : ZPRGRP with Search /Result view and with GENIL Class, search logic
    Defined custom ComponentUsage “ProductGroup1SearchHelp” for ZPRGRP in Standard Component TPMOE
    e.  Called F4 application for field product _group with help component usage created in step d.
    Regards,
    Arjun

  • Function modules for User check and Product search

    Hi,
    Please give me the names of function module which are used for user login check, and Product search.
    Thanks,
    Devender V

    Hi,
    For User login check belwo Function module,
    SUSR_LOGIN_CHECK_RFC for ECC/R3
    CRM_ISA_LOGIN_R3USER_CHECKS for CRM
    For product try below Function module.
    BAPI_MATERIAL_GET_DETAIL
    I hope this information will help you.
    Regards.
    eCommerce Developer

  • About the Error after applying product key for bing search rest service

    For the Project Siena I ve created the product key for Bing search rest service and i applied that product key which is valid even though i got the error when i click TRY button .can anyone please help me to find the solution
    There was an error in retrieving sample data. Error : Unable to reach service. Please check if your service connector configuration is valid and you have network connectivity

    Hello,
    Thanks for your post. I am jotting down few steps to get the Bing search account key (you may have completed many/all of these).
    To add Bing Search Service, go to
    https://datamarket.azure.com/account/datasets and search for "Bing Search API". After you have subscribed to the service, navigate to "My Data" and click on Use. Click on Show and copy the
    Primary Account Key information.
    Note if your key contains a special character like / or = then double clicking on the content will copy the key partially.
    Make sure you have copied the full key correctly. If the is incorrectly pasted in Siena's Primary Account Key field, you will get the error below:
    This is similar to the error you have posted. Since the Primary Account Key is masked you can never be sure the contents are correct. It's best to clear the field and paste the key again.
    If you still face the issue, please post your machine configuration (x86/OS) information.
    Hope this helps,
    -Karthik
    This posting is provided "AS IS" with no warranties and confers no rights.

  • Transaction VB02 - Search help for product hierarchy

    Hi Experts,
    I have a requirement to add a search help for product hierarchy in transaction VB02. Has anybody done this before? I am not able to assign the program & screen to a Z package.
    Thanks,
    Vitz.

    there are already search helps attached to it.. which fields exactly are you talking about?
    try to find BADI for that screen

  • Sales Order in PCUI: Search for products based on BP?

    Hello,
    my customer wants to migrate to PC-UI and has the requirement that when creating a new sales order the search for products only returns those products that are defined by a partner-product relation PPR, as is possible in standard SAPGui. Unfortunately I do not see a way to restrict the search for products in a way like this, is there?
    Thanks
    Thomas

    Hello thomas,
    If it is not available in standard, you can always enhance the query method of your MAC to show select only products based on your parner-product relation PPR.
    Regards,
    Frederic

  • Search help for product category

    Hi experts,
    Here we are using srm 7.0 ,our  requirement is  to modify the search help of product category in item details tab of shopping cart . can you please help me in finding the search help for product category .The search help should be modified to include source system in selection criteria.
    Thanks in advance.
    kamakshi

    Hello,
    Kindly check the webdnpro component  /SAPSRM/WDC_SH_PRODCAT.
    This compoent is called for F4 help of product category.
    You can modify the  search help by enchancing it.
    If you want to  change the logic then in method ONACTIONDO_START you can add post exit.
    Regards,
    Neelima

  • Search function for Product description in shopping cart

    Hi,
    We are using SRM 5.5 version. We have a problem when we are searching the Product with the Product description.
    Shop -> Create Shopping Cart -> Internal Goods/Services
    Enter a pattern between the stars such as
    *cap*
    and then Click Start.
    System is not restricting the search output with the pattern
    *cap*
    . Instead it is displaying all the Products and search is not getting restricted by the search function.
    When I was searching for an OSS note to fix this issue, i found the note(1322462) to fix a similar issue with the Product ID.
    Do we have any SAP note to fix the issue with the Product Description? Please guide me.
    With regards
    Krishna
    Edited by: krishnadasan on Nov 12, 2010 7:37 PM

    Hi Muthu,
    Current service pack  is SP 13(SAPKIBKT13).
    I believe this SAP note 1322462 can resolve the issue with search function for the "Product ID". I will implement this note and let you know the result.
    Do we have any SAP note to solve the issue with the search function for "Product Description"?
    With regards
    Krishna

  • SAP CRM Standard Product Search Not working for ATTR STR_SUPPL2

    Hello Colleagues ,
    Background :-
    Each Product in SAP CRM has a location address .
    Address has an attribute STR_SUPPL2 . This standard field is also a Query Parameter in Product Search Query.
    When we use this Query Parameter STR_SUPPL2 , Search result in an Error Message with no result .
    Technical Analysis :-
    There is a Query Parameter named ST_SUPPL2 in the CRM Product Search ::ProdAdvancedSearchIndObjects .
    When we use this Query Parameter an Error message Appears .
    Search criteria LOCATION_ADDRESS.STR_SUPPL2 in scenario CL_COM_PRSEARCHSCENARIO_LOCAT not included in tool/filter    LOCATION_ADDRESS    STR_SUPPL2    CL_COM_PRSEARCHSCENARIO_LOCAT
    X
    I tried to find out the cause .Its mainly because SAP has coded in such a way to allow only few Location Address parameters in production search .
    This can be viewed in the class :: CL_COM_PRSEARCHTOOL_LOCAT~DO_SEARCH .
    There is a related OSS Note (1018099)  as well ,but its valid for few Fields only .
    We are already on CRM latest SP .
    Client Requirement :-
    Since STR_SUPPL2 is part of standard search criteria and my Client requires to consume this field in Product Search and Result .
    Please if some one can help here .
    MY DOUBTS :-
    Query 1 :-
    Should this be resolved by SAP and Shall i open an Incident ?
    Query 2 :-
    What BADI should i use if i need to write my own custom logic to implement search based on this field STR_SUPPL2 ?
    OR
    if there is an easier way to achieve this ?
    Refer to the attached snapshots.
    Regards
    Nitin

    Hello Samantak ,
    Thanks for your Sol Proposal .
    I checked Implementing COM_PRODUCT_SE .
    But looks like after Implementing the Enhancement Spot , I have to Take care of the Complete Product Search myself  .This is not the intension here .
    Reason : CL_CRM_PRIL_ADVSEARCH_BASE~GET_RANGESEARCH_RESULT
    CALL METHOD me->do_searchengine_search (Ignores all other Location Query Paramaters)
    CALL METHOD me->do_database_range_search
    I just need to enable 1 standard Field :: STR_SUPPL2 Seachable .
    Any comments are welcome

  • Searching for products via Product Hierarchy ID in CRM Webclient 2007

    Hello,
    When creating a sales order in CRM Webclient 2007 I would like to be able to search for products by using the Product Hierarchy ID. When clicking the search help for product in the order entry screen in the webclient UI, I get a pop-up with the available search criteria. I select Product Hierarchy ID and click on Input Help. A new pop-up is displayed with the three Hierarchy ID:s:
    R3MATCLASS Material Group
    R3PRODSTYP Product Subtype
    R3PRODHIER Product Hierarchy
    I select R3PRODHIER. When hitting the search button, I get all materials which have Hierarchy ID R3PRODHIER assigned as a product category in the material master data. I can however not search for materials which belong to a certain hierarchy node in the product hierarchy.
    In transaction VA01 in ECC it is possible to drill down through the three levels of the product hierarchy to find the desired material. Is the same type of searching possible in CRM?
    Any help much appreciated.
    Kind regards,
    Johan Wigert

    Hi Johan
    I want to know if finally you have found the way to deal this problem.
    Thank you very much,
    Yannuchi

  • SRM 4.0- How to set the default values for product type (01) only for SC

    The radio button “Service” should not be visible.
    Also for search help (e.g. search for internal products) where a search should only be possible for product type 01 (goods). The system should not display the product type and internally always search for goods only.
    How to set the default values for product type (01) only for SC
    We needs to use Search help BBPH_PRODUCT which having parameter PRODUCT_TYPE
    Here we can set defalut value 01 but it is not correct one since same search help is using several places.
    We need to limit the search help results only for SC.
    Kindly help out me ASAP.

    The easiest way to set defautl values is to edit the batch class.
    Goto the characteiristic and go to update values.
    In here you probably have something like 0 - 100 as a spec range.
    On the next line enter the default value within this range.  At the end of the line, click in the box in the column labelled "D".  This indicates the defautl value for the characteristic.
    If you need to you can do this in the material classification view as well.
    Just to be clear, these values will only show up in the batch record.  You can not have defautl values in resutls recording screens.
    FF

Maybe you are looking for

  • My 24" iMac experience

    I thought I'd post about my experience and thoughts on my new 24" iMac. I know when I'm thinking of buying something new, it's always helpful to read or talk to others who already have that equipment. I have had the iMac for a week now and one word p

  • "OutlookSyncClient has stopped working" when Exchange Cached Mode is On.

    Hi, I have an iPhone 3G which originally didn't sync with outlook 2003 in Vista. Sync is being perform via USB. I initially tried reinstalling iTunes, Reset sync history, Syncing with new windows user but could not get it to sync without an error. Vi

  • Mac OS X Standard sounds stop working

    Hi guys, Just all of the sudden the typical standard sounds like empty the trash can does not execute anymore. I don´t see why and how can I solve this issue. I tried the Sound into Preference, but dunno what to change. Any help? Thanks and best, Seb

  • How to write XML Parser??

    Hi all, i have an XML file and its structure is like this and i have to write a parser to get the details from this XML and put it in the nodes. Please help me out in the procedure and code <?xml version="1.0" encoding="UTF-8" ?> - <GAEB xmlns="http:

  • Help sap exect path for ABAP

    Hi All,        Please let me know how to navigate help.sap.com for ABAP start to end. When I opned help.sap.com I am not able to find abap releated documents. Pelase help me on this. Thanks, Anitha.B