Search Results

All Results 358
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Installing SOLR on a Two Node Cluster
Liferay Support does not recommend or endorse specific third-party products over others. Liferay is not responsible for any instructions herein or referenced regarding these products. Any implementation of these principles is the responsibility of the subscriber. This is an introductory...
Lucene Indexing Errors
If organizations are missing in the control panel and are accompanied by Lucene indexing errors they can be the result of not having the proper settings. Resolution In the portal-ext.properties file add "lucene.replicate.write=true" Verify that each node has their own index and aren't...
Knowledge Base Search Operators
This article lists a few simple search operators that may be used to improve search results within the Liferay Support Knowledge Base. Resolution While the current search capabilities are generally adequate for finding sought-after content, some searches may benefit from the use of...
Files Are Being Partially Indexed
This article explains why only a portion of some web content appears to be indexed. For example, only some portions of text files are indexed for search while other portions are not searchable. Resolution This is intended behavior. Indexing for files is controlled by the...
Improved search results when using multiple Asset Publisher portlets
This article is a legacy article. It applies to previous versions of the Liferay product. While the article is no longer maintained, the information may still be applicable. Before LPS-34161, there was redundancy in the search portlet which would manifest when multiple asset publishers...
Installing and Configuring Solr 4 in Liferay Portal 6.2
The following article outlines a step-by-step guide of connecting Liferay Portal 6.2 EE to Solr 4.3.1 for the purpose of testing. Please note that for Liferay Portal 6.2 EE, the supported versions of Solr 4 are versions 4.3.1 through 4.10.2. Resolution Follow the steps below to start...
Elasticsearch 6 and X-Pack Common Problems
This article addresses some of the common problems you may encounter when working with Elasticsearch 6, and serves as a troubleshooting guide to help you resolve them. Please notice that some of these problems apply only to Liferay DXP 7.0, while others apply to versions 7.0 and 7.1....
Configuring Elasticsearch 6 With an OSGi Configuration File
This article documents an OSGI configuration file name change. This name change is the result of a known issue that Liferay platform users have experienced while using Elasticsearch 6 with their Liferay DXP 7.0 environment. Compatibility with Elasticsearch 6 has been introduced for...
Virtual hosts error caused by search engine robots
This article is a legacy article. It applies to previous versions of the Liferay product. While the article is no longer maintained, the information may still be applicable. During the course of normal usage, the following error was received:...
Search filters not working properly in Portal 6.1 GA2
This article is a legacy article. It applies to previous versions of the Liferay product. While the article is no longer maintained, the information may still be applicable. When narrowing down search results using Liferay Portal 6.1 EE GA2, the portal does not continue to constrain...
Users Not Appearing After Reindexing
This article describes a situation where no searchable data appears in Liferay DXP 7.0, as if the indexes disappeared and reindexing does not resolve this. It is possible that your indexes have been set to read-only. Resolution Navigate to Control Panel > Configuration > System Settings...
Pagination drop down count in Asset Publisher Portlet
Issue The number of pages that are shown in the pagination drop down menu for the Asset Publisher portlet is not the total number of pages that exist on that site. For example, if there are 30 pages total, it only shows up to page 26. Environment Liferay DXP 7.0 Resolution You can...
Indexing is taking too long
Issue Reindexing is taking or has taken too long to finish. Environment Liferay DXP 7.0+ Resolution If reindexing is deemed slow or is still ongoing (the 2-arrow icon can be seen at the top right), it may have gotten stuck. This can be checked in the following ways: Activate the DEBUG...
Resolving Inaccuracies and Discrepancies in Search Results
Issue Search results are providing information that should not be made available to the user performing the search such as: The total count of search results is inconsistent with the actual number of results displayed (i.e. bottom of page displays "Showing 1 to 5 of 16 entries" when...
Basic setup and tools to debug Elasticsearch queries
This article is a basic guide on how to view the queries Liferay produces and provide ways that developers can understand the results retrieved from Elasticsearch. These recommendations assume you are working in a development environment. Three basic ways to track what is happening...
After upgrading to Liferay DXP 7.X, Searches are not returning any results
Issue After upgrading to Liferay DXP, we are not able to perform successful searches. For example, when searching for Web Content articles that exist, no results are returned Environment Liferay DXP upgraded from a previous version of DXP or Portal Resolution During the upgrade, one of...
Custom Facet does not work with custom field (expando) created as 'searchable as keyword'
Issue Create a custom field for Web Content Articles name: mycustomfield type: text area set it 'searchable as keyword' Create a web content article and populate mycustomfield with any string (abc) call http://localhost:9200/_mapping/LiferayDocumentType?pretty to get the non-analyzed...
Startup failure due to com.liferay.portal.kernel.exception.NoSuchRoleException: No Role exists with the key {companyId=0, name=Owner}
Issue A scenario has been reported where the startup process will fail, and an error message indicating "No Role exists with the key {companyId=0, name=Owner}" or similar as in the following stack trace will be thrown: com.liferay.portal.kernel.exception.NoSuchRoleException: No Role...
"Unable to get search result view URL for class ..." error when searching for Polls and other entities from the Search Bar widget
Issue When we search for for example a Poll ABC, the Poll is not found and in logs we will have ERROR like this: Unable to get search result view URL for class com.liferay.polls.model.PollsQuestion with primary key .... Environment DXP 7.0 DXP 7.1 DXP 7.2 Resolution Background: Polls are...
Sitemap Is Listing Pages That The User Should Not Have Access To
Issue Pages are showing up on the sitemap.xml that do not have Guest viewing permissions. For SEO purposes this page is not expected to be listed in the sitemap. Environment Liferay DXP 7.2 Resolution There is a setting that can be toggled at the page level for including or excluding...
With the search engine disabled on dxp-15-7110+ fix pack, no more Pages are shown in the Site Administration
Issue In special environments where the search engine has been disabled and the fix pack dxp-15-7110 has been installed, both Public and Private layouts will not be shown Environment Liferay DXP 7.1 Resolution A search engine is critical to the Liferay functionality. Should you wish to...
Unable to Reindex Elasticsearch due to missing analyzer plugins
Issue Unable to reindex on a remote Elasticsearch server. Although it seemingly works in the UI, the following errors are thrown in the logs: 2019-12-10 12:15:45.183 ERROR [liferay/search_writer/SYSTEM_ENGINE-5][ElasticsearchIndexWriter:364] Update failed  2019-12-10 12:15:45.184 ERROR...
How to create a custom Elasticsearch analyzer that is insensitive to accents
There are some Elasticsearch analyzers that are sensitive to accents, for example, the Catalan analyzer returns no results if you search "diputacio", even if the indexed word is "diputació". This can be problematic, as it is a common practice for accents to be left out of search queries...
Elasticsearch fails to start with jna tmp dir configured (core dump)
Issue Trying to start remote Elasticsearch crashes with a core dump. # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f424226f40a, pid=28216, tid=139922878629632 # # JRE version: Java(TM) SE Runtime Environment (7.0_75-b13) (build...
Elasticsearch killed by Linux OOM Killer
Issue Linux Out of Memory Killer stops the Elasticsearch Java process OOM Killer is killing ES Environment DXP 7.2      DXP 7.1      DXP 7.0 Resolution Set a limit on how much memory Elasticsearch can use outside the heap 1. Elasticsearch can consume memory outside of the JVM heap 2....
DXP 7.2 Service Pack 1 (SP1)/Fix Pack 2 (FP2) requires Elastisearch 6.2 or higher due to InvalidTypeNameException error on startup
Issue When DXP 7.2 SP1+/FP2+ is configured with Elasticsearch 6.0 or 6.1, the following error occurs on startup: Oct 22 13:42:10.417 build-14 [liferay-847b9fcf98-jmbds] [dxp] ERROR [main][IndexSynchronizationPortalInitializedListener:93] bundle...
When searching, "sites that do not belong to the site" will also be displayed in the search results.
This article has been machine translated from its original language for your convenience. Please use discretion as this translation may include some inaccuracies. If you encounter issues with the translation, please use the feedback button to let us know. Issue When searching, content...
Searchable items in the "Users and Organizations" screen
Please be aware that the page you are viewing has been machine translated from Japanese into English and may contain some translation errors. If you observe any issues with the translation, please contact us. Issue Can I search for groups and organizations in the "Users and...
The total number of search results per site does not match the total number of search results.
This article has been machine translated from its original language for your convenience. Please use discretion as this translation may include some inaccuracies. If you encounter issues with the translation, please use the feedback button to let us know. Issue When searching with the...
Reindexing with script
Issue As a developer, I would like to trigger reindex on my portal using a script, instead of running it via UI. This would for example bring the benefits of schedulable reindexing. Environment Liferay DXP 7.1 Liferay DXP 7.2 Liferay DXP 7.3 Resolution Indeed, there is no 'official...
DXP 7.2 Service Pack 1 (SP1)/Fix Pack 2 (FP2) requires install of Solr 7 connector version 2.0.1 or higher
Symptom When DXP 7.2 is configured with Solr 7 and your patch level is Service Pack 1 (SP1) or Fix Pack 2 (FP2) or higher, the following error is thrown in the console when starting DXP and the Solr 7 connector cannot be activated: org.osgi.framework.BundleException: Could not resolve...
Search Tuning modules must be deactivated when DXP 7.2 Service Pack 1 (SP1)/Fix Pack 2 (FP2) is configured with Solr 7
Issue When DXP 7.2 is configured with Solr 7 and your patch level is Service Pack 1 (SP1) or Fix Pack 2 (FP2) or higher, if you navigate to the Search Tuning category on the Control Panel "Portlet is temporarily unavailable" error appears on page and errors are thrown in the console....
After installing Connector to Elasticsearch 6 from Marketplace, NullPointerExceptions are thrown
Issue We installed Liferay Connector to Elasticsearch 6 from Liferay's Marketplace on fix pack 11 patch-level. Now that we moved to fix pack 12, we started to get the below exceptions: WARN [liferay/search_writer/SYSTEM_ENGINE-3][ProxyMessageListener:88] java.lang.NullPointerException at...
ClassCastException when using Elasticsearch 7
Issue After installing the Elasticsearch 7 plugin and connecting Liferay DXP to an Elasticsearch 7 server, errors like this are thrown on startup: ERROR [liferay/scheduler_dispatch-4][ElasticsearchIndexSearcher:169] java.lang.ClassCastException:...
JournalArticle not properly indexed with 'Document contains at least one immense term' error
Issue When attempting to perform a re-index, JournalArticle contents are not properly indexed due to an error similar to the following: For Solr: 2020-09-23 06:32:13 ERROR org.apache.solr.common.SolrException: Exception writing document id...
DXP 7.2 Service Pack 3 (SP3)/Fix Pack 8 (FP8) requires Liferay Connector to Elasticsearch 7 v3.1.0 or higher
Symptom When DXP 7.2 is configured with Elasticsearch 7 and your patch level is Service Pack 3 (SP3) or Fix Pack 8 (FP8) or higher, the following error is thrown in the console when starting DXP and the Elasticsearch 7 connector cannot be activated: 2020-09-14 14:39:47.023 ERROR...
Reindexing on Elasticsearch is slower than it was on an earlier patch-level
Issue We recently installed fix pack 16 on DXP 7.1, and we noticed that now re-index is really slow compared to fix pack 11, our previous patch-level. We found that both liferay indexes (liferay-0 and liferay-companyId) contain all data for all models. Environment DXP 7.1 Fix Pack 13 -...
Liferay DXP Elasticsearch Connectors: Technical Data Sheet
Introduction This article extends the Search Engine Compatibility Matrix, providing additional details about Liferay's Elasticsearch* connectors. To learn what influences Liferay's compatibility with Elasticsearch, please read this article. Liferay Enterprise Search (LES) The LES...
External Elasticsearch server is not available and control panel is inaccessible
Issue The external Elasticsearch server configured for Liferay DXP is no longer available Liferay cannot be set to use the embedded Elasticsearch server because the Control Panel is showing a blank page with “No Group exists with the key {companyId=0, groupKey=Guest}” Environment Liferay...
Content is not visible after an upgrade
Issue After our migration (upgrading to a newer version of Liferay) we cannot see our pages / web contents / templates When we create a new one, we see it gets created in the database but we don't see it on the UI Environment Liferay Portal 6.2+ Liferay DXP 7.0+ Resolution As a rule of...
How to configure Liferay DXP to connect to Elasticsearch on Elastic Cloud
Disclaimer: please read the Liferay DXP compatibility with Elasticsearch hosted on Elastic Cloud article before starting to build your Elastic Stack for Liferay DXP on Elastic Cloud to understand the requirements and the support coverage. This article shows an example configuration only...
Search portlet temporarily unavailable due to ClassCastException
Issue In DXP 7.0 with Elasticsearch 6, when using the search portlet, it becomes temporarily unavailable and the following stacktrace is seen in the logs. Caused by: java.lang.ClassCastException: com.liferay.portal.search.elasticsearch6.internal.filter.ElasticsearchFilterTranslator...
Document is not found for users searching in another language
Issue When searching for a text document (e.g., PDF) by keywords inside the text using the default portal language, the document is shown in the search results. When the language is different, the document cannot found. Environment Liferay DXP 7.0, 7.1, 7.2, 7.3 Resolution The text of...
Is it possible to view the field values of a specific Elasticsearch document through the Liferay UI?
Issue I'm aware that the values for a specific, indexed Elasticsearch document can be viewed using the Elasticsearch REST APIs, but can I also view those fields and values within the Liferay UI? Environment DXP 7.2 Resolution Yes, it is possible to view the fields and values of...
How to hide specific pages from search results using the Custom Filter Widget
Issue Is it possible to hide specific pages from search results? For example, we have a site with Page A and Page B. Both pages need to remain public, but we only want Page B to show up in the results when users perform searches.  Environment DXP 7.2 Resolution Important note: Instead of...
Stuck reindex: How to check the progress of a reindex process and remove blocked BackgroundTask and Lock records
Symptom Sometimes a reindex will take a long time and seem like nothing is happening. You simply see the reindex icon in the Control Panel bar and/or the percentage does not change.  Environment DXP 7.4 DXP 7.3 DXP 7.2 DXP 7.1 DXP 7.0 Resolution Since this resolution requires...
Users with role Site Member cannot find other users in search results
Issue Users with role Site Member cannot find other users in search results. Environment Liferay DXP 7.0 Liferay DXP 7.1 Liferay DXP 7.2 Resolution This is the expected behavior. For security reasons, by default the permission to view other users' data is only given to administrators....
How to connect DXP 7.2 to Elasticsearch over SSL/TLS using PKI authentication where native realm is disabled on Elasticsearch
Issue Once DXP 7.2 is configured with Elasticsearch 6.x or 7.x over SSL/TLS in the specific scenario where Elasticsearch uses PKI authentication with username-password disabled, NoNodeAvailableException is thrown during Liferay startup: Caused by: java.lang.RuntimeException:...
Liferay DXP cannot be started correctly due to "Unable to initialize Elasticsearch cluster" errors
Issue The server can not be started correctly with ES errors like the following: 2020-06-05 06:45:41.596 ERROR [Framework Event Dispatcher: Equinox Container: 2a6f419e-c609-4e73-a180-4e901fcc9b18][Framework:93] FrameworkEvent ERROR java.lang.IllegalStateException: Unable to initialize...
How to configure search to find words separated by underscores in file names
Issue Search results for filenames containing underscores (_) as separators exhibit inconsistent behavior. In Liferay's default search configuration, files using underscores are often indexed as a single token...
Search API Basics
Search API Basics Generally Available in Liferay DXP 2025.Q4+/Portal 2026.Q1+ You can search for content from a Liferay search page, but you can also use the /search API endpoints. If you're...
Installing Solr
Installing Solr 7.2-7.3 (CE, DXP); 7.4 DXP U60+ Solr is a popular enterprise search platform built on Apache Lucene. It's reliable, scalable, and fault tolerant. Read more about it here. Solr is...
OpenSearch
OpenSearch Subscription Required Elasticsearch is Liferay's native search engine. Beginning with Liferay DXP 2025.Q1, you can operate Liferay with OpenSearch as the search engine. Refer to the...
Search Administration
Search Administration In Control Panel → Search there are three administrative UIs: Connections, Index Actions, and Field Mappings. Connections shows you the search engines your installation is...
Learning to Rank
Learning to Rank Subscription LES Subscription Search engines like Elasticsearch have well-tuned relevance algorithms, good for general search purposes. LES Learning to Rank harnesses machine...
Upgrading Elasticsearch
Upgrading Elasticsearch Liferay DXP 2026.Q1 and later support Elasticsearch 9 through the bundled Elasticsearch 8 connector. The compatibility matrix lists the versions your release supports. ...
Exercise: Run Liferay and OpenSearch Using Docker
Exercise: Run Liferay and OpenSearch Using Docker Subscription Required Liferay DXP 2025.Q1+ Walk through a minimal Liferay-OpenSearch setup on your local machine to see how a secure HTTPS...
Connecting to Elasticsearch
Connecting to Elasticsearch After setting up Elasticsearch, connect it to Liferay using the Liferay Connector to Elasticsearch. Connection steps depend on the connector you're configuring. See...
Liferay Enterprise Search
Liferay Enterprise Search Subscription LES Subscription Liferay's Enterprise Search (LES) features significantly upgrade the default search capabilities. With a LES subscription you gain the...
What's New in Search for 7.3?
What's New in Search for 7.3? Elasticsearch Integration Elasticsearch 7 Support Liferay CE 7.3 GA4+, Liferay DXP 7.3 GA1+ Liferay DXP 7.3 comes with out-of-the-box support for Elasticsearch 7. The...

Showing 301 to 360 of 404 entries.