Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-109038

Result Rankings does not follow the "log exceptions only" pattern

    Details

    • Fix Priority:
      4

      Description

      Result Rankings does not follow the "log exceptions only" pattern, so if we kill the search engine and perform a search, all search portlets become temporarily unavailable

      2020-01-07 20:07:50.125 ERROR [http-nio-8080-exec-2][render_portlet_jsp:77] null
      java.lang.RuntimeException: org.elasticsearch.client.transport.NoNodeAvailableException: NoNodeAvailableException[None of the configured nodes are available: [\{#transport#-1}{x9jlixjSQjy8__1zANa3pA}\{localhost}{127.0.0.1:9301}]]
       at org.elasticsearch.client.transport.TransportClientNodesService.ensureNodesAreAvailable(TransportClientNodesService.java:349)
       at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:247)
       at org.elasticsearch.client.transport.TransportProxyClient.execute(TransportProxyClient.java:60)
       at org.elasticsearch.client.transport.TransportClient.doExecute(TransportClient.java:382)
       at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:395)
       at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:384)
       at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:46)
       at org.elasticsearch.action.ActionRequestBuilder.get(ActionRequestBuilder.java:53)
       at com.liferay.portal.search.elasticsearch6.internal.search.engine.adapter.search.SearchSearchRequestExecutorImpl.execute(SearchSearchRequestExecutorImpl.java:49)
       at com.liferay.portal.search.elasticsearch6.internal.search.engine.adapter.search.ElasticsearchSearchRequestExecutor.executeSearchRequest(ElasticsearchSearchRequestExecutor.java:59)
       at com.liferay.portal.search.engine.adapter.search.SearchSearchRequest.accept(SearchSearchRequest.java:41)
       at com.liferay.portal.search.engine.adapter.search.SearchSearchRequest.accept(SearchSearchRequest.java:34)
       at com.liferay.portal.search.elasticsearch6.internal.search.engine.adapter.ElasticsearchSearchEngineAdapterImpl.execute(ElasticsearchSearchEngineAdapterImpl.java:90)
       at com.liferay.portal.search.tuning.rankings.web.internal.index.RankingIndexReaderImpl.fetchByQueryStringOptional(RankingIndexReaderImpl.java:55)
       at com.liferay.portal.search.tuning.rankings.web.internal.searcher.RankingSearchRequestContributor.contribute(RankingSearchRequestContributor.java:49)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              bryan.engler Bryan Engler
              Participants of an Issue:
              Recent user:
              Jason Pince
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Days since last comment:
                35 weeks ago

                  Packages

                  Version Package