Before Query Business Rule is not running in AI Search.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2024 09:16 PM
I need to borrow some wisdom from you regarding this issue.
I'm trying to switch to AI Search from Zing.
Reading privileges to knowledge records is handled in our own unique table instead of ACL.
(Because the reading privileges are multiplied by factors beyond the control of the ACL.)
Therefore, I use Before Query Business Rule to [kb_knowledge] in Zing to narrow down only knowledge records that users have permission to read from this unique table and display it in the search results.
In AI Search, the Before Query Business Rule itself is not executed, so all knowledge records are displayed in the search results.
1. Does Before Query Business Rule not work in AI Search ?
2.Is there any way to use scripts for AI search?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2024 10:57 PM
Hi @Mai Iris
If you are using the AI search then you need to remember the following points.
- It uses the keywords present in the article title or in body to search the Articles which are published and active.
- If the exact match found in the article title, then that article will appear on the Top and other articles with the same keyword will be displayed after that.
- While searching any article using keyword if you misspelled the word still you will get appropriate record for that. It shows the correct result for your search.
- Search works in the following sequence
- Title
- Body
- Meta
Control access to searchable content using search sources
- A search source defines a subset of indexed content that users can search using a search profile. Create search sources by applying filter conditions to content from indexed sources.
- Search administrators link search sources to search profiles, enabling precise control of the content that users can search
- You can use Can read function on the KB article level to restrict the access of the Article to specific group of level. It work as a user criteria.
MARK MY ANSWER CORRECT IF IT HELPED YOU IN ANY WAY

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2024 04:56 AM
1. Yes, AIS does support BQBRs
However, for complex BQBRs, it will implement late binding.
2. You can use Search Scripted Post-processors in AI Search
Hope this helps.
Regards,
Brian