Configure Intelligent Global Search
Intelligent Global Search uses Hypertext Preprocessor (PHP), a general purpose scripting language, and MySQL Natural Language Understanding (NLU) search facilities. Searching is based on Python, the engine that receives a user request. With the help of Natural Language, the engine combines different forms of words and parts of speech in the search argument to produce an accurate and contextual base word ; i.e., a lemma. The lemma is then used to return the most relevant results to meet the user's request.
Examples of words and their base form (lemma) that typically have a similar contextual meaning:
- going > go
- sales > sale
- is > be
Intelligent Search works with different types of Search Entities; i.e., objects in Metric Insights. Search results can be grouped by:
- Default: "All", "Tiles", "Datasets", "Bursts", Data Sources, and Datasets tabs
- Category: "All", existing Categories, and Datasets are shown as tabs
- Content Type: "All", "Metric", "Dataset Report", other existing content types, and Datasets that are displayed as tabs
The search includes metadata about Search Entities; i.e., information that is searched across Names, Descriptions, Categories, Tags, and Custom Fields, but not the data that they contain. The system relies on metadata when locating Objects (except for Datasets) that meet the search criteria.
For Datasets, additional information about columns to be included is defined during the Search Setup process. It is important to remember that only MySQL is supported for searching across Datasets.
To understand Searching, see this article.
In Release 6.2.1, additional functionality was made available:
- "Recent requests and opened items" are displayed in the Search suggestion form.
- Users are informed when indexing is in progress.
- A Voice Search option is supported.
- Documents are included in the Search and can be located by Document Name, file name, or URL
- The Data Source tab contains External References and External Reports only.
In Release 6.4.2, Global Search supports partial search which has been made possible thanks to sublemmas. This means that a search for "sal" will provide results for "sales"; however, to return results, a search term must include at least three letters that appear in the same order as in the desired search result. For example, "sal" will return "sales" while "sla" won't.
Examples of words and their sublemmas:
- daily > dail, aily, dai, ail ily
- tableau > tablea, ableau, table, ablea, bleau, tabl, able, blea, leau, tab, abl, ble, lea, eau
Partial search has some limitations:
- Partial search does not work with Query Language Enhancers
- If several sublemmas appear in the same word, this does not add extra score to the search result. For example, in case of a search for "sal der", results "salamander", "sale", "commander" will have the same score. For more details on Search score calculation, refer to Advanced Search Tuning: Understanding Rate Calculation
NOTE: The system updates at 12:30 each day. If you want to see changes to search setup during the same day, you need to update search indexes manually.
1. Enable Data Analyzer
Access Admin > System > System Variables
System Variables are list of configuration parameters in the system that allow a particular value; e.g., Y or N, to be assigned in order to enable or disable a selected feature of the system.
- Set the GLOBAL_SEARCH_USE_DATA_ANALYZER Variable to "Y".
- Voice Search is not enabled by default. Set the ENABLE_VOICE_SEARCH Variable to "Y" to enable it.
- [Commit Changes]
2. Basic Search SetupĀ
Access Admin > System > Search Setup > Setup
- Display Global Search in Top Navigation Bar: Disables/Enables Global Search
- Select one or all types of entities to be included in the search
- Choose the manner by which Search Results are to be grouped on the page:
- Default: "All", "Tiles", "Datasets", "Bursts", Data Sources, and included Datasets tabs
- Category: "All" and existing Categories
- Content Type: "All", other existing content types, and included Datasets
- Open all links in new tab: Enables/Disables opening links from the search results page in a new tab
2.2. Add Data Sources and Datasets
- Include Data Sources to enable search across objects retrieved from these Data Sources but not only Elements created from them.
- These objects will appear in search as links to objects in the corresponding BI tool.
- Specify Datasets to enable search across its data.
- These Datasets can include links to objects that do not reside within Metric Insights but still can be searchable in the system. For more information, refer to Configure Search Across Specific Dataset.
3. Advanced Search Setup
Access Admin > System > Search Setup > Info > Advanced Search Tuning
You can customize scoring of Search Entities and their Objects. Score(1) is a number that defines the search relevance of a search result. The higher the score, the higher the ranking. For more information on search rate calculation, see this article.
Each Search Entity or Object available from the drop-down(2) goes with its own set of parameters(3), and by adjusting the default score(4) of parameters, you can adjust the total score(1) of a given Search Entity or Object.
Using Testbench(5), you can see how ranking of a given search query changes based on adjustments applied to the score of individual parameters.
NOTE: Once you finish adjusting, you need to [Update All Search Indexes](6) to apply changes.
Go back to the Search Setup screen to view the indexing progress.
4. Configure External Tools for Data Search
Metric Insights supports searching data across external tools that are set up for search under Search Setup > External Tools.
- [+New Tool]
- Enter a display Name for the tool
- Specify the External Tool URL
- NOTE: The URL must be configured to send search requests via a parameter.
- Specify Behavior for External Tool:
- Open the tool in a separate tab
- Embed the tool in Metric Insights
- Optionally, upload Tool icon
- [Save]
Users can now conduct search via external tools by clicking the respective tool label.
5. Configure Concierge
The Concierge Tab is available only if the ENABLE_CONCIERGE System Variable is set to "Y".
Concierge is a chatbot integrated into Metric Insights. It is designed to help Users get along with the platform, find different objects, and answer questions they may have about how the functionality works. It can be used on a separate Portal Page or via Slack/MS Teams chatbot.
For more information on Concierge and its installation, refer to Configuring Concierge Service.