Change the data search method in lists
Enabled for | Public preview | General availability |
---|---|---|
Admins, makers, marketers, or analysts, automatically | Oct 2, 2024 | Nov 4, 2024 |
Business value
Giving users fast access to data is key. This feature introduces a modern search option on lists that focuses exclusively on columns that are enhanced with full-text search capability, while retaining the option to use the older method. The modern search accelerates the search process and delivers more precise, relevant results, which increases user satisfaction and productivity.
Feature details
Users can switch between the “legacy” search, which searches across all columns, and the “modern” search, which searches only in columns optimized for full-text search matching. The modern search is available for selected tables/lists.
The modern search capability is enabled by the Use optimized text search in lists switch in the Feature Management page. When it's enabled, it becomes the default search method on list pages that include full-text search columns. Users switch between the modern and legacy search methods on pages by using the Use legacy search and Use modern search (faster) options in the search box:
The new full-text search is more flexible. For example, consider the item named LONDON Swivel Chair in the CRONUS demonstration company. If you use the legacy search and enter London chair, it won’t find anything because there’s no exact match. However, using the modern search for the same query will readily find that item.
The modern search also allows users to enclose search terms in quotes to narrow the results, similar to popular search engines. For example, using the CRONUS demonstration data again:
- The search term blue chair returns all items that match both the words "blue" and “chair”.
- The search term "blue chair" returns no results because the item descriptions in the demonstration data are listed as “chair, blue” (which is similar to the legacy search experience).
The modern search experience isn’t available for all tables, but only for those tables we recognized as prominent for this type of search algorithm. However, partners can programmatically optimize their own tables for modern search by using a new OptimizeForTextSearch property on fields in AL code. If a table on a given list page isn’t optimized for the modern search, then the Use modern search (faster) option won’t be present in the search box.
Note
This feature is being gradually added to Business Central tables during the 2024 release wave 2 update, starting with main tables like Customers, Contacts, Items, G/L Accounts, and so on. In subsequent updates, you’ll start to notice this feature on more tables, such as Sales and Purchase documents, Projects, G/L Entries, Customer Ledger Entries, Vendor Ledger Entries, and Job Ledger Entries.
For now, the administrator can use Feature Management to control whether the modern search is enabled on these lists. In a future release, the “modern” search will become the default search method.
Learn more about search at Search for a record in your data.
Tell us what you think
Help us improve Dynamics 365 Business Central by discussing ideas, providing suggestions, and giving feedback. Use the forum at https://aka.ms/bcideas.