Genesys Backend issueshttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues2020-08-24T14:05:47+02:00https://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/536ES6 Overviews2020-08-24T14:05:47+02:00Matija ObrezaES6 OverviewsThe switch from ES 2.6 to 6.8 and the way we index records results in incorrect overview numbers.
https://www.genesys-pgr.org/a/v2p0MjPdYR1 lists 145 accessions while the Overview at https://www.genesys-pgr.org/a/overview/v2p0MjPdYR1 su...The switch from ES 2.6 to 6.8 and the way we index records results in incorrect overview numbers.
https://www.genesys-pgr.org/a/v2p0MjPdYR1 lists 145 accessions while the Overview at https://www.genesys-pgr.org/a/overview/v2p0MjPdYR1 summarizes **3 records**.
The 3 records are the ones where `cicla` is the exact value for the "subtaxon" field (see https://www.genesys-pgr.org/a/v22KYz7B3lA).
We use the ES [match phrase](https://www.elastic.co/guide/en/elasticsearch/reference/6.8/query-dsl-match-query-phrase.html) query for `contains` operator and the match phrase prefix query for `startsWith` filters in `ElasticQueryBuilder`.2.5Anastasiia KarasAnastasiia Karashttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/535Tiles not generated when using full-text search2020-08-24T10:19:08+02:00Matija ObrezaTiles not generated when using full-text searchhttps://www.genesys-pgr.org/a/map/v2k2xPEB6Be uses a full-text filter and all requests for tiles fail with:
```
Elasticsearch exception [type=search_phase_execution_exception, reason=all shards failed]
```
Tile example: https://cdn.gen...https://www.genesys-pgr.org/a/map/v2k2xPEB6Be uses a full-text filter and all requests for tiles fail with:
```
Elasticsearch exception [type=search_phase_execution_exception, reason=all shards failed]
```
Tile example: https://cdn.genesys-pgr.org/acn/tile/4/4/5?f=v2k2xPEB6Be2.5Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/534DivTree: Upload accession refs as file2020-08-20T18:20:16+02:00Matija ObrezaDivTree: Upload accession refs as fileThe API now allows adding or resetting the `AccessionRef`s with JSON payload.
Please also allow for **uploading a CSV file** to set refs of the selected tree.
Part of #528.The API now allows adding or resetting the `AccessionRef`s with JSON payload.
Please also allow for **uploading a CSV file** to set refs of the selected tree.
Part of #528.2.5Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/533DivTree: Find by nodeKey2020-08-20T18:19:58+02:00Matija ObrezaDivTree: Find by nodeKeyAccession filtering now allows for finding all `Accession` records that belong to some `DiversityTree` through `DiversityTreeAccessionRef`.
We would like to be able to list accessions that:
- Match the specified `nodeKey` "X.10.30" usi...Accession filtering now allows for finding all `Accession` records that belong to some `DiversityTree` through `DiversityTreeAccessionRef`.
We would like to be able to list accessions that:
- Match the specified `nodeKey` "X.10.30" using `.eq()`
- or begin with the specified value using `.startsWith("X.10.30.")` *Note the extra `.` at the end!*
This filtering should only be supported when the tree filter is specified.
Part of #528.2.5Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/532DivTree: JSON file2020-08-17T12:13:12+02:00Matija ObrezaDivTree: JSON fileThe original approach in #529 assumed we would reuse the existing `RepositoryFile` approach to associate tree data with crops. This means that the `.json` file would be uploaded to the repository to the `/crops/{crop.shortName}` folder ...The original approach in #529 assumed we would reuse the existing `RepositoryFile` approach to associate tree data with crops. This means that the `.json` file would be uploaded to the repository to the `/crops/{crop.shortName}` folder directly.
In this ticket, add support to upload the `.json` file with the `DiversityTreeService` and controller. The `.json` files for different `DiversityTree` are stored in repository at `/divtree/{divTree.uuid}.json`.
Replace `private String treeFile` with `RepositoryFile treeFile`.
If a new `.json` file is uploaded, the original `RepositoryFile` must be deleted.
## CropDetails
The UI uses `CropDetails.files[]` list to find `*.json` and treats them as Diversity Trees for display.
Extend `CropDetails` with `List<DiversityTree> diversityTrees` property and load all **PUBLISHED** records associated with this `Crop`.
Part of #528.2.5Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/531Full-text search2020-08-07T15:29:29+02:00Matija ObrezaFull-text searchThe updated full-text search is very broad and produces results that are not ranked properly.
> searching for, example TMe-20, is there a way to get the result filtered right to TMe-20, because one has to scroll dwon till you see it
> ...The updated full-text search is very broad and produces results that are not ranked properly.
> searching for, example TMe-20, is there a way to get the result filtered right to TMe-20, because one has to scroll dwon till you see it
> while we are searching for ICG 256 with the help of search tool in Genesys, it is displaying lot of additional information of all crops along with the original request, which is not necessary.
Check ES querying.2.5Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/530Habitat types2021-03-11T13:27:48+01:00Matija ObrezaHabitat typesHave a look at https://zenodo.org/record/3925749Have a look at https://zenodo.org/record/3925749Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/529DiversityTree data model and services2020-08-17T12:13:09+02:00Matija ObrezaDiversityTree data model and servicesThis issue is to implement the data model for `DiversityTree` as described in genesys-pgr/genesys-server#528.
`DiversityTree` entity is a copy of the current `Subset` model (except for `institute` and `owner` because trees are not manag...This issue is to implement the data model for `DiversityTree` as described in genesys-pgr/genesys-server#528.
`DiversityTree` entity is a copy of the current `Subset` model (except for `institute` and `owner` because trees are not managed by partners). The `creators` and `accessionRefs` remain. Versioning remains.
A tree only links to a single `crop`. A tree should specify the repository file on which it is based (the `_tree.json` file within the crop). This should be a `String treeFile` (and not a reference to `RepositoryFile`).
`DiversityTreeAccessionRef` includes one additional property: `String nodeKey`. This is related to genesys-pgr/diversity-tree-editor#29 and for each accessionRef the full node path must be provided (**required** field).
Only users with `DIVTREE` role are allowed to manage this data.
TODO:
1. Add `DIVTREE` role.
1. Copy `Subset` to `DiversityTree` and update as described above
1. Add `DiversityTreeAccessionRef` as above.
1. Add updates to `liquibase-changeLog.yml`
1. Copy `SubsetServiceImpl` to `DiversityTreeService`, comment out any methods we don't need.2.5Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/528Diversity trees2020-11-19T06:43:46+01:00Matija ObrezaDiversity treesWe're looking for closer integration of accession records in Genesys and diversity trees.
From the UI perspective, we need a Dashboard page similar to subsets: title, description, crop + list of accessions; that will allow @pgiovannini ...We're looking for closer integration of accession records in Genesys and diversity trees.
From the UI perspective, we need a Dashboard page similar to subsets: title, description, crop + list of accessions; that will allow @pgiovannini to manage the relationship of accessions with individual trees.
## The data model
- genesys-pgr/genesys-server#529
- #532
- #533
- #534
## The Dashboard UI
genesys-pgr/genesys-ui#722
## Other changes
- Update the accession page to list the "trees" in which this accession is listed.
- Add filtering by `diversityTree` to Accession browse page.2.5Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/527Property sources update2020-07-07T07:48:08+02:00Matija ObrezaProperty sources updatePlease implement grin-global/grin-global-server!73 in Genesys.Please implement grin-global/grin-global-server!73 in Genesys.2.5Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/526Speed up tile generation2020-08-11T06:44:36+02:00Matija ObrezaSpeed up tile generationGenerating tiles (with not specific filter) is significantly slower since we introduced `historic = false` by default.
This needs to be much, much faster as the server now runs out of available connections.Generating tiles (with not specific filter) is significantly slower since we introduced `historic = false` by default.
This needs to be much, much faster as the server now runs out of available connections.2.5Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/525Sitemaps2020-07-02T11:13:08+02:00Matija ObrezaSitemapshttps://api.genesys-pgr.org/sitemap.xml returns a converter error.
1. Update page frequencies.
1. Add `latest.xml` with `DAILY` frequency that lists entries that have changed in the last 48 hrs.https://api.genesys-pgr.org/sitemap.xml returns a converter error.
1. Update page frequencies.
1. Add `latest.xml` with `DAILY` frequency that lists entries that have changed in the last 48 hrs.2.5Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/524Add new accession filters2020-06-16T09:42:11+02:00Matija ObrezaAdd new accession filtersExtend `AccessionFilter` with new filtering options:
```java
public Boolean hasGeoref;
public Boolean hasDoi;
public Boolean hasDataset;
public Boolean hasSubset;
```
The JPA query is extended with:
```java
if (hasGeoref != null) {
h...Extend `AccessionFilter` with new filtering options:
```java
public Boolean hasGeoref;
public Boolean hasDoi;
public Boolean hasDataset;
public Boolean hasSubset;
```
The JPA query is extended with:
```java
if (hasGeoref != null) {
hasGeoref ? accession.latitude.notNull().and(accession.longitude.notNull())
: accession.latitude.isNull().or(accession.longitude.isNull());
}
if (hasDoi != null) {
hasDoi ? accession.doi.notNull() : accession.doi.isNull();
}
if (hasSubset != null) {
hasSubset ? accession.subsetCount.gt(0) : accession.subsetCount.eq(0);
}
...
```
No extensions are needed for ES.2.5Anastasiia KarasAnastasiia Karashttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/523ES count of missing values2020-05-29T11:37:32+02:00Matija ObrezaES count of missing valueshttps://www.genesys-pgr.org/a/overview/v2OkgZRp18J has 7,484 accessions but somehow the Overview returns an incorrect value for "missing" and "total":
![image](/uploads/9fb7b0fc47936910c2c1bd621182d0fc/image.png)
To reproduce:
1. Open...https://www.genesys-pgr.org/a/overview/v2OkgZRp18J has 7,484 accessions but somehow the Overview returns an incorrect value for "missing" and "total":
![image](/uploads/9fb7b0fc47936910c2c1bd621182d0fc/image.png)
To reproduce:
1. Open https://www.genesys-pgr.org/a/v2OkgZRp18J
2. Click "Overview"2.5Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/522Number of subsets and datasets2021-03-11T13:26:17+01:00Matija ObrezaNumber of subsets and datasetsFor each `Accession` it would be useful to have quick access to the number of associated **published** subsets and datasets.
Extend `AccessionId` with two new properties `long subsets = 0, datasets = 0`.
When a subset/dataset is publis...For each `Accession` it would be useful to have quick access to the number of associated **published** subsets and datasets.
Extend `AccessionId` with two new properties `long subsets = 0, datasets = 0`.
When a subset/dataset is published, the count for accessions in the list is increased by 1. When it is unpublished, it is decreased by 1.
This must be a very fast SQL update.
Updating these counters should not touch the lastModifiedDate or version fields, but it should schedule a reindex of accessions affected.
Implement an admin function that will:
1. Reset the counters to 0.
1. Scan for subsets and increase the counts
1. Scan for datasets and increase the counts.2.5Maxym BorodenkoMaxym Borodenkohttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/521Connection reset by peer2021-02-15T09:59:53+01:00Kiril MorhalenkoConnection reset by peer@mobreza Please have a look that sometimes happens the situations when request is failed. It happens not all the time, but I think it will be annoying for users.
It happens in the cases when user download any page and try to open anoth...@mobreza Please have a look that sometimes happens the situations when request is failed. It happens not all the time, but I think it will be annoying for users.
It happens in the cases when user download any page and try to open another or if he applying filters and click to another one (on the `/a/overview` page).
So should we heed to do something with this issue from our side?
![image](/uploads/1e670df8730c9fdfeb1ee8e2b1391b2d/image.png)
![image](/uploads/055f29e4a9707b275610af96749bd626/image.png)Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/520Connection pool2020-05-25T08:58:04+02:00Matija ObrezaConnection poolSomething's wrong with our connection pool:
```
2020-05-19T03:55:56.805018466Z 03:55:56,802 qtp1305193908-2114 ERROR o.g.s.a.ApiExceptionHandler:234 - Wow! Such! Exception!
2020-05-19T03:55:56.805058028Z org.springframework.transaction....Something's wrong with our connection pool:
```
2020-05-19T03:55:56.805018466Z 03:55:56,802 qtp1305193908-2114 ERROR o.g.s.a.ApiExceptionHandler:234 - Wow! Such! Exception!
2020-05-19T03:55:56.805058028Z org.springframework.transaction.TransactionSystemException: Could not roll back JPA transaction; nested exception is javax.persistence.PersistenceException: unexpected error when rollbacking
2020-05-19T03:55:56.805064690Z at org.springframework.orm.jpa.JpaTransactionManager.doRollback(JpaTransactionManager.java:565)
2020-05-19T03:55:56.805072136Z at org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:835)
2020-05-19T03:55:56.805076416Z at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:809)
2020-05-19T03:55:56.805080845Z at org.springframework.transaction.interceptor.TransactionAspectSupport.completeTransactionAfterThrowing(TransactionAspectSupport.java:649)
2020-05-19T03:55:56.805084913Z at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:370)
2020-05-19T03:55:56.805089155Z at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:99)
2020-05-19T03:55:56.805100012Z at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
2020-05-19T03:55:56.805104260Z at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
2020-05-19T03:55:56.805110260Z at com.sun.proxy.$Proxy345.getAccessionDetails(Unknown Source)
2020-05-19T03:55:56.805114058Z at org.genesys2.server.api.v1.AccessionController.getAccessionDetailsByDoi(AccessionController.java:303)
...
2020-05-19T03:55:56.805784629Z Caused by: javax.persistence.PersistenceException: unexpected error when rollbacking
2020-05-19T03:55:56.805788570Z at org.hibernate.jpa.internal.TransactionImpl.rollback(TransactionImpl.java:111)
2020-05-19T03:55:56.805792694Z at org.springframework.orm.jpa.JpaTransactionManager.doRollback(JpaTransactionManager.java:561)
2020-05-19T03:55:56.805796840Z ... 133 more
2020-05-19T03:55:56.805800637Z Caused by: org.hibernate.TransactionException: rollback failed
2020-05-19T03:55:56.805804549Z at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.rollback(AbstractTransactionImpl.java:217)
2020-05-19T03:55:56.805808745Z at org.hibernate.jpa.internal.TransactionImpl.rollback(TransactionImpl.java:108)
2020-05-19T03:55:56.805812742Z ... 134 more
2020-05-19T03:55:56.805816484Z Caused by: org.hibernate.TransactionException: unable to rollback against JDBC connection
2020-05-19T03:55:56.805820497Z at org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.doRollback(JdbcTransaction.java:167)
2020-05-19T03:55:56.805825537Z at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.rollback(AbstractTransactionImpl.java:211)
2020-05-19T03:55:56.805829606Z ... 135 more
2020-05-19T03:55:56.805833329Z Caused by: java.sql.SQLException: Connection has already been closed.
2020-05-19T03:55:56.805837327Z at org.apache.tomcat.jdbc.pool.ProxyConnection.invoke(ProxyConnection.java:117)
2020-05-19T03:55:56.805841313Z at org.apache.tomcat.jdbc.pool.JdbcInterceptor.invoke(JdbcInterceptor.java:109)
2020-05-19T03:55:56.805845389Z at org.apache.tomcat.jdbc.pool.DisposableConnectionFacade.invoke(DisposableConnectionFacade.java:80)
2020-05-19T03:55:56.805853154Z at com.sun.proxy.$Proxy96.rollback(Unknown Source)
2020-05-19T03:55:56.805857127Z at org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.doRollback(JdbcTransaction.java:163)
2020-05-19T03:55:56.805861278Z ... 136 more
```
```
020-05-19T03:56:32.439550568Z WARNING: Connection has been abandoned PooledConnection[com.mysql.cj.jdbc.ha.MultiHostMySQLConnection@5d4cb47c]:java.lang.Exception
2020-05-19T03:56:32.439633985Z at org.apache.tomcat.jdbc.pool.ConnectionPool.getThreadDump(ConnectionPool.java:1063)
2020-05-19T03:56:32.439649791Z at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:780)
2020-05-19T03:56:32.439665541Z at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:619)
2020-05-19T03:56:32.439670469Z at org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:188)
2020-05-19T03:56:32.439675776Z at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:128)
2020-05-19T03:56:32.439680731Z at org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:139)
2020-05-19T03:56:32.439685232Z at org.hibernate.internal.AbstractSessionImpl$NonContextualJdbcConnectionAccess.obtainConnection(AbstractSessionImpl.java:380)
2020-05-19T03:56:32.439689936Z at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.obtainConnection(LogicalConnectionImpl.java:228)
2020-05-19T03:56:32.439693654Z at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.getConnection(LogicalConnectionImpl.java:171)
2020-05-19T03:56:32.439697673Z at org.hibernate.internal.SessionImpl.connection(SessionImpl.java:450)
2020-05-19T03:56:32.439701791Z at sun.reflect.GeneratedMethodAccessor487.invoke(Unknown Source)
2020-05-19T03:56:32.439705611Z at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2020-05-19T03:56:32.439709404Z at java.lang.reflect.Method.invoke(Method.java:498)
2020-05-19T03:56:32.439713374Z at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:282)
2020-05-19T03:56:32.439717617Z at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:266)
2020-05-19T03:56:32.439721948Z at org.springframework.orm.jpa.vendor.HibernateJpaDialect$HibernateConnectionHandle.doGetConnection(HibernateJpaDialect.java:430)
2020-05-19T03:56:32.439726869Z at org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:174)
2020-05-19T03:56:32.439731301Z at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:402)
2020-05-19T03:56:32.439736605Z at org.springframework.transaction.support.AbstractPlatformTransactionManager.startTransaction(AbstractPlatformTransactionManager.java:400)
2020-05-19T03:56:32.439753450Z at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373)
2020-05-19T03:56:32.439757275Z at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:572)
2020-05-19T03:56:32.439760745Z at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:360)
2020-05-19T03:56:32.439764164Z at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:99)
2020-05-19T03:56:32.439767471Z at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
2020-05-19T03:56:32.439770722Z at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
2020-05-19T03:56:32.439774033Z at com.sun.proxy.$Proxy367.getDetails(Unknown Source)
2020-05-19T03:56:32.439777086Z at org.genesys2.server.api.v1.GeoController.getCountryDetails(GeoController.java:72)
```Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/519Return UUID on accession insert2020-05-15T09:50:46+02:00Matija ObrezaReturn UUID on accession insert> When I insert a new Accession the return is with `uuid==null` but in the update the return is with `uuid` filled.
> Is there another way to the return with filled `uuid` in the insert ?
`AccessionOpResponse` does not contain `uuid` ...> When I insert a new Accession the return is with `uuid==null` but in the update the return is with `uuid` filled.
> Is there another way to the return with filled `uuid` in the insert ?
`AccessionOpResponse` does not contain `uuid` when accession is inserted.2.5Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/518Complex DOIs 4042020-05-10T12:14:57+02:00Matija ObrezaComplex DOIs 404Controllers expect a simple DOI format `10.[0-9]+/.+`. Spring MVC does not extend the `.+` to match remaining path segments (it ignores everything past the `/`.
DOIs like *10.1111/aaa/bbb/3333` are not handled.Controllers expect a simple DOI format `10.[0-9]+/.+`. Spring MVC does not extend the `.+` to match remaining path segments (it ignores everything past the `/`.
DOIs like *10.1111/aaa/bbb/3333` are not handled.2.5Matija ObrezaMatija Obrezahttps://gitlab.croptrust.org/genesys-pgr/genesys-server/-/issues/517ES6 without TransportClient2020-05-08T13:21:46+02:00Matija ObrezaES6 without TransportClienthttps://docs.spring.io/spring-data/elasticsearch/docs/3.2.6.RELEASE/reference/html/#elasticsearch.clients says:
> The well known TransportClient is deprecated as of Elasticsearch 7 and will be removed in Elasticsearch 8. (see the Elasti...https://docs.spring.io/spring-data/elasticsearch/docs/3.2.6.RELEASE/reference/html/#elasticsearch.clients says:
> The well known TransportClient is deprecated as of Elasticsearch 7 and will be removed in Elasticsearch 8. (see the Elasticsearch documentation). Spring Data Elasticsearch will support the TransportClient as long as it is available in the used Elasticsearch version.
>
> We strongly recommend to use the High Level REST Client instead of the TransportClient.
In this ticket we will migrate away from using `TransportClient`.
We are seeing strange serialization problems with the current client (like #515) and the `HighLevelRestClient` defaults to Jackson Object mapping that may resolve some of the hidden problems (like UUID serialization hack in 84600c87ea651ca9233601ad8791dd60fc1f925c)
Also please update to spring-data-elasticsearch@3.2.6.RELEASE.2.5Maxym BorodenkoMaxym Borodenko