ATG Search | Query Rules are not executing

Hi,
We want to put some search relaxation, for example partial entry of a search term returns results i.e.if user enter "shi" results should show all shirts.
Followed following steps for that,
1) Created query rules for wildcard pattern with a actions.(For example created a pattern "shi*" and action "prop,string,displayName,Shirt" , so that when a user enter "shi", search results would return all products whose name contain "Shirt" or "Shirts".
2) After indexing, verified Query Rules are applied; using "Index Review" (QueryRuleLoad -- 4 rules, 4 patterns, 4 actions, from stream)
3) Layered the component /atg/commerce/search/catalog/QueryRequest property ruleMode to exec so that search request contain "ruleMode=exec" as per ATG docs.
4) Clear and Disable cache using the component : /atg/search/routing/CacheService/
5) Search submitted on site for "shi".
6) Verified Search request XML that "ruleMode=exec" is being send to Search Engine.
But as per query rules, search results/response are not coming, verified response XML, but didn't find any clue.
Are we missing any configuration for query rules to execute or the pattern & action which we have created are not proper ?
Thanks,
Sarbajeet

Hi  ,
According to your description, my understanding is that you want to configure Query Rule for the SharePoint Contextual Search (by default its result page is osssearchresult.aspx).
As far as I know, the Query Rules
 work in the SharePoint Contextual Search when you define them on site level. You can create your query rule in
 your Site ->  Site Settings -> Search -> Query Rules.
Meanwhile the SharePoint Contextual Search is based on the result sources defined in the Site Settings->Search -> Result Sources, you need to make
 the result source of your Query Rule to the above Result Source.
Reference:
http://sharepoint.stackexchange.com/questions/64393/where-to-define-query-rule-and-when
Best Regards,
Eric
Eric Tao
TechNet Community Support

Similar Messages

  • Business Rules Do Not Execute When Saving a Form

    When saving a form the attached business rules are not executing. Sometimes we are unable to validate business rules via AAS. When this happens we do a security refresh from Planning to Essbase and Essbase to Shared Services. At other times, we bounce planning and even Essbase and this seems to fix the problem. Today we have tried every combination (bounce planning, Essbase, AAS) and we are able to at least validate biz rules in AAS but we (i.e., users) are uanble to execute the biz rule when they save via the planning form. There are no issues running the biz rules when saving the form using an administration account. Can someone explain what's going on or provide direction as to why this problem happens and how to fix this issue?

    Hi,
    Well is your version 9.3.0.1? If yes then you have my sympathies :). We too have this version and face similar problems with Business Rules. Usually things come back to normal after following the steps mentioned above. However what I would want to know is the following:
    1) From where are you running the Business rules? I am asking this because if you are trying to run from Smartview then I would suggest you look at the time it takes for the Business Rules to execute. If it excedes the timeout settings then it will exit out. However the BR might still be running in the back ground. This you can confirm by looking at the data.
    2) Have you checked if you have installed all the patches?
    Hope it helps.
    Regards,
    Amol

  • Rules are not getting fired - urgent

    Hello
    I am a newbie to the oracle rules engine (10.1.3) and introducing the rules engine in our architecture.
    I have started to fire a simple rule but looks like the rules are not getting fired.
    Here is my code snipped: I am setting a value in the fact if another value is null.
    ==========
    RuleDictionary rDict = RuleFactory.getRuleDictionary(RadiusConstants.RADIUS_REPOSITORY, RadiusConstants.RADIUS_DICTIONARY, RadiusConstants.DICTIONARY_VERSION);
    RuleSession ruleSession = new RuleSession();
    ruleSession.executeRuleset(rDict.dataModelRL());
    ruleSession.executeRuleset(rDict.ruleSetRL(taskName));
    RuleMessage ruleMessage = new RuleMessage();
    ruleSession.callFunctionWithArgument("assert", moduleVo);
    ruleSession.callFunction("run");
    ruleSession.callFunctionWithArgument("assert", moduleVo);
    // ruleSession.callFunctionWithArgument("assert", moduleVo);
    System.out.println(" Module Status " + moduleVo.getStatus());
    ========
    Any help is greatly appreciated. I am not sure if I am missing. I am suing rule author to create the rules.
    I am asserting the fact in the rules engine. Here is the RL file generated from the rule author.
    ==================
    ruleset MODULE_CREATE
    2.
    3. {
    4.
    5. rule ModuleId_Null
    6. {
    7. priority = 0;
    8. if
    9. (
    10. (
    11. fact gov.sec.radius.admin.service.module.vo.ModuleVO v0_ModuleVO && (
    12. (v0_ModuleVO.moduleId == null)))
    13. )
    14.
    15. {
    16. v0_ModuleVO.status = "P";
    17. assert(v0_ModuleVO);
    18. }
    19. } //end rule ModuleId_Null;
    20. }// end ruleset MODULE_CREATE
    =================
    thanks very much in advance
    Yugandhar

    You need to specify the ruleset or rulesets that should be run. If there is only one, you can do:
    ruleSesion.callFunctionWithArgument("run", taskName);
    or
    ruleSesion.callFunctionWithArgument("pushRuleset", taskName);
    ruleSession.callFunction("run");
    If there are multiple rulesets you want to run in order, then call pushRuleset in stack-order that you want their actions executed.

  • Rules are not allowed for jobs with set 'archive edited messages only' flag.

    Hi,
    We are on AEX 7.4 and have enabled user defined search and also setup archiving. Even though the retention period has expired but still the messages are not being
    archived.
    We see following issues:
    1. Unable to setup archiving rule in Runtime Work Bench, we are getting following error:
    Rules are not allowed for jobs with set 'archive edited messages only flag.
    2. Unable to set the expiration of messages using the following link.Each time we specify the number days it shows the same number of
    messages expired.
    http://XXXXX:50000/MessagingSystem/job/reorgdb.jsp
    3. However if we click on "remove messages" button the messages are getting deleted which tells me that the messages are not matching any
    archiving rule hence are being removed.
    Any pointers to the above issue are appreciated!!!
    Thanks,
    Rajeev

    Hi,
    Please check the [link|http://www.****************/Tutorials/XI/Archiving/Index.htm]
    Also check this
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/402fae48-0601-0010-3088-85c46a236f50?quicklink=index&overridelayout=true
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=147266890
    Regards,
    Naveen.

  • Depreciation posting rules are not define for area 00 in company code

    Dear Expert,
    Would like to seek for help, when I run a customize report (AUC without PO not yet capitalized report the system prompt the error depreciation posting rules are not define for area 00 in company code only on the march 2011 on ward but before march 2011 the report is able to display as usual.
    Between., does SAP have the standard report to list the asset which is AUC and not yet capitalized?
    My version of SAP is ECC 6.0.
    Kindly advise.
    Regards,
    Karen

    Hi,
    Thank you for the prompt reply, why the system prompt the error depreciation posting rules are not define for area 00 in company code only on the march 2011 on ward but before march 2011 the report is able to display as usual?
    Please help.
    Regards,
    Karen

  • Rules are not working correctly in OCS 10.1.2

    Hi,
    A few days ago we have encountered a problem in which the BCC rules or any other rules are not processed out of the user's mailbox.
    For example, a user goes to Oracle Mail (the web access, but not WAC), goes to Filters and creates a new rule for dealing with incoming mail (delivered or read, doesn't matter). The rule is processed ONLY if the the user asked to move/copy the mail to a subfolder IN HIS MAILBOX.
    If the user asks to forward ("Send a blind copy to") the delivered mails to a different mailbox (e.g. in OCS or to externally to gmail), the mail is NOT processed by the filter.
    Other than that mails are treated normally, incoming and outgoing. Manually forwarding to other OCS users also works, as well as forwarding to external mail systems such as gmail. Only the 'automatic' forward rule does not work.
    We have checked that the rules/filters are created with " oesrl -p" - and they are created.
    How can we troubleshoot this issue? Has anyone encountered it?
    System details:
    OCS 10.1.2
    Platform: Red Hat AS 4
    DB version: 10.1.0.4.2
    Thanks,
    -- Itay.

    Update:
    Problem resolved. restarted the SMTP-out service.

  • Calcmanager rules are not working

    Hello there,
    we have existing EPM environment 11.1.2.1, We just Installed a new EPM environment 11.1.2.3. After the installation and configuration I exported Calc manager rules from 11.1.2.1 and imported them in to 11.1.2.3 environment.
    It looks like Business rules are not working there. Below are the symptoms of the problem.
    (1) Rules keeps giving random validation errors. (Same rule validates in 11.1.2.1 fails in 11.1.2.3)
    (2) If I create a new rule for my planning application (lets say Test_Rule) and check the DB table I don't see any object being created. (Select * from HSP_OBJECT where OBJECT_NAME = 'Test_Rule')
    (3) Any updates I make to the rules in 11.1.2.3 is not being saved.
    It looks like Calc Manger is having hard time talking to planning DB.
    Any help will be appreciated.
    Thanks!

    If you have upgraded from 11.1.2.1 to .3 you would need to upgrade the planning application. Assuming that you have done that, for validation, you would need to provide validation value for all your Run Time Prompts.
    This can be done in the variables tab of the Rule Designer.
    Let me know if you have issues after these steps.
    Sree Menon
    Calc Manager Team

  • BI content -- Transfer rules are not mapping automatically

    Have  any one come across with this issue.
    We have connected R/3 system  to multiple BI systems.
    Eg:  we have 1 ECC6 & 2 BI systems.
    Business Scenario is .
    I have two different Companyu2019s  A & B in two different Network Domains ( Domain 1 & Domain2 ).
    u201C A u201C Have Ecc6 & BI  in the Network Domain1
    u201C B u201C Have ECC6 & BI in the Network Domain2.
    With in the Individual Domain ECC6 & BI is working Fine.
      Issue : -
    When I connected Company u201C A u201C Ecc6 ( Domain1 ) to Company u201C B u201C BI system ( Domain2 ).
    The connection is showing OK.
    Replication is also OK,
    But  BI content installation have issue, Transfer rules are not mapping automatically with Standard Data sources ( Eg: 0HR_PA_0 ).
    Thanks in Advanceu2026
    @Shaik...
    Pls this is critical issue ... Basis people is saying this is not the issue of Basis..Connection is OK ...SO . it is the issue of BI only.
    any one Advice me ....
    Edited by: shaik on Aug 24, 2008 5:39 PM

    Hi Raghavendra,
    Thanks for Replay,
    Can you explain me how to check the  data mart Connection  ?
    what i am doing is ....
    step 1: Connection is OK.
    step 2 : Replication is OK.
    step 3 : I am going to Install BC Infosource ( Eg: 0HR_PA_1 )
    Grouping -
    In data flow before.
    source system -
    i check the Ecc6 system which is in different domain.
    then i drag the infosource ..... the transfer rules are not mapping ( Not coming )
    pls Advice....
    @ SHAIK...
    Edited by: shaik on Aug 27, 2008 12:41 PM

  • 0PS_C02 update rules are not getting activated when i install 4rm BI conten

    Hi All,
    In BI Dev. sys for PS module-  Project System - Dates 0PS_C02 cube-  update rules are not getting activated when i install from the business content and its giving the error  " IC=0PS_C02 IS=0PS_DAT_PRJ error when checking the update rules                Message no. RSAU461" .
    I deleted the inactive update rules(6 nos) and installed again from BI Content, then the same issue raising.
    Can anyone help me out as i stuck up with this to move to go-live.
    Thanks,
    Sakali

    Hi Vassu,
    here are some of the reasons for getting error in update rules activation.
    1. Check the formula or routines that are used in Update rules and check is there any syntax errors.
    2. check whether the mappings are correct or not.
    3. check the info objects which ur used for mapping are in active or not..
    (or) if the info object may be deleted which ur using for mappings.
    Thanks
    Sai Chand.

  • Update rules are not active

    update rules are not active when transported to quality.
    what can possibly be the error. where to check and correct this issue ?
    thanks,
    Amit

    Amit,
    In your update rules ,i hope there some start routine of update routines couls be there and those rotines didn't transported successfully .Check your update rules in DEV
    Regards
    Prasad

  • Scripts are not executing

    Hi,
    we have scheduled scripts through crontab,but from few days these scripts are not executing,there is no problem with time entries in crontab because some of them are executing correctly,what can be possible reasons for the cronjobs to not to execute.we are using sun solaris sparc 64 bit.oracle 10.1.0.4

    I can't say without knowing what the script does. Maybe somebody changed the permissions on another directory that script needs, or maybe another file it needs is no longer available, or ???
    Just suggesting a troubleshooting step. If you can run the script in a similar setup then you can eliminate the script as a likely problem. I didn't see anything on the crontab entry that looked to be a problem.
    PS: "will the date change with the execution of cronjob or it remains the same."
    No, the date on the cron daemon will stay the same. It just wakes up once a minute to check for things to do and kicks them off, it never restarts.

  • COPA Derivation Rules are not assigning the correct values

    COPA Derivation Rules are not assigning the correct values when we process billing documents in batch.  We currently have derivation rules defined to take the ship to country and refer to custom tables were we identify custom geographic groups (INT/DOM and EAM, AP, etc.).  The derivation rules work accurately when the billing documents are created individually, and more than 75% of them are accurate when generated in batch, but in some circumstances, it populates the derived values with the wrong field and we can not identify where or why that's happening.  It looks like it may have something to do when the ship to customer number account group is different, but that's not consistent..  Does anyone know how or where these values get populated, or have any ideas why incorrect values are appearing sporadically throughout the billing run?  Thanks!!!

    Leigh,
    Apparently the function module is changing the values for some billing docs. Check one of the following user exits, if it gets triggered and the values are changed:
    COPA0001  Enhancement for derivation in Profitability Analysis (CO-PA)
    Function Module: EXIT_SAPLKEDRCOPA_001
    COPA0002  Enhancement for valuation in Profitability Analysis (CO-PA)
    Function Module: EXIT_SAPLKEAB_001
    COPA0003  Enhancement for assignment to profitability segment (CO-PA)
    Function Module: EXIT_SAPLKEAK_001
    COPA0005  Enhancement for actual data update (CO-PA)
    Function Module: EXIT_SAPLKEII_001
    Function Module: EXIT_SAPLKEII_002
    Award suitable points if the above helps. You can also reach me at [email protected]
    Thanks
    Ajay

  • Navigation Rules are not working

    Hi
    I had written my application in Java Creator.
    Now i am shifted to -- NetBeans
    Here my Navigation Rules are not working.
    I am unable to navigate between pages.
    can anyone please help me, why navigations are not working.
    and how to write navigation rules in Netbeans.
    Thanks
    Praveen

    Could you explain more about your problem?
    -Do you have the navigation rules in your faces-config.xml?
    like:
    <navigation-rule>
    <from-view-id>/page1.jspx</from-view-id>
    <navigation-case>
    <from-action>#{Controller.toPage2}</from-action>
    <from-outcome>success</from-outcome>
    <to-view-id>/page2l.jspx</to-view-id>
    </navigation-case>
    </navigation-rule>

  • Af:commandMenuItem action and actionListener are not executing

    Hello all!
    I use JDeveloper Studio Edition Version 11.1.1.2.0. Here's the problem. I have a popup menu like this
    <af:popup id="someMenu" animate="default">
    <af:menu id="pt_m1">
    <af:forEach var="item" items="#{ContextMenuHelperBean.availableUserRoles}">
    <af:commandMenuItem text="#{item.roleName}"
    action="#{ContextMenuHelperBean.changeUserRole_Action}"
    actionListener="#{ContextMenuHelperBean.changeUserRole_ActionListener}"
    immediate="true"
    partialSubmit="false"
    id="pt_cmi1" rendered="true">
    <f:attribute name="userRole" value="#{item}"/>
    </af:commandMenuItem>
    </af:forEach>
    </af:menu>
    </af:popup>
    The problem is that action and actionListener are not executing, when the menu item is selected (but the page is reloaded with no changes). ContextMenuHelperBean has a "session" scope set in adfc-config.xml. What can be wrong with this?

    Now I've encountered a new kind of error. I create a menu in a managed bean like this:
    In JSPX
    <f:view beforePhase="#{RolesMenuSupportBean.createMenus}">
    <af:popup id="cxtMenu" animate="default">
                            <af:menu id="pt_m1"
                                     binding="#{RolesMenuSupportBean.rolesMenu}">
                            </af:menu>
                          </af:popup>In com\cs\webb2\view\utils\menu\RolesMenuSupport.java
        public void createMenus(PhaseEvent phaseEvent) {                       
            List<IUserRole> rolesList = getAvailableUserRoles();
            for (IUserRole role: rolesList) {           
                Boolean hasItem = false;           
                for (Iterator iter = rolesMenu.getChildren().iterator(); iter.hasNext(); ) {
                    RichCommandMenuItem item = (RichCommandMenuItem) iter.next();
                    if (!hasItem)
                        hasItem = item.getText().equalsIgnoreCase(role.getRoleName());
                if (!hasItem) {
                    RichCommandMenuItem newItem = new RichCommandMenuItem();                                                       
                    newItem.getAttributes().put("userRole", role);
                    newItem.setText(role.getRoleName());
                    newItem.setId(ITEM_ID);               
                    newItem.setActionExpression(getActionExpression("#{RolesMenuSupportBean.changeUserRole_Action}"));                           
                    newItem.addActionListener(getExpressionActionListener("#{RolesMenuSupportBean.changeUserRole_ActionListener}"));                               
                    rolesMenu.getChildren().add(newItem);  
        } The menu is created successfully, but when I click on any item, I get an exception
    <b>javax.servlet.ServletException: Method not found: com.cs.webb2.view.utils.menu.RolesMenuSupport@d4702.changeUserRole_Action(void)</b>
    But of course I have such a method in my com.cs.webb2.view.utils.menu.RolesMenuSupport:
    In com\cs\webb2\view\utils\menu\RolesMenuSupport.java
        public String changeUserRole_Action()
            System.out.println("Action!");
            // no code yet
            return "adfMenu_Main";
        }And there <b>is</b> a managed bean named RolesMenuSupportBean, which is associated with class com.cs.webb2.view.utils.menu.RolesMenuSupport.
    Can anyone tell me, what can be wrong?

  • Query changes are not reflecting in the Workbook.

    Hi All,
    I have modified the query by adding attributes. But the changes are not reflecting in the workbook.
    Do i need to insert the query again in the workbook or is there any option that will reflect the changes in the workbook
    Thanks in Advance,
    Suneel.

    Hello Suneel,
    if you insert the query again, it will work, but it is not the best way to delegate the query changes to the workbook.
    Just open your query from within your workbook (BEx menu 'change global definition') and use the green button at the top left in order to transfer the new query structure to the workbook. The query will be executed and you should see the changes.
    Don't forget to save the workbook afterwards.
    Regards,
    Kirill

Maybe you are looking for

  • Opening or Saving As using keyboard alone (without mouse)

    For users who need to limit mouse use (for speed and avoiding wrist strain), OS 10.5.4 initially creates a roadblock to using the Open or Save As command in Microsoft applications (and probably others). There are no obvious keyboard combinations for

  • I purchased a song on my iphone,, how do i set it as my ringtone?

    i purchased a song on my iphone as i want it as my ringtone,,, does anybody know how to do this?

  • On hold if outside payment terms

    Hi all, In B1 its possible to activate a system that alerts if BP is over credit or commitment limit. What my cust needs is a system that sets the BP to 'on hold' if the BP is outside payment terms.  So if there are any open invoices that are overdue

  • Search & Spotlight not finding specific words

    I have a friend who has a G5 and is running the latest version of Tiger. She has 2 related jpg files---one for the normal size (labeled wallpaper.jpg) and the other is a thumbnail (labeled wallpaperthumb.jpg). When she searches for "wallpaper" both f

  • Folder Maks in Library's Package

    Hello, For Aperture 3.0, what do the Tiff files in the directory Maks package of Library ?