Search Results

All Results 358
ソート
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
How to Exclude User Names (userName field) from Search Queries in Liferay
Issue We want to exclude the userName field from search queries. This is to prevent irrelevant search results based on user names. For instance, if a user's name contains a common search term, Liferay will return content and documents created by that user, even if the content itself does...
Dynamic Blueprint parameters with Search API
Issue Blueprints offer static filtering by field values, but a dynamic approach is needed where search fields enable filtering based on user-provided values for specific structure fields, Is possible to provide custom parameters to Search Blueprints? How can I create a search experience...
Enabling ElasticSearch Sidecar logs
Issue I would like to raise the log levels for ElasticSearch Sidecar The folder [liferay-home]/elasticsearch-sidecar/7.x.x/logs does not contain any log files Environment Quarterly Releases Resolution The ElasticSearch Sidecar is only intended for development and demonstration purposes....
Some result searches for the same document can show text with replacement characters (�)
Issue A text document (such as a PDF) has been added to the document library. Searching by a piece of text in the file, the result includes an excerpt with regular text including the search string. Searching by a piece of text only in the title, the result includes an excerpt with many...
Use of the same ElasticSearch infrastructure for several Liferay DXP versions
Issue I would like to use the same ElasticSearch installation for different versions of Liferay DXP such as 7.3, 7.4, and 2024.Q3. Environment Quarterly Releases: 2024.Q3, 2024.Q2, 2024.Q1, 2023.Q4, 2023.Q3 Liferay DXP 7.3, 7.4 Resolution It is technically possible to use the same...
"assetURL" not redirecting to the desired 'Product Detail' page
Issue The issue regarding the POST /v1.0/suggestions API. Specifically, when using the API, the page does not redirect to the desired 'Product Detail' page, whereas the same functionality works correctly via the UI. Steps to reproduce: From the UI: Navigate to the commerce site. Search...
How can we translate the Custom Heading of a Custom Facet?
Issue We have a search page with several facets. One of them is the "Custom Facet" widget. How can we translate the Custom Heading of a Custom Facet, to display in multiple languages on our site? The configuration page of this custom facet only allows for single-language input, so it is...
Slow Content Search with SearchUtil API
Issue In 7.4 q2.12, searching using SearchUtil API is taking upwards of 3-4 minutes when the expected response is in milliseconds. Environment 7.4 2024.q2.12 Resolution Do one of the following: Upgrade to 2024.q3.3+ Request a hotfix to add LPD-32852. AddgroupIdsto SearchContext...
"Current license is non-compliant for [security]" error is shown in the log
Issue We tried to restart the Liferay server but the server is not able to start properly, there is an error in the log: ERROR [localhost-1][com_liferay_portal_search:103] [com.liferay.portal.search.internal.SearchEngineHelperImpl(2659)] The addSearchEngineConfigurator method has thrown...
ElasticsearchStatusException[Elasticsearch exception [type=search_phase_execution_exception, reason=all shards failed]]
Issue We are getting lots of following messages in log: ERROR [http-nio-8080-exec-3][ElasticsearchIndexSearcher:152] [] null java.lang.RuntimeException: org.elasticsearch.ElasticsearchStatusException: ElasticsearchStatusException[Elasticsearch exception...
Re-enabling CCR, errors appear indicating that an open index with the same name already existed
Issue In a CCR scenario where the leader cluster is down and the system continues operating by reading and writing to the follower after disabling CCR, an HTTP/1.1 500 Internal Server Error occurs when attempting to re-enable CCR after communication with the leader cluster is restored....
Elasticsearch is not starting up receiving NoNodeAvailableException and JNA native support exception
Issue Elasticsearch is not running properly, receiving the below errors: ERROR [liferay/search_writer/SYSTEM_ENGINE-371][ElasticsearchIndexWriter:143] java.lang.RuntimeException: org.elasticsearch.client.transport.NoNodeAvailableException: NoNodeAvailableException[None of the configured...
Elasticsearch as Service
NOTE: Liferay Support does not recommend or endorse specific third-party products over others. The information provided about products not created by Liferay is for reference purposes only, and any implementation of these principles will be at your team's discretion. Issue How to deploy...
How to install Glowroot on an Elasticsearch server?
Issue Is there a possibility to install Glowroot on an Elasticsearch server? Environment Liferay DXP 7.4+ Resolution Officially, Glowroot doesn't directly support Elasticsearch for data storage. There isn't a built-in plugin or configuration for it.   However, there are a couple of...
Cannot add segment with thousands of conditions due to indexing problems
Issue When adding a segment with with thousands of conditions there are problems with the indexing by Elasticsearch. The logs show a StackOverflowError stacktrace. Environment Quarterly Release 2023.Q3 Resolution Needing a segment with thousands of conditions is very unusual. Consider...
Failed to create query: [nested] nested object under path [ddmFieldArray] is not of nested type
Issue When Liferay starts up and the user tries to fetch the home page where images are uploaded, the below errors are shown in the Liferay logs: {"error":{"root_cause":[{"type":"query_shard_exception","reason":"failed to create query: [nested] nested object under path [ddmFieldArray] is...
Observing Solr Error - 'multiple values encountered for non multiValued field'
Issue We have encountered an issue indexing journal articles while utilizing structures and templates for adding/modifying web content with repeatable fields, and we suspect that the repeatable field data may be causing the problem. Here is the error we see: WARN...
Error during file indexing: ClassNotFoundException: org.bouncycastle.asn1.ASN1Encodable
Issue When indexing files, the process fails (terminates abruptly) and the following information is printed in the logs: org.bouncycastle.asn1.ASN1Encodable cannot be found by com.liferay.shared.dependencies.pdfbox_1.0.2: WARN [liferay/background_task-5][IndexerWriterImpl:188] Error...
Content Pages and Fragments are not getting indexed after Saving
Issue We are using Remote Elasticsearch, and noticed that it does not index content page or fragment on save Once we add or update a HTML fragment on a content page, the page will not be returned, when searching for the newly added content Environment Liferay DXP 7.3 Resolution Normally,...
Is it possible to search web content using wildcards or a 'contains' clause?
Issue Entering keywords in the search bar can only search for the Web Content at the beginning of the keyword. For example, if there’s a web content named “Text_name”, the users can find the web content typing “text” in the search bar, but when the user types “name”, no results are...
Not all the subCategories are shown when empty search performed
Issue When empty search performed not all the available subCategories are shown under a certain Category. Environment Liferay 7.4+ Resolution At your search facets, select configuration of the Category facet and change the value of Max Terms. This value limits how many categories are...
Elasticsearch setup without a proxy
Issue I have a web proxy in place and Liferay uses it when trying to connect to a remote Elasticsearch server, which causes the connection to fail. I do not want Liferay to use the proxy when trying to connect to Elasticsearch. Environment Liferay DXP Elasticsearch (remote) Resolution...
Web Content is not fetched with Headless Delivery API structured-contents
Issue When I use the headless API (o/headless-delivery/v1.0/sites/X/structured-contents) to obtain the web contents of a certain site X, no results are returned. Environment Liferay DXP 7.3 Resolution Make sure you have set the flatten=true parameter (the query will search in both the...
Maintaining Search with High-Availability: Concurrent and Sync Reindex Modes (BETA)
Highlights Reduce downtime, improve operational and resource utilization efficiency with the new Concurrent and Sync reindex execution modes providing high-availability in search capabilities while the operation is running. Features Multiple Reindex Modes: Full Reindex, Concurrent...
Re-indexing is not working properly
Issue When performing the full re-indexing the following error appears in the logs org.elasticsearch.ElasticsearchStatusException: ElasticsearchStatusException[Elasticsearch exception [type=search_phase_execution_exception, reason=all shards failed]]; nested:...
How can we control which web content appears in the search results?
Issue We have loads of web contents that we want to hide from the search results Can we do it somehow in a bulk edit, or assign a category to them so we would only need to change the category's visibility? Environment Liferay DXP 7.0+ Resolution The category permissions won't affect the...
Not getting Snippet field in the Document object which is required for Search Summary purpose
Issue Snippet field doesn't get returned after using SearchRequestBuilderFactory to create the Search Request following Liferay's official documentation. Environment DXP 7.4 Resolution In order to get a summary, the below code is suggested by...
Full Reindexing does not work after upgrading to DXP 7.4 from DXP 7.2
Issue I have upgraded to DXP 7.4 from DXP 7.2, and after starting the 7.4 instance, when I try to execute full reindex, it does not work. Before upgrading, I have enabled the "index read only" by adding the following config file:...
Why do Workflow Metrics Disappear after a Reindex?
Issue Workflow Metrics go missing after performing a reindex. Here are the steps to reproduce: Login in as an admin Navigate to Applications > Metrics Notice that there are some processes listed Click the kebab menu > Settings Click Reindex All Navigate back to the Metrics page Expected...
Search suggestions not coming for guest user in the search bar
Issue Search suggestions related to the commerce products not showing to the guest user but is working for logged-in user (using blank site template). Environment DXP 7.4 Resolution This behavior is fixed in Liferay DXP 7.4 Update 90 and is addressed via COMMERCE-11790. For the hotfix,...
Highlighting search keyword in Liferay Search
Issue For complete word search, the highlighting of search keyword is fine but when we are searching for half word search, then it is either not highlighting the keyword (even if the keyword is present) or showing no results. Example 1: 1. On search of "vertical" keyword, Liferay search...
Pagination start parameter name showing error when using special characters
Issue 'Invalid character found' error throw when using special characters in the Pagination start parameter name. Steps to reproduce: 1. Navigate to the Search Result widget > Configurations. 2. Change the pagination start parameter name using Japanese characters. 3. Change Pagination...
Limiting the number of pages in the pagination to be shown on the search results or require deep pagination
Learn more: Search Result Limit with Elasticsearch: Mitigating "Result window is too large." errors with index.max_result_window Issue Is there any way to limit the total count of the number of records or pages in the pagination to be shown on the search results or to obtain large...
Errors starting with Elasticsearch 8
Issue After upgrade to version 7.4 U91 and also having elasticsearch configured with version 8.7.0, we notice a consistent error every time the servers starts: [IndexConfigurationDynamicUpdatesExecutorImpl:52] Unable to put mapping {_   "properties": {_                "timestamp": {_    ...
Performing a search from System or Instance Settings throws an error exception
Issue When using the search bar in Control Panel for System Settings, Instance Settings, etc, an error exception is thrown and the UI presents the following message: “Portlet is temporarily unavailable" ”. Environment DXP 7.3 Resolution The issue was addressed by LPS-188930 and was added...
How to search for the User's contact Phone Number?
Issue Is there a way to configure Liferay's default Search Bar to allow searching by a User's Phone Number defined in the Contact Information tab? Environment Liferay DXP 7.4 Resolution Liferay's default Search Bar is limited and unfortunately it is not possible to search by a User's...
HTML Injection in the Classic Search Portlet (Legacy)
Issue Our security tool identified HTML Injection issue. Reproduction Steps: 1. Start up Liferay DXP 7.4 Update 62 2. On the home page, add a widget "Search". 3. In the address bar, enter the URL...
Disabling expensive queries in Elasticsearch can cause search issues within Liferay
Issue By default, Elasticsearch sets search.allow_expensive_queries to true. However, if you set it to false, it can cause issues with not being able to search for any content or Liferay Search Blueprints not working. You may see errors like: java.lang.RuntimeException:...
How to calculate the correct setting for discovery.zen.minimum_master_nodes?
Issue What is the best value for thediscovery.zen.minimum_master_nodes property in 3 nodes clustered elastic search environment? Is my calculation correct? My calculation is below for 3 nodes: 3/2 + 1 = 1.5 + 1 = 2.5 Environment DXP 7.2+ Resolution According to Elasticsearch's...
Index is accessed at startup might result in [HTTP/1.1 404 Not Found]
Issue You might encounter a behavior where Liferay tries accessing certain indexes that had a different name in previous versions. Normally this is not causing any issues, however you might have specific restrictions in place in your ES installation, and therefore getting an error like...

該当件数: 404 件中 161 - 200