-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.2.X, Master
-
Fix Version/s: 7.2.10 DXP FP8, 7.2.10.2 DXP SP3, 7.2.X, 7.3.10 DXP GA1, Master
-
Component/s: Search Infrastructure
-
Branch Version/s:7.2.x
-
Backported to Branch:Committed
-
Fix Priority:4
-
Epic Link:
-
Sprint:Search|S03 Sprint 12|2.24-3.16
-
Git Pull Request:
Solution
Search Tuning features are not supported on Solr. You must blacklist certain DXP features that only work with Elasticsearch.
- Create a configuration file named com.liferay.portal.bundle.blacklist.internal.BundleBlacklistConfiguration.config
- Give it these contents:
blacklistBundleSymbolicNames=["com.liferay.portal.search.tuning.web.api","com.liferay.portal.search.tuning.web","com.liferay.portal.search.tuning.synonyms.web","com.liferay.portal.search.tuning.rankings.web"]
- Place the file in Liferay Home/osgi/configs.
Steps to reproduce:
- Set up DXP Portal (master-private, 7.2.x-private) with Solr
- Navigate to Control Panel > Search Tuning > Synonyms
Actual result: "Portlet is temporarily unavailable" error appears on page and errors are thrown in the console.
2019-10-01 19:52:18.773 ERROR [http-nio-8080-exec-8][render_portlet_jsp:131] null
java.lang.UnsupportedOperationException
at com.liferay.portal.search.solr7.internal.search.engine.adapter.index.GetIndexIndexRequestExecutorImpl.execute(GetIndexIndexRequestExecutorImpl.java:33)
at com.liferay.portal.search.solr7.internal.search.engine.adapter.index.SolrIndexRequestExecutor.executeIndexRequest(SolrIndexRequestExecutor.java:104)
at com.liferay.portal.search.engine.adapter.index.GetIndexIndexRequest.accept(GetIndexIndexRequest.java:31)
at com.liferay.portal.search.engine.adapter.index.GetIndexIndexRequest.accept(GetIndexIndexRequest.java:20)
at com.liferay.portal.search.solr7.internal.search.engine.adapter.SolrSearchEngineAdapterImpl.execute(SolrSearchEngineAdapterImpl.java:75)
at com.liferay.portal.search.tuning.synonyms.web.internal.synonym.SynonymIndexerImpl.getSynonymSets(SynonymIndexerImpl.java:52)
at com.liferay.portal.search.tuning.synonyms.web.internal.synonym.SynonymIndexerImpl.getSynonymSets(SynonymIndexerImpl.java:42)
at com.liferay.portal.search.tuning.synonyms.web.internal.display.context.SynonymsDisplayBuilder.buildSynonymSetDisplayContexts(SynonymsDisplayBuilder.java:109)
at com.liferay.portal.search.tuning.synonyms.web.internal.display.context.SynonymsDisplayBuilder.build(SynonymsDisplayBuilder.java:68)
at com.liferay.portal.search.tuning.synonyms.web.internal.portlet.SynonymsPortlet.render(SynonymsPortlet.java:71)
at com.liferay.portlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:127)
at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:58)
at com.liferay.portlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:124)
at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:71)
at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:115)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62)
at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:120)
at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48)
Reproduced on:
Portal master-private git commit: 67024c5c573b54606e8a0f7bf99b7fd3145cabbe
Portal 7.2.x-private git commit: e496725cb2959402ae6edf0549ac1f9547fe5560
- is related to
-
LPS-102609 Result Rankings is unavailable with Solr
- Closed
-
LPS-100156 Unable to search with Solr when portal-search-tuning modules are deployed (after installing SP1/FP2)
- Closed
-
LPS-107306 UnsupportedOperationException when starting up Portal with Solr
- Closed
-
LPS-107506 Unable to start Portal with Solr
- Closed
- relates
-
LRDOCS-7707 Update the blacklist instructions for Solr
-
- Closed
-