There are lots of new features in the search functionality. This brief overview can get you familiar with the changes. More details are in the remaining articles.
In prior versions, all the search functionality was in one place: the Search portlet. Now each separate feature is available in a separate portlet, and you can drag and drop search widgets onto a page, creating a perfectly customized search page. The search configurations that existed in the previous version are still available, but the setting you’re looking for might be in a slightly different location due to the modularization of search in Liferay DXP 7.1. The articles here help familiarize you with the new look.
Support for Elasticsearch 6 was added as an opt-in feature for Liferay DXP version 7.0. In the current version, Elasticsearch 6 is the default, embedded search engine. See the article on Installing Elasticsearch to learn how to install a remote Elasticsearch server for a production environment.
Carry out search administration tasks (like reindexing the search indexes) in the Search administration application in the Control Panel (Control Panel → Configuration → Search).
Use a pre-configured search page template to get a sensible default search page up and running.
Use Elasticsearch’s Query String syntax to create advanced search queries (if using Elasticsearch as your Search Engine). The actual query syntax and further processing are dependent on the search engine’s implementation details. Consult your search provider’s documentation for more information.
Narrow search results using Facets. Continue refining results by selecting as many facets terms as necessary. Previously, only one facet term could be used at a time per each facet.
Configure system wide search behavior from the Search System Settings category found in Control Panel → Configuration → System Settings → Search. The Search Web entry reverts the default search experience from using the new Search Widgets to the classic Search Portlet that was standard in past releases.
Configure a custom facet to create a new result aggregation on any non-analyzed keyword field.
Configure page scoped search behavior by adding the Search Options widget from the Add Widget menu.
Using the new Search widgets, filter some search results by applying a facet term. The URL is now friendly:
See the developer guideto learn about the new,
deprecated, and removed APIs and extension points for search infrastructure.
The Solr Connector application was updated to support Solr 7.x.
Read here for more information.
We’re cheating with this one. It isn’t a new feature, but the old way of doing search, inside one standalone application, is still just one checkbox away (located in Control Panel → Configuration → System Settings → Search → Search Web). This causes the embedded search application to revert to the old-style search portlet. The legacy search application can also be added to any page from the Add Widget menu (it’s under the Tools category).
To learn more about using and configuring these new features, see the remaining documentation in this section.