AI Search Preview using "User Impersonation" doesn't send the necessary user context attributes, hence it will not trigger any Improvement Rules based on the User Context.DescriptionIn San Diego, if you do a 'search as user' in the AI Search Preview (AI Search > Preview > Search Preview) using "User Impersonation", it doesn't send all the necessary user context information. If an improvement rule has been created on the User Context, it will only work, if explicitly set in the "Context Settings" in AI Search Preview and not when 'searching as a user' who has this context set in their user record [sys_user]Steps to Reproduce 1. in an out-of-box San Diego instance, create an AIS Improvement Rule in the Search Profile based on the User Context - Country is "United Kingdom"2. Create Boost Action, for example "Boost By Field Match (static)" when a Catalog Item matches the "Hardware" category3. Publish the Search Profile for the new Improvement Rule to take affect4. Open AI Search Preview5. In the Context Settings, set "User Country" to "United Kingdom"6. Search for "Apple" and in the Process Data, you will see Query Rules Triggered:1 and the name of the Improvement Rule, for example "Boost Hardware in UK"7. In the [sys_user] table, ensure the Country Code [country] is set to "United Kingdom" for a specific user, for example, Abel Tuter8. Open AI Search Preview9. In the User Impersonation, search for the user where you set the Country Code [country] to "United Kingdom" Actual Result:You will see Query Rules Triggered:0 and the Improvement Rule is not triggered when using User Impersonation in AI Search Preview.Expected Result:You should see Query Rules Triggered:1 and the name of the Improvement Rule, for example "Boost Hardware in UK" when using User Impersonation.WorkaroundUntil we release a permanent fix for this issue, if the "User Country" is explicitly set in the "Context Settings" in AI Search Preview, then it will trigger the Improvement Rule, as expected. Related Problem: PRB1584232