-
Type:
Technical Task
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Search Infrastructure
-
Labels:None
-
Sprint:Search|S03 Sprint 17| 6.8-29, Search|S03 Sprint 18|6.29-7.20, Search|S03 Sprint 19|7.21-8.10, Search|S03 Sprint 20 | 8.10-31
-
Git Pull Request:
Prerequisite: Use branch from LPS-115774 to update ES to 7.7, then run tests with "gw test ---tests [testname]".
Description:
The following tests in portal-search-elasticsearch7-impl fail.
com.liferay.portal.search.elasticsearch7.internal.sort.ElasticsearchSortUnmappedFieldsTest.testFirstNameIsTextMappingWithEmptyResults com.liferay.portal.search.elasticsearch7.internal.sort.ElasticsearchSortUnmappedFieldsTest.testSortableKeyword com.liferay.portal.search.elasticsearch7.internal.sort.ElasticsearchSortUnmappedFieldsTest.testFirstNameOnNewIndex com.liferay.portal.search.elasticsearch7.internal.sort.ElasticsearchSortUnmappedFieldsTest.testSortableNumber com.liferay.portal.search.elasticsearch7.internal.sort.ElasticsearchSortUnmappedFieldsTest.testDefaultIsTextMappingWithEmptyResults
The failure take the form of the following, full logs attached:
ElasticsearchStatusException[Elasticsearch exception [type=search_phase_execution_exception, reason=all shards failed]]; nested: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [dHw6thb7] in order to load field data by uninverting the inverted index. Note that this can use significant memory.]]; nested: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [dHw6thb7] in order to load field data by uninverting the inverted index. Note that this can use significant memory.]]; at org.elasticsearch.rest.BytesRestResponse.errorFromXContent(BytesRestResponse.java:177) at org.elasticsearch.client.RestHighLevelClient.parseEntity(RestHighLevelClient.java:1888) at org.elasticsearch.client.RestHighLevelClient.parseResponseException(RestHighLevelClient.java:1865) at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1622) at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1579) at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1549) at org.elasticsearch.client.RestHighLevelClient.search(RestHighLevelClient.java:1065) at com.liferay.portal.search.elasticsearch7.internal.search.engine.adapter.search.SearchSearchRequestExecutorImpl.getSearchResponse(SearchSearchRequestExecutorImpl.java:94) at com.liferay.portal.search.elasticsearch7.internal.search.engine.adapter.search.SearchSearchRequestExecutorImpl.execute(SearchSearchRequestExecutorImpl.java:66) at com.liferay.portal.search.elasticsearch7.internal.search.engine.adapter.search.ElasticsearchSearchRequestExecutor.executeSearchRequest(ElasticsearchSearchRequestExecutor.java:59)
Expected Results: Tests should pass.
- is related to
-
LPS-81792 Custom Facet Portlet configured with non-keyword field crashes all portlets in Search Page
- Closed