SPF - Configuring Legacy Zing Search in SP
SPF - Configuring Legacy Zing Search in SP
Refer to Search administration in Product Docs, to learn more about each search
engine.
In this example, the Typeahead Search Widget was placed on the Service Catalog
[sc_home] Page. The value of the Widget Instance’s Contextual Search Sources
property only contains Service Catalog. This means when a search is performed
using this Widget Instance on this Page, search results will only offer matches from
the Service Catalog Search Source.
User Roles:
• cannot_read_suggestions prevents users from seeing suggestions
• suggestions_exempt role does not create suggestions for a user’s searches
The Build Search Suggestions scheduled job is responsible for building suggestions
daily from the analytics captured in the previous day.
If Use mapped facet filters is selected, a Facet Filters related list appears on the Facet form.
Define the facet filters by creating new records in this list.
Note: If paginating a search source with advanced facets, do not modify the facet
generation script to load facets based on the results from each page. Facets
should enable end users to filter results from an entire result set, rather than page-
specific results.
System Administrators can update this System Property to add or delete default Search Sources.
To change the order in which Search Sources display in Search lists, change the order of the ID's
in the property.
IMPORTANT
Default Search Sources do NOT work in partnership with a Portal’s defined Search
Sources. Once a Portal record defines a Search Source, the default Search Sources are
no longer used. This means if you only define the Knowledge Base Search Source, only
Knowledge Base results are returned. You must define all Search Sources (e.g. Service
Catalog, Case, etc.) that are also required by a Portal.
Once the process is complete, you can confirm it was successful by reviewing
search results in a Typeahead Widget or by confirming the Search for text option
appears in the drop-down at the top of the table’s list view.
Visit Product Docs if you are interested in learning more about Text Indexing.
To create an index group that specifies all of the tables to index together (in a V4
format) so they can be searched together, do the following:
• Navigate to System Definition -> Text Index Groups
• Select New and configure the record:
• Label: enter a name for the group of tables to be indexed and
searched together.
• Tables: click the unlock icon and use the magnifying glass to add
tables to the index group. Tables formatted with V3 and V4 can be
added to index groups. If you add V3 tables, the index group will be
inactive.
• Active: If this field is unselected, make the index group active by
clicking Activate Index Group under Related links. Activating the
index group re-indexes all non-V4-formatted tables to V4.
• Click Submit.
To learn more about Text Index Groups, refer to Configure multiple tables for
indexing and searching in the Product Documentation.
The Search Event table contains overall metrics about the search query and the Search Source Event
table is a child table that captures which Search Sources the results from the Search Event were
found in.
Lab objectives
In this lab, you will create a Search Source, using the legacy Zing Search functionality,
in the SPF Demo (/spfdemo) Service Portal.
2. Type "vpn" in the Keyword Search field and press <Enter> on your keyboard.
4. Search Sources have not been identified for this Portal yet, how did the
Widget Instance determine these search results?
_____________________________________________________________________
_____________________________________________________________________
9. Create another Search Facet for the Major Incidents in Progress Search
Source.
• Submit.
11. Create another Facet Filter by selecting New in the Facet Filters Related List.
• Submit.
13. Type "vpn" in the Keyword Search field and press <Enter> on your keyboard.
14. Review the results. How many items are in the list?
___________________________
_____________________________________________________________________
_____________________________________________________________________
3. Within the list collector interface, move the Knowledge Bases and Catalogs
records from Collection on the left to Search Sources List on the right.
4. Save.
D. Configure Pagination
1. Refresh the live view of the SPF Demo homepage (/spfdemo).
2. Type "vpn" in the Keyword Search field and press <Enter> on your keyboard.
4. Save.
2. Type "vpn" in the Keyword Search field and press <Enter> on your keyboard.
3. Do the Search Sources in the Faceted Search Widget Instance display in the
correct order? If not, debug and re-test.
5. Type “access” in the search box at the top of the page and press <Enter> on
your keyboard.
Select the Major Incidents in Progress link in the Sources box to narrow down
the search results. Verify only 3 results are initially displayed and you see a
Load more results link at the bottom of the list. If not, debug and re-test.
7. Click on the Knowledge Bases link in the Sources box to narrow down the
search results. Notice there is no Load more results link at the bottom of the
list – why?
Hint: Check the Paginate results field on the Knowledge Bases Search
Source record.